Beispiel #1
0
        public __SQLiteConnection(string connectionstring)
        {
            this.InternalConnectionString = connectionstring;
            this.ConnectionString         = connectionstring;


            //Console.WriteLine(
            //    new
            //    {
            //        InternalConnectionString,
            //        InternalDatabaseName,
            //        InternalReadOnly
            //    }.ToString()
            //);


            //Console.WriteLine(
            //    "InternalConnectionString: " + InternalConnectionString + ", " +
            //    "InternalDatabaseName: " + InternalDatabaseName + ", " +
            //    "InternalReadOnly: " + InternalReadOnly
            //);

            this.h = new LocalSQLiteOpenHelper(
                ThreadLocalContextReference.CurrentContext,
                InternalDatabaseName
                );
        }
        public __SQLiteConnection(string connectionstring)
        {
            this.InternalConnectionString = connectionstring;
            this.ConnectionString = connectionstring;


            //Console.WriteLine(
            //    new
            //    {
            //        InternalConnectionString,
            //        InternalDatabaseName,
            //        InternalReadOnly
            //    }.ToString()
            //);


            //Console.WriteLine(
            //    "InternalConnectionString: " + InternalConnectionString + ", " +
            //    "InternalDatabaseName: " + InternalDatabaseName + ", " +
            //    "InternalReadOnly: " + InternalReadOnly
            //);

            this.h = new LocalSQLiteOpenHelper(
                ThreadLocalContextReference.CurrentContext,
                InternalDatabaseName
            );
        }