Exemple #1
0
        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);
        }
Exemple #2
0
        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);
        }
Exemple #3
0
 static partial void AfterCreate(Business.Account.IdentityUser instance, QnSProjectAward.Contracts.Business.Account.IIdentityUser other);
Exemple #4
0
 static partial void BeforeCreate(QnSProjectAward.Contracts.Business.Account.IIdentityUser other);
Exemple #5
0
 partial void AfterCopyProperties(QnSProjectAward.Contracts.Business.Account.IIdentityUser other);
Exemple #6
0
 partial void BeforeCopyProperties(QnSProjectAward.Contracts.Business.Account.IIdentityUser other, ref bool handled);