예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PersonCreditCards EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPersonCreditCards(PersonCreditCard personCreditCard)
 {
     base.AddObject("PersonCreditCards", personCreditCard);
 }
예제 #2
0
 /// <summary>
 /// Create a new PersonCreditCard object.
 /// </summary>
 /// <param name="businessEntityID">Initial value of the BusinessEntityID property.</param>
 /// <param name="creditCardID">Initial value of the CreditCardID property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static PersonCreditCard CreatePersonCreditCard(global::System.Int32 businessEntityID, global::System.Int32 creditCardID, global::System.DateTime modifiedDate)
 {
     PersonCreditCard personCreditCard = new PersonCreditCard();
     personCreditCard.BusinessEntityID = businessEntityID;
     personCreditCard.CreditCardID = creditCardID;
     personCreditCard.ModifiedDate = modifiedDate;
     return personCreditCard;
 }