public SeedDatum(object value, Type valueType, SeedDatumType datumType) { Value = value; ValueType = valueType; DatumType = datumType; // DESIGN: All date-related entities must use UTC format to account for time inconsistencies // such as leap year & daylight savings time DateAdded = DateTime.UtcNow; }
public virtual ISeedBuilder Remove(SeedDatumType datumType) { var matches = Seeds.Where(s => s.DatumType == datumType); foreach (var match in matches) { Seeds.Remove(match); } return(this); }