![]() |
VOOZH | about |
dotnet add package CloudNimble.LinqPad.Drivers.EF6Core --version 2.0.4
NuGet\Install-Package CloudNimble.LinqPad.Drivers.EF6Core -Version 2.0.4
<PackageReference Include="CloudNimble.LinqPad.Drivers.EF6Core" Version="2.0.4" />
<PackageVersion Include="CloudNimble.LinqPad.Drivers.EF6Core" Version="2.0.4" />Directory.Packages.props
<PackageReference Include="CloudNimble.LinqPad.Drivers.EF6Core" />Project file
paket add CloudNimble.LinqPad.Drivers.EF6Core --version 2.0.4
#r "nuget: CloudNimble.LinqPad.Drivers.EF6Core, 2.0.4"
#:package CloudNimble.LinqPad.Drivers.EF6Core@2.0.4
#addin nuget:?package=CloudNimble.LinqPad.Drivers.EF6Core&version=2.0.4Install as a Cake Addin
#tool nuget:?package=CloudNimble.LinqPad.Drivers.EF6Core&version=2.0.4Install as a Cake Tool
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.
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.
Your DbContext must have a public constructor accepting a nameOrConnectionString string as a parameter:
public class MyDbContext : DbContext
{
public MyDbContext(string nameOrConnectionString) : base(nameOrConnectionString)
{
}
}
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.
EF6MemberProvider needs further updates to reduce its reliance on Reflection.| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0-windows7.0 net6.0-windows7.0 is compatible. net7.0-windows net7.0-windows was computed. net7.0-windows7.0 net7.0-windows7.0 is compatible. net8.0-windows net8.0-windows was computed. net8.0-windows7.0 net8.0-windows7.0 is compatible. net9.0-windows net9.0-windows was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.4 | 392 | 3/16/2024 |
| 2.0.3 | 250 | 1/10/2024 |
| 2.0.3-CI-20240316-125103 | 162 | 3/16/2024 |
| 2.0.2 | 172 | 1/10/2024 |
| 2.0.1 | 182 | 12/21/2023 |
| 2.0.0-CI-20240110-184126 | 148 | 1/10/2024 |
| 2.0.0-CI-20231221-182327 | 126 | 12/21/2023 |
| 2.0.0-CI-20231212-132715 | 156 | 12/12/2023 |
| 2.0.0-CI-20231212-000342 | 138 | 12/12/2023 |
| 2.0.0-CI-20231211-235744 | 139 | 12/12/2023 |
| 2.0.0-CI-20231211-233849 | 138 | 12/12/2023 |