public void UpdateAttributeValue(Guid entityId, Attribute attribute, object value) { _attributeCollection.DecimalAttributeValues.ReplaceValueObject(new DecimalAttributeValue(entityId, attribute.Id, (decimal)value)); }
public void UpdateAttributeValue(Guid entityId, Attribute attribute, object value) { _attributeCollection.BooleanAttributeValues.ReplaceValueObject(new BooleanAttributeValue(entityId, attribute.Id, (bool)value)); }
public void AddAttributeValue(Guid entityId, Attribute attribute, object value) { _attributeCollection.DecimalAttributeValues.Add(new DecimalAttributeValue(entityId, attribute.Id, (decimal)value)); }
public void UpdateAttributeValue(Guid entityId, Attribute attribute, object value) { _attributeCollection.IntegerAttributeValues.ReplaceValueObject(new IntegerAttributeValue(entityId, attribute.Id, (int)value)); }
public void AddAttributeValue(Guid entityId, Attribute attribute, object value) { _attributeCollection.IntegerAttributeValues.Add(new IntegerAttributeValue(entityId, attribute.Id, (int)value)); }
public void UpdateAttributeValue(Guid entityId, Attribute attribute, object value) { _attributeCollection.StringAttributeValues.ReplaceValueObject(new StringAttributeValue(entityId, attribute.Id, (string)value)); }
public void AddAttributeValue(Guid entityId, Attribute attribute, object value) { _attributeCollection.StringAttributeValues.Add(new StringAttributeValue(entityId, attribute.Id, (string)value)); }
public void UpdateAttributeValue(Guid entityId, Attribute attribute, object value) { _attributeCollection.DateTimeAttributeValues.ReplaceValueObject(new DateTimeAttributeValue(entityId, attribute.Id, System.DateTime.Parse(value.ToString()))); }