Rapid.EntityFrameworkCore.SqlServer
0.0.13
dotnet add package Rapid.EntityFrameworkCore.SqlServer --version 0.0.13
NuGet\Install-Package Rapid.EntityFrameworkCore.SqlServer -Version 0.0.13
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="Rapid.EntityFrameworkCore.SqlServer" Version="0.0.13" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Rapid.EntityFrameworkCore.SqlServer --version 0.0.13
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Rapid.EntityFrameworkCore.SqlServer, 0.0.13"
#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 Rapid.EntityFrameworkCore.SqlServer as a Cake Addin #addin nuget:?package=Rapid.EntityFrameworkCore.SqlServer&version=0.0.13 // Install Rapid.EntityFrameworkCore.SqlServer as a Cake Tool #tool nuget:?package=Rapid.EntityFrameworkCore.SqlServer&version=0.0.13
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
add package
dotnet add package Rapid.EntityFrameworkCore.SqlServer
dotnet add package Microsoft.EntityFrameworkCore.Tools
appsettings.json
"ConnectionStrings": {
"DefaultConnection": "Server=xxx.xxx.xxx.xxx;Database=rapid_app;User Id=sa;Password=******;MultipleActiveResultSets=true"
},
Startup.cs
services.AddDbContext<RapidAppDbContext>();
create RapidAppDbContext.cs
using Microsoft.EntityFrameworkCore;
using Rapid.EntityFrameworkCore.SqlServer;
namespace rapiddemo.data
{
public class RapidAppDbContext : RapidDbContext<RapidAppDbContext>
{
public RapidAppDbContext(DbContextOptions<RapidAppDbContext> options) : base(options)
{
}
}
}
create migrations
dotnet ef migrations add Initialization
# or
Add-Migration Initialization
update
dotnet ef database update
# or
Update-Database
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. |
.NET Core | netcoreapp3.1 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- Microsoft.EntityFrameworkCore.SqlServer (>= 3.1.4)
- Microsoft.Extensions.Configuration.FileExtensions (>= 3.1.4)
- Microsoft.Extensions.Configuration.Json (>= 3.1.4)
- Rapid.EntityFrameworkCore (>= 0.0.11)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.