예제 #1
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);
 }
예제 #2
0
 /// <summary>
 /// Create a new CustomerDemographic object.
 /// </summary>
 /// <param name="customerTypeID">Initial value of the CustomerTypeID property.</param>
 public static CustomerDemographic CreateCustomerDemographic(global::System.String customerTypeID)
 {
     CustomerDemographic customerDemographic = new CustomerDemographic();
     customerDemographic.CustomerTypeID = customerTypeID;
     return customerDemographic;
 }