Пример #1
0
 public virtual Registration.RegistrationDocumentCheckListDataTable GetRegistrtaionDocuments() {
     this.Adapter.SelectCommand = this.CommandCollection[3];
     Registration.RegistrationDocumentCheckListDataTable dataTable = new Registration.RegistrationDocumentCheckListDataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }
Пример #2
0
 public virtual Registration.RegistrationDocumentCheckListDataTable GetRegistrationDocumentsByRegistrationId(global::System.Nullable<global::System.Guid> RegistrationId) {
     this.Adapter.SelectCommand = this.CommandCollection[2];
     if ((RegistrationId.HasValue == true)) {
         this.Adapter.SelectCommand.Parameters[1].Value = ((System.Guid)(RegistrationId.Value));
     }
     else {
         this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
     }
     Registration.RegistrationDocumentCheckListDataTable dataTable = new Registration.RegistrationDocumentCheckListDataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }