Currently, I am learning .NET Core and updated my site from ASP.NET MVC to ASP.NET Core MVC.
In ASP.NET MVC, I used Microsoft.Practices.EnterpriseLibrary for handling the database related tasks. But when I used this library in .NET Core, I got this error:
FileNotFoundException: Could not load file or assembly 'System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.
Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.SqlDatabaseTransientErrorDetectionStrategy.IsTransient(Exception ex)
Can anyone help me to get the example of all types of SQL operations with Enterprise Library and RetryPolicy? I want to create a database common file from where I can do all SQL operation