private MySqlCanonicalDataStore makeDataStore() { var datastore = new MySqlCanonicalDataStore(NOPApplication.Instance, m_ConnectionString); datastore.QueryResolver.ScriptAssembly = "Azos.Tests.Integration"; return(datastore); }
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); } }
public void ManualDS_QueryInsertQuery_TypedRow() { using (var store = new MySqlCanonicalDataStore(NOPApplication.Instance, getConnectString())) { store.QueryResolver.ScriptAssembly = SCRIPT_ASM; clearAllTables(); TestLogic.QueryInsertQuery_TypedRow(store); } }
public void ManualDS_Populate_OpenCursor() { using (var store = new MySqlCanonicalDataStore(NOPApplication.Instance, getConnectString())) { store.QueryResolver.ScriptAssembly = SCRIPT_ASM; clearAllTables(); TestLogic.Populate_OpenCursor(store); clearAllTables(); } }
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); } }
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); } }
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); } }
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); } }