Piscal Queue working more resilient to error

This commit is contained in:
2016-04-18 10:44:36 -04:00
parent 6623aa48ea
commit badf048c49
20 changed files with 417 additions and 176 deletions
+2 -1
View File
@@ -29,7 +29,8 @@ namespace LeafWeb.Core.Entities
[Required(ErrorMessage = "Site Id required")]
public string SiteId { get; set; }
[Required(ErrorMessage = "PhotosynthesisType required")]
// [Required(ErrorMessage = "PhotosynthesisType required")]
// http://stackoverflow.com/questions/6038541/ef-validation-failing-on-update-when-using-lazy-loaded-required-properties
public virtual PhotosynthesisType PhotosynthesisType { get; set; }
[DataType(DataType.Date)]
+5 -3
View File
@@ -3,8 +3,10 @@ namespace LeafWeb.Core.Entities
public enum LeafInputStatusType
{
Pending = 0,
Running = 1,
Complete = 2,
Exception = 3
Starting = 1,
Running = 2,
Finishing = 3,
Complete = 4,
Exception = 5
}
}