예제 #1
0
        /// <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);
        }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the VendorContacts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToVendorContacts(VendorContact vendorContact)
 {
     base.AddObject("VendorContacts", vendorContact);
 }