/// <summary> /// Deprecated Method for adding a new object to the CustomerDemographics EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCustomerDemographics(CustomerDemographic customerDemographic) { base.AddObject("CustomerDemographics", customerDemographic); }
/// <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; }