/// <summary> /// Create a new UserBank object. /// </summary> /// <param name="userBankId">Initial value of the UserBankId property.</param> /// <param name="accountName">Initial value of the AccountName property.</param> /// <param name="routingNumber">Initial value of the RoutingNumber property.</param> /// <param name="accountNumber">Initial value of the AccountNumber property.</param> /// <param name="accountType">Initial value of the AccountType property.</param> /// <param name="firstName">Initial value of the FirstName property.</param> /// <param name="lastName">Initial value of the LastName property.</param> /// <param name="addressLine1">Initial value of the AddressLine1 property.</param> /// <param name="city">Initial value of the City property.</param> /// <param name="state">Initial value of the State property.</param> /// <param name="zip">Initial value of the Zip property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> /// <param name="createDate">Initial value of the CreateDate property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> public static UserBank CreateUserBank(global::System.Int32 userBankId, global::System.String accountName, global::System.String routingNumber, global::System.String accountNumber, global::System.String accountType, global::System.String firstName, global::System.String lastName, global::System.String addressLine1, global::System.String city, global::System.String state, global::System.String zip, global::System.Boolean isDeleted, global::System.DateTime createDate, global::System.String createdBy) { UserBank userBank = new UserBank(); userBank.UserBankId = userBankId; userBank.AccountName = accountName; userBank.RoutingNumber = routingNumber; userBank.AccountNumber = accountNumber; userBank.AccountType = accountType; userBank.FirstName = firstName; userBank.LastName = lastName; userBank.AddressLine1 = addressLine1; userBank.City = city; userBank.State = state; userBank.Zip = zip; userBank.IsDeleted = isDeleted; userBank.CreateDate = createDate; userBank.CreatedBy = createdBy; return userBank; }
/// <summary> /// Deprecated Method for adding a new object to the UserBanks EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserBanks(UserBank userBank) { base.AddObject("UserBanks", userBank); }