public Customer(Guid guid, string name, long contact, CurrencyType currency, string shortName, string email, string firstName, string lastName, string url, ICollection <CustomerSubscriptionDetails> subscription, CustomerLoginDetails loginDetails, Partner partner, CustomerAddress address, string role) : this() { CustomerId = guid; CompanyName = name; PrimaryContact = contact; Currency = currency; ShortName = shortName; Email = email; FirstName = firstName; LastName = lastName; WebsiteUrl = url; Subscriptions = subscription; LoginDetails = loginDetails; Partner = partner; CustomerAddress = address; Role = role; }
public static Customer Create(Guid guid, string name, long contact, CurrencyType currency, string shortName, string email, string firstName, string lastName, string url, ICollection <CustomerSubscriptionDetails> subscription, CustomerLoginDetails loginDetails, Partner partner, CustomerAddress address, string role) { return(new Customer(guid, name, contact, currency, shortName, email, firstName, lastName, url, subscription, loginDetails, partner, address, role)); }