public virtual PublishSubscribeDataSet.PersistentSubscribersDataTable GetSubscribersFromAddress(string address) { this.Adapter.SelectCommand = this.CommandCollection[3]; if((address == null)) { throw new System.ArgumentNullException("address"); } else { this.Adapter.SelectCommand.Parameters[0].Value = ((string)(address)); } PublishSubscribeDataSet.PersistentSubscribersDataTable dataTable = new PublishSubscribeDataSet.PersistentSubscribersDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual PublishSubscribeDataSet.PersistentSubscribersDataTable GetSubscribersToContractOperation(string contract,string operation) { this.Adapter.SelectCommand = this.CommandCollection[5]; if((contract == null)) { throw new System.ArgumentNullException("contract"); } else { this.Adapter.SelectCommand.Parameters[0].Value = ((string)(contract)); } if((operation == null)) { throw new System.ArgumentNullException("operation"); } else { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(operation)); } PublishSubscribeDataSet.PersistentSubscribersDataTable dataTable = new PublishSubscribeDataSet.PersistentSubscribersDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual PublishSubscribeDataSet.PersistentSubscribersDataTable GetAllSubscribers() { this.Adapter.SelectCommand = this.CommandCollection[1]; PublishSubscribeDataSet.PersistentSubscribersDataTable dataTable = new PublishSubscribeDataSet.PersistentSubscribersDataTable(); this.Adapter.Fill(dataTable); return dataTable; }