public static Common.Business.zz Fetch(zz data) { Common.Business.zz item = (Common.Business.zz)Activator.CreateInstance(typeof(Common.Business.zz)); //using (ObjectFactory.BypassPropertyChecks(item)) { item.code = data.code; item.name = data.name; item.dcod = data.dcod; item.dnam = data.dnam; } ObjectFactory.MarkAsChild(item); ObjectFactory.MarkOld(item); return(item); }
public virtual void SentTo(Watermelon watermelon, zz z) { }
public override void SentTo(Watermelon watermelon, zz zz) { Debug.Log(Name + " sent " + watermelon + "to " + zz); }