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