コード例 #1
0
        public DatabaseRetrieveQuery(DatabaseConnectionString dbString, string tableName)
        {
            base.dbString = dbString;

            this.tableName = tableName;
            SelectColumn   = new ArrayList();
            Restrictions   = new ArrayList();
        }
コード例 #2
0
        public DatabaseInsertQuery(DatabaseConnectionString dbString, string tableName)
        {
            base.dbString = dbString;

            this.tableName = tableName;
            InsertColName  = new ArrayList();
            InsertData     = new ArrayList();
        }
コード例 #3
0
        public DatabaseUpdateQuery(DatabaseConnectionString dbString, string tableName, string restriction)
        {
            base.dbString = dbString;

            this.tableName   = tableName;
            UpdateData       = new ArrayList();
            this.restriction = restriction;
        }
コード例 #4
0
        public DatabaseDeleteQuery(string tableName, string restriction)
        {
            DatabaseHelperSettings   settings = new DatabaseHelperSettings();
            DatabaseConnectionString dbString = new DatabaseConnectionString(settings.dbHost, settings.dbUsername, settings.dbPassword, settings.dbName);

            base.dbString    = dbString;
            this.tableName   = tableName;
            this.restriction = base.RealEscapeString(restriction);
        }
コード例 #5
0
        public DatabaseRetriveQuery(string tableName)
        {
            DatabaseHelperSettings   settings = new DatabaseHelperSettings();
            DatabaseConnectionString dbString = new DatabaseConnectionString(settings.dbHost, settings.dbUsername, settings.dbPassword, settings.dbName);

            base.dbString  = dbString;
            this.tableName = tableName;
            SelectColumn   = new ArrayList();
            Restrictions   = new ArrayList();
        }
コード例 #6
0
        public DatabaseInsertQuery(string tableName)
        {
            DatabaseHelperSettings   settings = new DatabaseHelperSettings();
            DatabaseConnectionString dbString = new DatabaseConnectionString(settings.dbHost, settings.dbUsername, settings.dbPassword, settings.dbName);

            base.dbString  = dbString;
            this.tableName = tableName;
            InsertColName  = new ArrayList();
            InsertData     = new ArrayList();
        }
コード例 #7
0
        public DatabaseUpdateQuery(string tableName, string restriction)
        {
            DatabaseHelperSettings   settings = new DatabaseHelperSettings();
            DatabaseConnectionString dbString = new DatabaseConnectionString(settings.dbHost, settings.dbUsername, settings.dbPassword, settings.dbName);

            base.dbString    = dbString;
            this.tableName   = tableName;
            UpdateData       = new ArrayList();
            this.restriction = restriction;
        }
コード例 #8
0
 public DatabaseDeleteQuery(DatabaseConnectionString dbString, string tableName, string restriction)
 {
     base.dbString    = dbString;
     this.tableName   = tableName;
     this.restriction = base.RealEscapeString(restriction);
 }