Ejemplo n.º 1
0
 public virtual FileAttachments.DocumentRepositoryDataTable GetDocumentsByFileId(global::System.Nullable<global::System.Guid> FileID) {
     this.Adapter.SelectCommand = this.CommandCollection[1];
     if ((FileID.HasValue == true)) {
         this.Adapter.SelectCommand.Parameters[1].Value = ((System.Guid)(FileID.Value));
     }
     else {
         this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
     }
     FileAttachments.DocumentRepositoryDataTable dataTable = new FileAttachments.DocumentRepositoryDataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }
Ejemplo n.º 2
0
 public virtual FileAttachments.DocumentRepositoryDataTable GetData() {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     FileAttachments.DocumentRepositoryDataTable dataTable = new FileAttachments.DocumentRepositoryDataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }