public virtual Inspection.InspectionItenaryDataTable GetItenarybyScheduleItenId(global::System.Nullable<global::System.Guid> ScheduleId, System.Guid ItenaryId) { this.Adapter.SelectCommand = this.CommandCollection[5]; 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; } this.Adapter.SelectCommand.Parameters[2].Value = ((System.Guid)(ItenaryId)); Inspection.InspectionItenaryDataTable dataTable = new Inspection.InspectionItenaryDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual Inspection.InspectionItenaryDataTable GetInspectionItenary() { this.Adapter.SelectCommand = this.CommandCollection[2]; Inspection.InspectionItenaryDataTable dataTable = new Inspection.InspectionItenaryDataTable(); this.Adapter.Fill(dataTable); return dataTable; }