public virtual WorkflowSupprot.AlertsDataTable GetAlertsById(global::System.Nullable<global::System.Guid> AlertId) { this.Adapter.SelectCommand = this.CommandCollection[5]; if ((AlertId.HasValue == true)) { this.Adapter.SelectCommand.Parameters[1].Value = ((System.Guid)(AlertId.Value)); } else { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } WorkflowSupprot.AlertsDataTable dataTable = new WorkflowSupprot.AlertsDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual WorkflowSupprot.AlertsDataTable GetAletsForUser(string SentTo) { this.Adapter.SelectCommand = this.CommandCollection[6]; if ((SentTo == null)) { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } else { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(SentTo)); } WorkflowSupprot.AlertsDataTable dataTable = new WorkflowSupprot.AlertsDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual WorkflowSupprot.AlertsDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; WorkflowSupprot.AlertsDataTable dataTable = new WorkflowSupprot.AlertsDataTable(); this.Adapter.Fill(dataTable); return dataTable; }