예제 #1
0
 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);
 }
예제 #2
0
        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);
        }