CloudNimble.LinqPad.Drivers.EF6Core
2.0.3
Prefix Reserved
See the version list below for details.
dotnet add package CloudNimble.LinqPad.Drivers.EF6Core --version 2.0.3
NuGet\Install-Package CloudNimble.LinqPad.Drivers.EF6Core -Version 2.0.3
<PackageReference Include="CloudNimble.LinqPad.Drivers.EF6Core" Version="2.0.3" />
paket add CloudNimble.LinqPad.Drivers.EF6Core --version 2.0.3
#r "nuget: CloudNimble.LinqPad.Drivers.EF6Core, 2.0.3"
// Install CloudNimble.LinqPad.Drivers.EF6Core as a Cake Addin #addin nuget:?package=CloudNimble.LinqPad.Drivers.EF6Core&version=2.0.3 // Install CloudNimble.LinqPad.Drivers.EF6Core as a Cake Tool #tool nuget:?package=CloudNimble.LinqPad.Drivers.EF6Core&version=2.0.3
CloudNimble's LINQPad Drivers for EF6 on .NET Core
What is this?
The team at BurnRate.io leverages EF6 and Microsoft.Data.SqlClient to power our game-changing tools for scaling companies. We use LINQPad for testing out our services and Blazor apps, as well as prototyping new features.
But the existing EF6 drivers don't support Microsoft.Data.SqlClient.
So we built our own.
This version takes a simpler approach to EF6 support that takes advantage of our extensive experience with EF metadata to provide a more robust experience.
Features
- Uses Microsoft.Data.SqlClient without metadata changes
- Uses the very latest dependencies that avoid Azure vulnerabilities
- Faster schema loading
- Multiple EntityContainer support
- Correctly labels primary and foreign key relationships
- Improved connection experience with built-in connection testing
- Updated connection icons
- Demonstrates advanced XAML techniques for LINQPad drivers
- Supports LINQPad 6 and later
Dependencies
- ErikEJ.EntityFramework.SqlServer
- Microsoft.Data.SqlClient
- ModernWpfUI
- SharpVectors.WPF
- Z.EntityFramework.Plus.EF6
Installation
Open LINQPad 6 or later and click "Add connection" in the connection tree.
In the "Choose Data Context" dialog, select "View more drivers" in the bottom left corner.
In the "LINQPad NuGet Manager" dialog, select the "Show all drivers" option at the top of the center column.
Search for CloudNimble.LinqPad.Drivers.EF6Core and install it.
Close the dialog.
Supported DbContexts
Your DbContext must have a public constructor accepting a nameOrConnectionString
string as a parameter:
public class MyDbContext : DbContext
{
public MyDbContext(string nameOrConnectionString) : base(nameOrConnectionString)
{
}
}
Configuration
You should now see "EF6 + Microsoft.Data.SqlClient on .NET 6 and later" in the "Choose Data Context" dialog. Select it and click "Next".
You will be presented with the dialog below.
Start by entering a name for the connection.
Click the first orange "Browse" link and select the assembly containing your DbContext.
Click the second orange "Choose" link and select your DbContext type.
Either select your appSettings.json file or an app.config file in the third orange "Browse" link, or enter a connection string directly in the fourth textbox.
Click "Test Connection" and observe the results, making changes as necessary.
Click "Create Connection" to complete the process.
Known Issues
- The
EF6MemberProvider
needs further updates to reduce its reliance on Reflection.
Troubleshooting
- If you're using a configuration file and you get an error that says "The connection string '[SomeName]' cannot be found", try switching to using a raw connection string instead.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows7.0 is compatible. net7.0-windows was computed. net7.0-windows7.0 is compatible. net8.0-windows was computed. net8.0-windows7.0 is compatible. |
-
net6.0-windows7.0
- Azure.Identity (>= 1.10.4 && < 2.0.0)
- ErikEJ.EntityFramework.SqlServer (>= 6.6.7 && < 7.0.0)
- LINQPad.Reference (>= 1.3.0 && < 2.0.0)
- Microsoft.Data.SqlClient (>= 5.1.4 && < 6.0.0)
- Microsoft.Identity.Client (>= 4.58.1 && < 5.0.0)
- Microsoft.Identity.Client.Extensions.Msal (>= 4.58.1 && < 5.0.0)
- Microsoft.Identity.Client.NativeInterop (>= 0.14.1 && < 1.0.0)
- Microsoft.IdentityModel.JsonWebTokens (>= 6.35.0 && < 7.0.0)
- Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 6.35.0 && < 7.0.0)
- Microsoft.NETCore.Platforms (>= 7.0.4 && < 9.0.0)
- Microsoft.Web.WebView2 (>= 1.0.2210.55)
- ModernWpfUI (>= 0.9.7-preview.2)
- SharpVectors.Wpf (>= 1.8.2 && < 2.0.0)
- System.Data.SqlClient (>= 4.8.6 && < 5.0.0)
- System.IdentityModel.Tokens.Jwt (>= 6.35.0 && < 7.0.0)
- System.Text.Json (>= 8.0.1 && < 9.0.0)
- Z.EntityFramework.Plus.EF6 (>= 8.101.1.3 && < 9.0.0)
-
net7.0-windows7.0
- Azure.Identity (>= 1.10.4 && < 2.0.0)
- ErikEJ.EntityFramework.SqlServer (>= 6.6.7 && < 7.0.0)
- LINQPad.Reference (>= 1.3.0 && < 2.0.0)
- Microsoft.Data.SqlClient (>= 5.1.4 && < 6.0.0)
- Microsoft.Identity.Client (>= 4.58.1 && < 5.0.0)
- Microsoft.Identity.Client.Extensions.Msal (>= 4.58.1 && < 5.0.0)
- Microsoft.Identity.Client.NativeInterop (>= 0.14.1 && < 1.0.0)
- Microsoft.IdentityModel.JsonWebTokens (>= 6.35.0 && < 7.0.0)
- Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 6.35.0 && < 7.0.0)
- Microsoft.NETCore.Platforms (>= 7.0.4 && < 9.0.0)
- Microsoft.Web.WebView2 (>= 1.0.2210.55)
- ModernWpfUI (>= 0.9.7-preview.2)
- SharpVectors.Wpf (>= 1.8.2 && < 2.0.0)
- System.Data.SqlClient (>= 4.8.6 && < 5.0.0)
- System.IdentityModel.Tokens.Jwt (>= 6.35.0 && < 7.0.0)
- System.Text.Json (>= 8.0.1 && < 9.0.0)
- Z.EntityFramework.Plus.EF6 (>= 8.101.1.3 && < 9.0.0)
-
net8.0-windows7.0
- Azure.Identity (>= 1.10.4 && < 2.0.0)
- ErikEJ.EntityFramework.SqlServer (>= 6.6.7 && < 7.0.0)
- LINQPad.Reference (>= 1.3.0 && < 2.0.0)
- Microsoft.Data.SqlClient (>= 5.1.4 && < 6.0.0)
- Microsoft.Identity.Client (>= 4.58.1 && < 5.0.0)
- Microsoft.Identity.Client.Extensions.Msal (>= 4.58.1 && < 5.0.0)
- Microsoft.Identity.Client.NativeInterop (>= 0.14.1 && < 1.0.0)
- Microsoft.IdentityModel.JsonWebTokens (>= 6.35.0 && < 7.0.0)
- Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 6.35.0 && < 7.0.0)
- Microsoft.NETCore.Platforms (>= 7.0.4 && < 9.0.0)
- Microsoft.Web.WebView2 (>= 1.0.2210.55)
- ModernWpfUI (>= 0.9.7-preview.2)
- SharpVectors.Wpf (>= 1.8.2 && < 2.0.0)
- System.Data.SqlClient (>= 4.8.6 && < 5.0.0)
- System.IdentityModel.Tokens.Jwt (>= 6.35.0 && < 7.0.0)
- System.Text.Json (>= 8.0.1 && < 9.0.0)
- Z.EntityFramework.Plus.EF6 (>= 8.101.1.3 && < 9.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.0.4 | 166 | 3/16/2024 |
2.0.3 | 161 | 1/10/2024 |
2.0.3-CI-20240316-125103 | 48 | 3/16/2024 |
2.0.2 | 70 | 1/10/2024 |
2.0.1 | 100 | 12/21/2023 |
2.0.0-CI-20240110-184126 | 59 | 1/10/2024 |
2.0.0-CI-20231221-182327 | 58 | 12/21/2023 |
2.0.0-CI-20231212-132715 | 85 | 12/12/2023 |
2.0.0-CI-20231212-000342 | 61 | 12/12/2023 |
2.0.0-CI-20231211-235744 | 66 | 12/12/2023 |
2.0.0-CI-20231211-233849 | 60 | 12/12/2023 |