wrong database type
- How-to
- Aaron D'Hooghe
- SnapObjects
- Friday, 8 March 2024 10:46 AM UTC
Helllo,
I have a database context that looks like this:
public class DataContext : OdbcSqlAnywhereDataContext
{
public DataContext (string connectionString)
: this(new OdbcSqlAnywhereDataContextOptions<DataContext>(connectionString))
{
}
public DataContext(IDataContextOptions<DataContext> options)
: base(options)
{
}
public DataContext(IDataContextOptions options)
: base(options)
{
}
But when i use the SqlQueryBuilder, this database type is set to SqlServer while i'm using a SqlAnywhere
Is there a way to manually set this database type to SqlAnywhere?
Kind Regards,
Aaron D'Hooghe
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.