/// <summary> /// Deprecated Method for adding a new object to the CustomerTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCustomerTypes(CustomerType customerType) { base.AddObject("CustomerTypes", customerType); }
/// <summary> /// Create a new CustomerType object. /// </summary> /// <param name="customerTypeKey">Initial value of the CustomerTypeKey property.</param> /// <param name="customerType1">Initial value of the CustomerType1 property.</param> public static CustomerType CreateCustomerType(global::System.String customerTypeKey, global::System.String customerType1) { CustomerType customerType = new CustomerType(); customerType.CustomerTypeKey = customerTypeKey; customerType.CustomerType1 = customerType1; return customerType; }