EntityFrameworkCore.SingleStore
6.0.2-beta
This is a prerelease version of EntityFrameworkCore.SingleStore.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
Requires NuGet 3.6 or higher.
dotnet add package EntityFrameworkCore.SingleStore --version 6.0.2-beta
NuGet\Install-Package EntityFrameworkCore.SingleStore -Version 6.0.2-beta
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EntityFrameworkCore.SingleStore" Version="6.0.2-beta" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EntityFrameworkCore.SingleStore --version 6.0.2-beta
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EntityFrameworkCore.SingleStore, 6.0.2-beta"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install EntityFrameworkCore.SingleStore as a Cake Addin #addin nuget:?package=EntityFrameworkCore.SingleStore&version=6.0.2-beta&prerelease // Install EntityFrameworkCore.SingleStore as a Cake Tool #tool nuget:?package=EntityFrameworkCore.SingleStore&version=6.0.2-beta&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
About
EntityFrameworkCore.SingleStore is the Entity Framework Core (EF Core) provider for SingleStore.
It is build on top of SingleStoreConnector.
How to Use
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
// Replace with your connection string.
var connectionString = "server=localhost;user=root;password=1234;database=ef";
// Replace with your server version and type.
// Alternatively, use 'ServerVersion.AutoDetect(connectionString)'.
var serverVersion = new SingleStoreServerVersion(new Version(7, 8, 0));
// Replace 'YourDbContext' with the name of your own DbContext derived class.
services.AddDbContext<YourDbContext>(
dbContextOptions => dbContextOptions
.UseSingleStore(connectionString, serverVersion)
// The following three options help with debugging, but should
// be changed or removed for production.
.LogTo(Console.WriteLine, LogLevel.Information)
.EnableSensitiveDataLogging()
.EnableDetailedErrors()
);
}
}
Related Packages
- Other Packages
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Microsoft.EntityFrameworkCore.Relational (>= 6.0.2 && < 7.0.0)
- Microsoft.Extensions.DependencyInjection (>= 6.0.0)
- SingleStoreConnector (>= 1.0.1)
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 |
---|---|---|
6.0.2 | 38,147 | 4/26/2024 |
6.0.2-beta | 14,073 | 3/3/2023 |