/// <summary> /// Deprecated Method for adding a new object to the Statuses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStatuses(Status status) { base.AddObject("Statuses", status); }
/// <summary> /// Create a new Status object. /// </summary> /// <param name="statusId">Initial value of the StatusId property.</param> /// <param name="statusName">Initial value of the StatusName property.</param> /// <param name="statusDescription">Initial value of the StatusDescription property.</param> /// <param name="statusEnumValue">Initial value of the StatusEnumValue property.</param> public static Status CreateStatus(global::System.Int32 statusId, global::System.String statusName, global::System.String statusDescription, global::System.Int32 statusEnumValue) { Status status = new Status(); status.StatusId = statusId; status.StatusName = statusName; status.StatusDescription = statusDescription; status.StatusEnumValue = statusEnumValue; return status; }