Пример #1
0
 /// <summary>
 /// Create a new ContactCreditCard object.
 /// </summary>
 /// <param name="contactID">Initial value of the ContactID property.</param>
 /// <param name="creditCardID">Initial value of the CreditCardID property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static ContactCreditCard CreateContactCreditCard(global::System.Int32 contactID, global::System.Int32 creditCardID, global::System.DateTime modifiedDate)
 {
     ContactCreditCard contactCreditCard = new ContactCreditCard();
     contactCreditCard.ContactID = contactID;
     contactCreditCard.CreditCardID = creditCardID;
     contactCreditCard.ModifiedDate = modifiedDate;
     return contactCreditCard;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ContactCreditCards EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToContactCreditCards(ContactCreditCard contactCreditCard)
 {
     base.AddObject("ContactCreditCards", contactCreditCard);
 }