예제 #1
0
 /// <summary>
 /// Create a new UserCreditCard object.
 /// </summary>
 /// <param name="userCreditCardId">Initial value of the UserCreditCardId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="cardNumber">Initial value of the CardNumber property.</param>
 /// <param name="cardName">Initial value of the CardName property.</param>
 /// <param name="expirationMonth">Initial value of the ExpirationMonth property.</param>
 /// <param name="expirationYear">Initial value of the ExpirationYear 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 UserCreditCard CreateUserCreditCard(global::System.Int32 userCreditCardId, global::System.Guid userId, global::System.String cardNumber, global::System.String cardName, global::System.Int32 expirationMonth, global::System.Int32 expirationYear, 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)
 {
     UserCreditCard userCreditCard = new UserCreditCard();
     userCreditCard.UserCreditCardId = userCreditCardId;
     userCreditCard.UserId = userId;
     userCreditCard.CardNumber = cardNumber;
     userCreditCard.CardName = cardName;
     userCreditCard.ExpirationMonth = expirationMonth;
     userCreditCard.ExpirationYear = expirationYear;
     userCreditCard.FirstName = firstName;
     userCreditCard.LastName = lastName;
     userCreditCard.AddressLine1 = addressLine1;
     userCreditCard.City = city;
     userCreditCard.State = state;
     userCreditCard.Zip = zip;
     userCreditCard.IsDeleted = isDeleted;
     userCreditCard.CreateDate = createDate;
     userCreditCard.CreatedBy = createdBy;
     return userCreditCard;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserCreditCards EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserCreditCards(UserCreditCard userCreditCard)
 {
     base.AddObject("UserCreditCards", userCreditCard);
 }