示例#1
0
 public StreetAddress(StreetAddress other)
 {
     ParentLocationID = other.ParentLocationID;
     LocationID       = other.LocationID;
     Name             = other.Name;
     AddressLine      = other.AddressLine;
     Locality         = other.Locality;
     AdminDistrict    = other.AdminDistrict;
     PostalCode       = other.PostalCode;
     CountryRegion    = other.CountryRegion;
     Description      = other.Description;
     Latitude         = other.Latitude;
     Longitude        = other.Longitude;
 }
示例#2
0
 public UserAccount(DBModels.DBAccount acct, StreetAddress loc)
 {
     AccountID            = acct.AccountID;
     UserName             = acct.UserName;
     DisplayName          = acct.DisplayName;
     FirstName            = acct.FirstName;
     LastName             = acct.LastName;
     SchoolEmail          = acct.SchoolEmail;
     ContactEmail         = acct.ContactEmail;
     PhoneNumber          = acct.PhoneNumber;
     VerifiedContactEmail = acct.VerifiedContactEmail;
     VerifiedSchoolEmail  = acct.VerifiedSchoolEmail;
     IsAdmin  = acct.IsAdmin;
     Location = loc;
 }