Ashutosh wrote:
I have tried to use RuntimeConfiguration, however this class does not exist in SD.LLBLGen.Pro.ORMSupportClasses V5.0 and we are using the same version of ORMSupportClasses. We can't update to latest version as it will be altogether a huge task as I tried, and it is giving lots of error. Any other way to accomplish that.
Also, I was reading reference document for LLBLGen Pro and found that it only support "SQL Server 2016+ Always Encrypted support" not secure enclave. Does it support secure enclave feature also?
Is there any way to register factory in V5.0 version instead of runtimeconfiguration class.
5.0 is out of support for quite some time. You should have mentioned this in your start post so we wouldn't have wasted time to investigate why it doesn't work for you on the latest runtime.
The main thing that's needed for secure enclaves and always encrypted is the usage of the right ADO.NET provider, and the right connection string specifications (which are mentioned in the microsoft tutorials/docs about this). The runtime by default uses System.Data.SqlClient, to enforce a different ADO.NET provider you have to alter the common name for the DbProviderFactory. This is defined in the SqlServerSpecificCreator.cs file at the top. So you have to compile from source (it's available to you on the website -> log in -> My account -> Downloads -> v5.0 -> Extras section). You have to sign the runtimes yourself or remove the strong name reference from teh csproj files.
Or you can upgrade to v5.11.1