/// <summary> /// Deprecated Method for adding a new object to the CustomerStatuses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCustomerStatuses(CustomerStatus customerStatus) { base.AddObject("CustomerStatuses", customerStatus); }
/// <summary> /// Create a new CustomerStatus object. /// </summary> /// <param name="customerStatusID">Initial value of the CustomerStatusID property.</param> /// <param name="displayName">Initial value of the DisplayName property.</param> /// <param name="displayPriority">Initial value of the DisplayPriority property.</param> public static CustomerStatus CreateCustomerStatus(global::System.Int32 customerStatusID, global::System.String displayName, global::System.Int32 displayPriority) { CustomerStatus customerStatus = new CustomerStatus(); customerStatus.CustomerStatusID = customerStatusID; customerStatus.DisplayName = displayName; customerStatus.DisplayPriority = displayPriority; return customerStatus; }