This question is locked. New answers and comments are not allowed.
Hello,
is it somehow possible to set the concurrency mode of all tables/classes contained in the .rlinq file during runtime/startup based on the database to use?
I have override the CreateDataContext() methode to select the database i want ot work with.
protected override My_DomainContext CreateDataContext()
Can it be done somewhere here?
regards Richard.
is it somehow possible to set the concurrency mode of all tables/classes contained in the .rlinq file during runtime/startup based on the database to use?
I have override the CreateDataContext() methode to select the database i want ot work with.
protected override My_DomainContext CreateDataContext()
{.... var dbTarget = ConfigurationManager.AppSettings["DB"]; if (dbTarget == "mssql") { connectionString = "MSSQLConnection"; dbConfig.Backend = "mssql"; } else if (dbTarget == "oracle") {..... return new My_DomainContext(connectionString, dbConfig, metadataSource);}Can it be done somewhere here?
regards Richard.