public static Business.Account.IdentityUser Create(QnSProjectAward.Contracts.Business.Account.IIdentityUser other) { BeforeCreate(other); var result = new Business.Account.IdentityUser(); result.CopyProperties(other); AfterCreate(result, other); return(result); }
public void CopyProperties(QnSProjectAward.Contracts.Business.Account.IIdentityUser other) { if (other == null) { throw new System.ArgumentNullException(nameof(other)); } bool handled = false; BeforeCopyProperties(other, ref handled); if (handled == false) { Id = other.Id; OneItem.CopyProperties(other.OneItem); AnotherItem.CopyProperties(other.AnotherItem); } AfterCopyProperties(other); }
static partial void AfterCreate(Business.Account.IdentityUser instance, QnSProjectAward.Contracts.Business.Account.IIdentityUser other);
static partial void BeforeCreate(QnSProjectAward.Contracts.Business.Account.IIdentityUser other);
partial void AfterCopyProperties(QnSProjectAward.Contracts.Business.Account.IIdentityUser other);
partial void BeforeCopyProperties(QnSProjectAward.Contracts.Business.Account.IIdentityUser other, ref bool handled);