dotnet / dotnet/EntityFramework.Docs

Mention System.Data.SqlClient rename to Microsoft.Data.SqlClient in docs

Open
#4,762 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Mermaid
Stars
1.7k
Forks
2k
Avg merge
7d 23h
Merged PRs (30d)
16

Description

### Type of issue

Missing information

### Description

Our application is using procedures executed by EF. While porting from EF6 to EF Core, I've ran into runtime issues with `SqlParameter` being used from EF6 libraries.
It would be nice to mention on this page to rename usings `System.Data.SqlClient` to `Microsoft.Data.SqlClient`. To avoid runtime conflicts.

### Page URL

https://learn.microsoft.com/en-us/ef/efcore-and-ef6/porting/

### Content source URL

https://github.com/dotnet/EntityFramework.Docs/blob/main/entity-framework/efcore-and-ef6/porting/index.md

### Document Version Independent Id

c96b2fcb-8af0-f05b-e188-a6c59dd9f428

### Article author

@JeremyLikness

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.