/// <summary> /// Create a new Customer object. /// </summary> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="userName">Initial value of the UserName property.</param> /// <param name="loweredUserName">Initial value of the LoweredUserName property.</param> /// <param name="password">Initial value of the Password property.</param> /// <param name="provider">Initial value of the Provider property.</param> /// <param name="providerName">Initial value of the ProviderName property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> /// <param name="isLockout">Initial value of the IsLockout property.</param> /// <param name="isValid">Initial value of the IsValid property.</param> public static Customer CreateCustomer(global::System.Guid userId, global::System.String userName, global::System.String loweredUserName, global::System.String password, global::System.Int32 provider, global::System.String providerName, global::System.DateTime createdDate, global::System.String isLockout, global::System.String isValid) { Customer customer = new Customer(); customer.UserId = userId; customer.UserName = userName; customer.LoweredUserName = loweredUserName; customer.Password = password; customer.Provider = provider; customer.ProviderName = providerName; customer.CreatedDate = createdDate; customer.IsLockout = isLockout; customer.IsValid = isValid; return customer; }
/// <summary> /// Deprecated Method for adding a new object to the Customer EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCustomer(Customer customer) { base.AddObject("Customer", customer); }