/// <summary> /// Create a new VendorContact object. /// </summary> /// <param name="vendorContactID">Initial value of the VendorContactID property.</param> public static VendorContact CreateVendorContact(global::System.Int32 vendorContactID) { VendorContact vendorContact = new VendorContact(); vendorContact.VendorContactID = vendorContactID; 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); }