Skip to content

Timur and associates

Notes of an IT contractor

Tag Archives: ef-core

Entity Framework Core 3.1 – dynamic WHERE clause

Every now and then we get tasked with building a backend for filtering arbitrary queries. Usually clients would like to have a method of sending over an array of fields, …

Continue reading “Entity Framework Core 3.1 – dynamic WHERE clause”

Posted bytimur14/08/202018/09/2020Posted inDev TipsTags: ef-core, howtoLeave a comment on Entity Framework Core 3.1 – dynamic WHERE clause

Entity Framework Core 3.1 – Peeking Into Generated SQL

Writing LINQ that produces optimal SQL can be even harder as developers often don’t have visibility into the process. It becomes even more confusing when the application is designed to …

Continue reading “Entity Framework Core 3.1 – Peeking Into Generated SQL”

Posted bytimur06/07/202013/08/2020Posted inDev TipsTags: c#, ef-core, howto1 Comment on Entity Framework Core 3.1 – Peeking Into Generated SQL

Entity Framework Core 3 – Custom Functions (Using IMethodCallTranslator)

Database

Every now and then Stack Overflow provides fantastic opportunities to learn something new. One user asked whether SQL Server’s DECRYPTBYPASSPHRASE can be implemented with Entity Framework Core 2.2 so they …

Continue reading “Entity Framework Core 3 – Custom Functions (Using IMethodCallTranslator)”

Posted bytimur26/01/202023/02/2020Posted inDev TipsTags: c#, ef-core, howto

EF Core 3: Getting model metadata from dynamically loaded assembly with IL Emit

Yet another Stack Overflow question has sparked a heated discussion and got us thinking whether we can do better. In a nutshell, the question was about finding a way to …

Continue reading “EF Core 3: Getting model metadata from dynamically loaded assembly with IL Emit”

Posted bytimur31/12/201908/08/2020Posted inDev TipsTags: c#, ef-core
Timur and associates, Proudly powered by WordPress. Privacy Policy