Add project files.

This commit is contained in:
2019-11-10 20:26:59 +01:00
parent 39dc8d2cc9
commit 387bb252d1
23 changed files with 889 additions and 0 deletions

View File

@ -0,0 +1,24 @@
namespace CodeFirstExistingDatabase
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class Tag
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Tag()
{
Courses = new HashSet<Course>();
}
public int Id { get; set; }
public string Name { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<Course> Courses { get; set; }
}
}