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