public virtual InspectionDetails.InspectionCheckListMasterDataTable GetInspectionCheckListMasterByCheckListId(global::System.Nullable<global::System.Guid> CheckListId) { this.Adapter.SelectCommand = this.CommandCollection[4]; if ((CheckListId.HasValue == true)) { this.Adapter.SelectCommand.Parameters[1].Value = ((System.Guid)(CheckListId.Value)); } else { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } InspectionDetails.InspectionCheckListMasterDataTable dataTable = new InspectionDetails.InspectionCheckListMasterDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual InspectionDetails.InspectionCheckListMasterDataTable GetAllInspectionCheckListMaster() { this.Adapter.SelectCommand = this.CommandCollection[3]; InspectionDetails.InspectionCheckListMasterDataTable dataTable = new InspectionDetails.InspectionCheckListMasterDataTable(); this.Adapter.Fill(dataTable); return dataTable; }