Adding EF initialization

This commit is contained in:
2016-01-29 11:25:44 -05:00
parent 37a7a24436
commit 68a77366e9
25 changed files with 2534 additions and 29 deletions
+2 -3
View File
@@ -10,12 +10,11 @@ namespace LeafWeb.Core.Models
/// </summary>
public class LeafInputInfo
{
[Key]
public int LeafInputInfoId { get; set; }
public int Id { get; set; }
public virtual LeafInputSite Site { get; set; }
public virtual LeafInputPhotosynthetic Photosynthetic { get; set; }
public virtual IEnumerable<LeafInputData> Data { get; set; }
public virtual ICollection<LeafInputData> Data { get; set; }
[ParseInfo(1, exampleValue: "First and last name")]
public string InvestigatorName { get; set; }