コード例 #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);
        }