setting EntityProviderConfig.QueryOptions
Posted: Mon 11 Mar 2019 15:47
Hi I would need to set EntityProviderConfig.QueryOptions CaseInsensitiveLike = true. How can I do?
Discussion forums for open issues and questions concerning database tools, data access components and developer tools from Devart
https://forums.devart.com/
Code: Select all
var config = Devart.Data.PostgreSql.Entity.Configuration.PgSqlEntityProviderConfig.Instance;
config.QueryOptionsCaseInsensitiveLike=true;
Code: Select all
<configSections>
<section name="Devart.Data.PostgreSql.Entity" type="Devart.Data.PostgreSql.Entity.Configuration.PgSqlEntityProviderConfigurationSection, Devart.Data.PostgreSql.Entity.EF6, Version=7.12.1328.0, Culture=neutral, PublicKeyToken=09af7300eec23701" />
</configSections>
<Devart.Data.PostgreSql.Entity xmlns="http://devart.com/schemas/Devart.Data.PostgreSql.Entity/1.0">
<QueryOptions CaseInsensitiveLike="true" />
</Devart.Data.PostgreSql.Entity>