I am using Delphi 10.1 Update 2, SQL Server 2016 Express 64bit, UniDac 6.4.16.
I have searched the forum and read that I can use something like:
Code: Select all
UniConnection1.Close();
UniConnection1.DefaultTransaction.IsolationLevel := ilSnapshot;
UniConnection1.Open();
Code: Select all
ALTER DATABASE <db_name>
SET ALLOW_SNAPSHOT_ISOLATION ON;
Code: Select all
SET TRANSACTION ISOLATION LEVEL SNAPSHOT
However, this does not work if provider is set to prDirect. Sample project including a small database backup can be found in below link
https://mega.nz/#!G9lH3JoS!_7qdxjUBiNQn ... EB0U6T3sgg
I appreciate a feedback as to that situation can be reproduced on Devart side, please.
Thanks.