コード例 #1
0
 public virtual Inspection.InspectionYearlyScheduleDetailDataTable GetYearlyInspectionDetailsById(global::System.Nullable<global::System.Guid> ScheduleId) {
     this.Adapter.SelectCommand = this.CommandCollection[4];
     if ((ScheduleId.HasValue == true)) {
         this.Adapter.SelectCommand.Parameters[1].Value = ((System.Guid)(ScheduleId.Value));
     }
     else {
         this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
     }
     Inspection.InspectionYearlyScheduleDetailDataTable dataTable = new Inspection.InspectionYearlyScheduleDetailDataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }
コード例 #2
0
 public virtual Inspection.InspectionYearlyScheduleDetailDataTable GetYearlyInspectionDetails() {
     this.Adapter.SelectCommand = this.CommandCollection[3];
     Inspection.InspectionYearlyScheduleDetailDataTable dataTable = new Inspection.InspectionYearlyScheduleDetailDataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }