コード例 #1
0
 public virtual dsPeople.RoleDataTable GetData()
 {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     dsPeople.RoleDataTable dataTable = new dsPeople.RoleDataTable();
     this.Adapter.Fill(dataTable);
     return(dataTable);
 }
コード例 #2
0
        public virtual int Fill(dsPeople.RoleDataTable dataTable)
        {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true))
            {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);

            return(returnValue);
        }
コード例 #3
0
 public virtual int Update(dsPeople.RoleDataTable dataTable)
 {
     return(this.Adapter.Update(dataTable));
 }