Esempio n. 1
0
 public void ManualDS_ASYNC_InsertInTransaction_Commit_TypedRow()
 {
     using(var store = new MySQLDataStore(getConnectString()))
     {
         store.QueryResolver.ScriptAssembly = SCRIPT_ASM;
         clearAllTables();
         TestLogic.ASYNC_InsertInTransaction_Commit_TypedRow( store );
     }
 }
Esempio n. 2
0
 public void ManualDS_QueryInsertQuery_TypedRowDerived()
 {
     using(var store = new MySQLDataStore(getConnectString()))
     {
         store.QueryResolver.ScriptAssembly = SCRIPT_ASM;
         clearAllTables();
         TestLogic.QueryInsertQuery_TypedRowDerived( store );
     }   
 }
Esempio n. 3
0
 public void ManualDS_ASYNC_GetSchemaAndTestVariousTypes()
 {
     using(var store = new MySQLDataStore(getConnectString()))
     {
         store.StringBool = false;
         store.FullGDIDS = false;
         store.QueryResolver.ScriptAssembly = SCRIPT_ASM;
         clearAllTables();
         TestLogic.ASYNC_GetSchemaAndTestVariousTypes( store );
     }
 }
 public MySQLCRUDScriptQueryHandler(MySQLDataStore store, QuerySource source)
 {
     m_Store  = store;
     m_Source = source;
 }
Esempio n. 5
0
 internal MySQLCRUDTransaction(MySQLDataStore store, MySqlConnection cnn, IsolationLevel iso, TransactionDisposeBehavior disposeBehavior) : base (store, disposeBehavior)
 {
     m_Connection = cnn;
     m_Transaction = cnn.BeginTransaction(iso); 
 }
Esempio n. 6
0
 internal MySQLCRUDTransaction(MySQLDataStore store, MySqlConnection cnn, IsolationLevel iso, TransactionDisposeBehavior disposeBehavior) : base(store, disposeBehavior)
 {
     m_Connection  = cnn;
     m_Transaction = cnn.BeginTransaction(iso);
 }
Esempio n. 7
0
 public void ManualDS_TypedRowTest_FullGDID()
 {
     using(var store = new MySQLDataStore(getConnectString()))
     {
         store.StringBool = false;
         store.FullGDIDS = true;
         store.QueryResolver.ScriptAssembly = SCRIPT_ASM;
         clearAllTables();
         TestLogic.TypedRowTest_FullGDID( store );
     }   
 }
Esempio n. 8
0
 public void ManualDS_InsertManyUsingLogChanges_TypedRow()
 {
     using(var store = new MySQLDataStore(getConnectString()))
     {
         store.QueryResolver.ScriptAssembly = SCRIPT_ASM;
         clearAllTables();
         TestLogic.InsertManyUsingLogChanges_TypedRow( store );
     }   
 }
 public MySQLCRUDScriptQueryHandler(MySQLDataStore store, QuerySource source)
 {
     m_Store = store;
         m_Source = source;
 }
Esempio n. 10
0
 public void ManualDS_UpsertWithPredicate()
 {
     using (var store = new MySQLDataStore(getConnectString()))
     {
         store.QueryResolver.ScriptAssembly = SCRIPT_ASM;
         clearAllTables();
         TestLogic.UpsertWithPredicate(store);
         clearAllTables();
     }
 }
Esempio n. 11
0
        public void ManualDS_TypedRowTestVariousTypes_StrBool()
        {
            using(var store = new MySQLDataStore(getConnectString()))
            {
                store.StringBool = true; //<-------- NOTICE
                store.StringForTrue = "1";
                store.StringForFalse = "0";

                store.FullGDIDS = false;
                store.QueryResolver.ScriptAssembly = SCRIPT_ASM;
                clearAllTables();
                TestLogic.TypedRowTestVariousTypes( store );
            }
        }
Esempio n. 12
0
 public void ManualDS_Populate_OpenCursor()
 {
     using (var store = new MySQLDataStore(getConnectString()))
     {
         store.QueryResolver.ScriptAssembly = SCRIPT_ASM;
         clearAllTables();
         TestLogic.Populate_OpenCursor(store);
         clearAllTables();
     }
 }