Esempio n. 1
0
        /// <summary>
        /// Create a new DistributorContact object.
        /// </summary>
        /// <param name="contact_ID">Initial value of the Contact_ID property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        public static DistributorContact CreateDistributorContact(global::System.Int32 contact_ID, global::System.String name)
        {
            DistributorContact distributorContact = new DistributorContact();

            distributorContact.Contact_ID = contact_ID;
            distributorContact.Name       = name;
            return(distributorContact);
        }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the DistributorContacts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDistributorContacts(DistributorContact distributorContact)
 {
     base.AddObject("DistributorContacts", distributorContact);
 }