public virtual VCFDataSet.DistributionDataTable GetProjectIDByToUser(int ToUserID) { this.Adapter.SelectCommand = this.CommandCollection[1]; this.Adapter.SelectCommand.Parameters[0].Value = ((int)(ToUserID)); VCFDataSet.DistributionDataTable dataTable = new VCFDataSet.DistributionDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual VCFDataSet.DistributionDataTable GetDistrubutionByFromUserID_ProjectID(int FromUserID, int ProjectID) { this.Adapter.SelectCommand = this.CommandCollection[3]; this.Adapter.SelectCommand.Parameters[0].Value = ((int)(FromUserID)); this.Adapter.SelectCommand.Parameters[1].Value = ((int)(ProjectID)); VCFDataSet.DistributionDataTable dataTable = new VCFDataSet.DistributionDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual VCFDataSet.DistributionDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; VCFDataSet.DistributionDataTable dataTable = new VCFDataSet.DistributionDataTable(); this.Adapter.Fill(dataTable); return dataTable; }