/// <summary> /// Create a new Detail object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="docNum">Initial value of the docNum property.</param> /// <param name="docType">Initial value of the docType property.</param> /// <param name="userName">Initial value of the userName property.</param> /// <param name="statuses">Initial value of the statuses property.</param> /// <param name="statDate">Initial value of the statDate property.</param> /// <param name="docTypeId">Initial value of the DocTypeId property.</param> /// <param name="statusId">Initial value of the StatusId property.</param> public static Detail CreateDetail(global::System.Int32 id, global::System.String docNum, global::System.String docType, global::System.String userName, global::System.String statuses, global::System.DateTime statDate, global::System.Int32 docTypeId, global::System.Int32 statusId) { Detail detail = new Detail(); detail.id = id; detail.docNum = docNum; detail.docType = docType; detail.userName = userName; detail.statuses = statuses; detail.statDate = statDate; detail.DocTypeId = docTypeId; detail.StatusId = statusId; return detail; }
/// <summary> /// Deprecated Method for adding a new object to the Details EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDetails(Detail detail) { base.AddObject("Details", detail); }