Example #1
0
 public virtual acl_function.acl_functionDataTable GetData()
 {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     acl_function.acl_functionDataTable dataTable = new acl_function.acl_functionDataTable();
     this.Adapter.Fill(dataTable);
     return(dataTable);
 }
Example #2
0
        public virtual int Fill(acl_function.acl_functionDataTable dataTable)
        {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true))
            {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);

            return(returnValue);
        }
Example #3
0
 public virtual acl_function.acl_functionDataTable GetDataWithFilter(string value)
 {
     this.Adapter.SelectCommand = this.CommandCollection[2];
     if ((value == null))
     {
         this.Adapter.SelectCommand.Parameters[0].Value = System.DBNull.Value;
     }
     else
     {
         this.Adapter.SelectCommand.Parameters[0].Value = ((string)(value));
     }
     acl_function.acl_functionDataTable dataTable = new acl_function.acl_functionDataTable();
     this.Adapter.Fill(dataTable);
     return(dataTable);
 }
Example #4
0
        public virtual int FillBy(acl_function.acl_functionDataTable dataTable, string value)
        {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            if ((value == null))
            {
                this.Adapter.SelectCommand.Parameters[0].Value = System.DBNull.Value;
            }
            else
            {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(value));
            }
            if ((this.ClearBeforeFill == true))
            {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);

            return(returnValue);
        }