I'm following Microsoft Guide and it mentions that
Ensure that assembly references to System.Data.Entity.dll are removed
The general rule for namespace changes is that any type in System.Data.* is moved to System.Data.Entity.Core.*.
But my projects are using ADO.NET Objects such as:
- 'DbException'
- 'DataException'
- 'DbCommand'
- 'IDbDataParameter'
- 'DbType'
- 'IDbCommand'
How can I replace them? I'm looking these namespaces
System.Data.Entity.Core.EntityClient
Microsoft.Data.SqlClient
But couldn't find any replacement.
Is it still okay to use System.Data and System.Data.Common namespaces? If not, how can I replace them?