Status associated with leaffile

This commit is contained in:
2016-02-19 12:43:47 -05:00
parent 75fa448a0f
commit a9b6c026ad
7 changed files with 24 additions and 13 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ namespace LeafWeb.Core.DAL
public void AddLeafInput(LeafInput leafInput)
{
leafInput.Created = DateTime.Now;
leafInput.Added = DateTime.Now;
_db.LeafInputs.Add(leafInput);
_db.SaveChanges();
+1 -1
View File
@@ -8,7 +8,7 @@ namespace LeafWeb.Core.DAL
{
public DbSet<LeafInput> LeafInputs { get; set; }
public DbSet<LeafInputFile> LeafInputFiles { get; set; }
public DbSet<LeafInputStatus> LeafInputStatus { get; set; }
public DbSet<LeafInputFileStatus> LeafInputStatus { get; set; }
public DbSet<FluxnetSite> FluxnetSites { get; set; }
public DbSet<PhotosynthesisType> PhotosynthesisTypes { get; set; }
public DbSet<LeafOutputFile> LeafOutputFiles { get; set; }