예제 #1
0
        public customerdemographic Createcustomerdemographic(String customerTypeID = null, String customerDesc = null)
        {
            customerdemographic value = CreateObject <customerdemographic>();

            if (customerTypeID != null)
            {
                value.CustomerTypeID = customerTypeID;
            }
            if (customerDesc != null)
            {
                value.CustomerDesc = customerDesc;
            }
            return(value);
        }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the customerdemographics EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTocustomerdemographics(customerdemographic customerdemographic)
 {
     base.AddObject("customerdemographics", customerdemographic);
 }