コード例 #1
0
 public virtual Inspection.InspectionYearlyScheduleMonthwiseDataTable GetMonthlyInspectionScheduleByDetailScheduleId(global::System.Nullable<global::System.Guid> ScheduleId) {
     this.Adapter.SelectCommand = this.CommandCollection[3];
     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.InspectionYearlyScheduleMonthwiseDataTable dataTable = new Inspection.InspectionYearlyScheduleMonthwiseDataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }
コード例 #2
0
 public virtual Inspection.InspectionYearlyScheduleMonthwiseDataTable GetDataInspectionYearlyScheduleMonthwise() {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     Inspection.InspectionYearlyScheduleMonthwiseDataTable dataTable = new Inspection.InspectionYearlyScheduleMonthwiseDataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }