I am working on a VB.NET project that captures data from an Access database file. All the code snipeets I came across open the databases, do things and close them for each operation. Currently, I open the database for the entire duration of the application and close it only after the application exits.
My question is: is it possible to open a connection to the database file for each operation, and not keep it open for the entire duration of the application?
Jet/ACE. LDB ( ) . , , ( ), , .
, . , , , (, , - , - ), .
Jet/ACE , , , .
, , concurrency Jet/ACE, , concurrency, . , Jet/ACE, , , , Jet/ACE , .
, , , . (, , IDbConnection, OleDbConnection.
IDbConnection
OleDbConnection
, , , . , , , , - .
, : -, , ?
Source: https://habr.com/ru/post/1773184/More articles:How can I check if a class instance is a specific generic type? - genericsSpring AOP not working in Tomcat and tcserver - javaCan I use IN and findBy together in Groovy and Grails? - listQuestion about distance from operator * for XAML with grids - wpfConvert time to read format - phpПередача переменной со страницы на страницу с использованием ASP.NET(С#) без использования QueryString - c#Assembly Code Explanation - assemblyHow to insert java in C # - javaMac Office 2011 VBA - вызов сервера script - vbaCakePHP: Как маршрутизировать параметры сортировки по страницам? - phpAll Articles