Gunnar Peipman 2/27/2020

Using data from MSSQL linked server with EF Core

Read Original

This technical article explains how to work with data from MSSQL linked servers (like MySQL) in Entity Framework Core. It covers why direct LINQ support is lacking and demonstrates a practical approach using custom SQL views to create queryable DbSets, avoiding complex hacks in application code. The post includes a sample scenario with customer tables across two databases.

Using data from MSSQL linked server with EF Core

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week