public virtual Inspection.InspectionRepliesDataTable GetReplyById(global::System.Nullable<global::System.Guid> ReplyId) { this.Adapter.SelectCommand = this.CommandCollection[1]; if ((ReplyId.HasValue == true)) { this.Adapter.SelectCommand.Parameters[1].Value = ((System.Guid)(ReplyId.Value)); } else { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } Inspection.InspectionRepliesDataTable dataTable = new Inspection.InspectionRepliesDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual Inspection.InspectionRepliesDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; Inspection.InspectionRepliesDataTable dataTable = new Inspection.InspectionRepliesDataTable(); this.Adapter.Fill(dataTable); return dataTable; }