/// <summary> /// Deprecated Method for adding a new object to the CustomerStates EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCustomerStates(CustomerState customerState) { base.AddObject("CustomerStates", customerState); }
/// <summary> /// Create a new CustomerState object. /// </summary> /// <param name="id">Initial value of the Id property.</param> public static CustomerState CreateCustomerState(global::System.Int32 id) { CustomerState customerState = new CustomerState(); customerState.Id = id; return customerState; }