Example #1
0
        private MySqlCanonicalDataStore makeDataStore()
        {
            var datastore = new MySqlCanonicalDataStore(NOPApplication.Instance, m_ConnectionString);

            datastore.QueryResolver.ScriptAssembly = "Azos.Tests.Integration";
            return(datastore);
        }
Example #2
0
 public async Task ManualDS_ASYNC_InsertThenUpsert_TypedRow()
 {
     using (var store = new MySqlCanonicalDataStore(NOPApplication.Instance, getConnectString()))
     {
         store.QueryResolver.ScriptAssembly = SCRIPT_ASM;
         clearAllTables();
         await TestLogic.ASYNC_InsertThenUpsert_TypedRow(store);
     }
 }
Example #3
0
 public void ManualDS_QueryInsertQuery_TypedRow()
 {
     using (var store = new MySqlCanonicalDataStore(NOPApplication.Instance, getConnectString()))
     {
         store.QueryResolver.ScriptAssembly = SCRIPT_ASM;
         clearAllTables();
         TestLogic.QueryInsertQuery_TypedRow(store);
     }
 }
Example #4
0
 public void ManualDS_Populate_OpenCursor()
 {
     using (var store = new MySqlCanonicalDataStore(NOPApplication.Instance, getConnectString()))
     {
         store.QueryResolver.ScriptAssembly = SCRIPT_ASM;
         clearAllTables();
         TestLogic.Populate_OpenCursor(store);
         clearAllTables();
     }
 }
Example #5
0
 public void ManualDS_GetSchemaAndTestFullGDID()
 {
     using (var store = new MySqlCanonicalDataStore(NOPApplication.Instance, getConnectString()))
     {
         store.StringBool = false;
         store.FullGDIDS  = true;
         store.QueryResolver.ScriptAssembly = SCRIPT_ASM;
         clearAllTables();
         TestLogic.GetSchemaAndTestFullGDID(store);
     }
 }
Example #6
0
 public void ManualDS_TypedRowTestVariousTypes()
 {
     using (var store = new MySqlCanonicalDataStore(NOPApplication.Instance, getConnectString()))
     {
         store.StringBool = false;
         store.FullGDIDS  = false;
         store.QueryResolver.ScriptAssembly = SCRIPT_ASM;
         clearAllTables();
         TestLogic.TypedRowTestVariousTypes(store);
     }
 }
Example #7
0
 public async Task ManualDS_ASYNC_GetSchemaAndTestVariousTypes()
 {
     using (var store = new MySqlCanonicalDataStore(NOPApplication.Instance, getConnectString()))
     {
         store.StringBool = false;
         store.FullGDIDS  = false;
         store.QueryResolver.ScriptAssembly = SCRIPT_ASM;
         clearAllTables();
         await TestLogic.ASYNC_GetSchemaAndTestVariousTypes(store);
     }
 }
Example #8
0
        public async Task ManualDS_ASYNC_InsertInTransaction_Commit_TypedRow()
        {
            // 06/23/2021 D
            //https://mysqlconnector.net/troubleshooting/connection-reuse/

            using (var store = new MySqlCanonicalDataStore(NOPApplication.Instance, getConnectString()))
            {
                store.QueryResolver.ScriptAssembly = SCRIPT_ASM;
                clearAllTables();
                await TestLogic.ASYNC_InsertInTransaction_Commit_TypedRow(store);
            }
        }