/// <summary> /// Deprecated Method for adding a new object to the OWRInfoes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOWRInfoes(OWRInfo oWRInfo) { base.AddObject("OWRInfoes", oWRInfo); }
/// <summary> /// Create a new OWRInfo object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="workingDays">Initial value of the WorkingDays property.</param> /// <param name="totalDuration">Initial value of the TotalDuration property.</param> /// <param name="recordStatus">Initial value of the RecordStatus property.</param> public static OWRInfo CreateOWRInfo(global::System.Int32 id, global::System.Int32 workingDays, global::System.Int32 totalDuration, global::System.Byte recordStatus) { OWRInfo oWRInfo = new OWRInfo(); oWRInfo.ID = id; oWRInfo.WorkingDays = workingDays; oWRInfo.TotalDuration = totalDuration; oWRInfo.RecordStatus = recordStatus; return oWRInfo; }