/// <summary> /// Create a new VendorContact object. /// </summary> /// <param name="vendorID">Initial value of the VendorID property.</param> /// <param name="contactID">Initial value of the ContactID property.</param> /// <param name="contactTypeID">Initial value of the ContactTypeID property.</param> /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param> public static VendorContact CreateVendorContact(global::System.Int32 vendorID, global::System.Int32 contactID, global::System.Int32 contactTypeID, global::System.DateTime modifiedDate) { VendorContact vendorContact = new VendorContact(); vendorContact.VendorID = vendorID; vendorContact.ContactID = contactID; vendorContact.ContactTypeID = contactTypeID; vendorContact.ModifiedDate = modifiedDate; return vendorContact; }
/// <summary> /// Deprecated Method for adding a new object to the VendorContacts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToVendorContacts(VendorContact vendorContact) { base.AddObject("VendorContacts", vendorContact); }