1

I am looking to cleanly implement a mechanism to override all where clauses that compare strings to do the following

[Column].Value.ToLower() == SqlParam.ToLower()

effectively overcoming the case sensitivity of Postgres.

1

1 Answer 1

0

OrmLite's INamingStrategy allows you to customize how Schemas, Tables and Columns are named and OrmLite's PostgreSQL Provider is already configured to use the PostgreSqlNamingStrategy which converts or .NET's PascalCase names to PostgreSQL-friendly snake_case.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.