Esempio n. 1
0
        public PocoDatabase(DatabaseEngine databaseEngine, string connectionString)
        {
            // Connection Parameters
            this.DatabaseEngine   = databaseEngine;
            this.ConnectionString = connectionString;

            // Helpers
            this.Helpers = new PocoHelpers(this.DatabaseEngine);

            // Construct
            this.Construct();
        }
Esempio n. 2
0
        public PocoDatabase()
        {
            // Connection Parameters
            this.DatabaseEngine   = PocoStatic.DefaultOptions.DatabaseEngine;
            this.ConnectionString = PocoStatic.DefaultOptions.ConnectionString;

            // Helpers
            this.Helpers = new PocoHelpers(this.DatabaseEngine);

            // Construct
            this.Construct();
        }