示例#1
0
 public virtual acl_group.acl_groupDataTable GetData()
 {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     acl_group.acl_groupDataTable dataTable = new acl_group.acl_groupDataTable();
     this.Adapter.Fill(dataTable);
     return(dataTable);
 }
示例#2
0
        public virtual int Fill(acl_group.acl_groupDataTable 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 acl_group.acl_groupDataTable GetDataWithFilter(string value)
 {
     this.Adapter.SelectCommand = this.CommandCollection[3];
     if ((value == null))
     {
         throw new System.ArgumentNullException("value");
     }
     else
     {
         this.Adapter.SelectCommand.Parameters[0].Value = ((string)(value));
     }
     acl_group.acl_groupDataTable dataTable = new acl_group.acl_groupDataTable();
     this.Adapter.Fill(dataTable);
     return(dataTable);
 }
示例#4
0
        public virtual int FillBy(acl_group.acl_groupDataTable dataTable, string value)
        {
            this.Adapter.SelectCommand = this.CommandCollection[3];
            if ((value == null))
            {
                throw new System.ArgumentNullException("value");
            }
            else
            {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(value));
            }
            if ((this.ClearBeforeFill == true))
            {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);

            return(returnValue);
        }