示例#1
0
 public virtual ACMSDataSet1.tblWorkFlowDataTable GetDataBy(global::System.Nullable<int> nDepartmentID) {
     this.Adapter.SelectCommand = this.CommandCollection[1];
     if ((nDepartmentID.HasValue == true)) {
         this.Adapter.SelectCommand.Parameters[0].Value = ((int)(nDepartmentID.Value));
     }
     else {
         this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
     }
     ACMSDataSet1.tblWorkFlowDataTable dataTable = new ACMSDataSet1.tblWorkFlowDataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }
示例#2
0
 public virtual ACMSDataSet1.tblWorkFlowDataTable GetData() {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     ACMSDataSet1.tblWorkFlowDataTable dataTable = new ACMSDataSet1.tblWorkFlowDataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }