Friday, April 3, 2020

EntityConnection and EntityException are not in .NET Core.

You may want to reimport System.Data.SqlClient to kick SqlConnection awake, but these other older means for interfacing with Entity Framework gunk in the .NET Framework machinery are gone. Both SqlConnection and EntityConnection inheirt from DbConnection while SqlConnection is also an ICloneable (supports cloning, which creates a new instance of a class with the same value as an existing instance).

No comments:

Post a Comment