コード例 #1
0
ファイル: DLMapping.cs プロジェクト: ghipkin/BiddyandBear
        public override Customer MapCustomerfromDLCustomer(ADL_Customer customer)
        {
            var result = new Customer();

            result.Id                    = customer.Id;
            result.Title                 = customer.Title;
            result.FirstName             = customer.FirstName;
            result.LastName              = customer.LastName;
            result.AddressLine1          = customer.AddressLine1;
            result.AddressLine2          = customer.AddressLine2;
            result.AddressLine3          = customer.AddressLine3;
            result.AddressLine4          = customer.AddressLine4;
            result.PostalCode            = customer.PostalCode;
            result.Country               = customer.Country;
            result.HomePhoneNo           = customer.HomePhoneNo;
            result.MobilePhoneNo         = customer.MobilePhoneNo;
            result.EmailAddress          = customer.EmailAddress;
            result.UserName              = customer.UserName;
            result.Salt                  = customer.Salt;
            result.PasswordHash          = customer.PasswordHash;
            result.PasswordNeedsChanging = customer.PasswordNeedsChanging;
            result.Timestamp             = customer.Timestamp;

            return(result);
        }
コード例 #2
0
ファイル: DLMapping.cs プロジェクト: ghipkin/BiddyandBear
 public abstract Customer MapCustomerfromDLCustomer(ADL_Customer customer);