public static StockLineActionProperty Create(string name, string value) { var property = new StockLineActionProperty() { Id = Guid.NewGuid(), Name = name, Value = value, }; return(property); }
public void AddProperty(Guid propertyTypeId, string dataType, string name, string value) { var property = GetProperty(name); if (property != null) { _properties.Remove(property); } property = StockLineActionProperty.Create(name, value); _properties.Add(property); }
internal void UpdateProperty(StockLineActionProperty property) { Name = property.Name; Value = property.Value; }
public void AddStockLineActionProperty(StockLineActionProperty stockLineActionProperty) { _properties.Add(stockLineActionProperty); }