public virtual VCFDataSet.V_Distribution_ProjectDataTable GetDataByToUserID(int ToUserID) { this.Adapter.SelectCommand = this.CommandCollection[1]; this.Adapter.SelectCommand.Parameters[0].Value = ((int)(ToUserID)); VCFDataSet.V_Distribution_ProjectDataTable dataTable = new VCFDataSet.V_Distribution_ProjectDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual VCFDataSet.V_Distribution_ProjectDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; VCFDataSet.V_Distribution_ProjectDataTable dataTable = new VCFDataSet.V_Distribution_ProjectDataTable(); this.Adapter.Fill(dataTable); return dataTable; }