public override void SetValue(object entity, object value, BootFX.Common.Entities.SetValueReason reason) { if (PropertyInfo == null) { throw new InvalidOperationException("PropertyInfo is null."); } this.PropertyInfo.SetValue(entity, value, null); }
public override void SetValue(object entity, object value, BootFX.Common.Entities.SetValueReason reason) { if (entity == null) { throw new ArgumentNullException("entity"); } // get... this.EntityType.Storage.SetParent(entity, this, value); }