Hi there,
I'm working on using my Sybase 16 LLBLGen project on .NET Core/Standard 2.1.
I've encountered an issue where the ORMSupportClasses attempts to find the DbProviderFactory for the Sybase client driver and fails as Core doesn't use the machine.config to setup the DbProviderFactories.
ORMConfigurationException: No DbProviderFactory has been configured for this DQE. You have to use the DQE configuration system to register at least one DbProviderFactory.
SD.LLBLGen.Pro.ORMSupportClasses.DbProviderFactoryInfo.get_FactoryToUse()
SD.LLBLGen.Pro.ORMSupportClasses.DbProviderFactoryInfo.get_FactoryForReflection()
SD.LLBLGen.Pro.ORMSupportClasses.DbProviderFactoryInfo.InitializeSpecificDbTypeCache()
SD.LLBLGen.Pro.ORMSupportClasses.DbProviderFactoryInfo.SetDbProviderFactoryParameterData(List<ValuePair<string, string>> dbProviderFactoryInvariantNamesWithEnumTypeNames, string dbProviderSpecificEnumTypePropertyName)
SD.LLBLGen.Pro.ORMSupportClasses.DbProviderFactoryInfo.SetDbProviderFactoryParameterData(string dbProviderFactoryInvariantName, string dbProviderSpecificEnumTypeName, string dbProviderSpecificEnumTypePropertyName)
SD.LLBLGen.Pro.DQE.SybaseAse.SybaseAseSpecificCreator.SetDbProviderFactoryParameterData(string dbProviderFactoryInvariantName, string dbProviderSpecificEnumTypeName, string dbProviderSpecificEnumTypePropertyName) in SybaseAseSpecificCreator.cs
94. _dbProviderFactoryInfo.SetDbProviderFactoryParameterData(dbProviderFactoryInvariantName, dbProviderSpecificEnumTypeName, dbProviderSpecificEnumTypePropertyName);
SD.LLBLGen.Pro.DQE.SybaseAse.DynamicQueryEngine..cctor() in DynamicQueryEngine.cs
76. SybaseAseSpecificCreator.SetDbProviderFactoryParameterData("Sybase.Data.AseClient", "Sybase.Data.AseClient.AseDbType", "AseDbType");
I've tried setting the DbProviderFactory in Program.cs with no luck. Also given there's no DQEConfiguration for Sybase, I can't use RuntimeConfiguration.ConfigureDQE. Is there any workaround for this?
DbProviderFactories.RegisterFactory("Sybase.Data.AseClient", Sybase.Data.AseClient.AseClientFactory.Instance);
Thanks,
Dean