Ejemplo n.º 1
0
 /// <summary>
 /// Create a new DailyRecord object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="installComplete">Initial value of the InstallComplete property.</param>
 /// <param name="deInstallRequired">Initial value of the DeInstallRequired property.</param>
 /// <param name="installScheduled">Initial value of the InstallScheduled property.</param>
 /// <param name="installDate">Initial value of the InstallDate property.</param>
 /// <param name="recordStatus">Initial value of the RecordStatus property.</param>
 /// <param name="byTech">Initial value of the ByTech property.</param>
 /// <param name="vNA">Initial value of the VNA property.</param>
 /// <param name="cleanOut">Initial value of the CleanOut property.</param>
 public static DailyRecord CreateDailyRecord(global::System.Int32 id, global::System.Boolean installComplete, global::System.Boolean deInstallRequired, global::System.DateTime installScheduled, global::System.DateTime installDate, global::System.Byte recordStatus, global::System.Boolean byTech, global::System.Boolean vNA, global::System.Boolean cleanOut)
 {
     DailyRecord dailyRecord = new DailyRecord();
     dailyRecord.ID = id;
     dailyRecord.InstallComplete = installComplete;
     dailyRecord.DeInstallRequired = deInstallRequired;
     dailyRecord.InstallScheduled = installScheduled;
     dailyRecord.InstallDate = installDate;
     dailyRecord.RecordStatus = recordStatus;
     dailyRecord.ByTech = byTech;
     dailyRecord.VNA = vNA;
     dailyRecord.CleanOut = cleanOut;
     return dailyRecord;
 }
 public void Save(DailyRecord dr)
 {
     new DailyRecordRepository().Save(dr);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the DailyRecords EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDailyRecords(DailyRecord dailyRecord)
 {
     base.AddObject("DailyRecords", dailyRecord);
 }