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