Rystem.RepositoryFramework.Infrastructure.MsSql
3.0.23
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Rystem.RepositoryFramework.Infrastructure.MsSql --version 3.0.23
NuGet\Install-Package Rystem.RepositoryFramework.Infrastructure.MsSql -Version 3.0.23
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="Rystem.RepositoryFramework.Infrastructure.MsSql" Version="3.0.23" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Rystem.RepositoryFramework.Infrastructure.MsSql --version 3.0.23
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Rystem.RepositoryFramework.Infrastructure.MsSql, 3.0.23"
#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 Rystem.RepositoryFramework.Infrastructure.MsSql as a Cake Addin #addin nuget:?package=Rystem.RepositoryFramework.Infrastructure.MsSql&version=3.0.23 // Install Rystem.RepositoryFramework.Infrastructure.MsSql as a Cake Tool #tool nuget:?package=Rystem.RepositoryFramework.Infrastructure.MsSql&version=3.0.23
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
What is Rystem?
Integration with MsSql and Repository Framework
builder.Services.AddRepositoryInMsSql<Cat, Guid>(x =>
{
x.Schema = "repo";
x.ConnectionString = configuration["ConnectionString:Database"];
})
.WithPrimaryKey(x => x.Id, x =>
{
x.ColumnName = "Key";
})
.WithColumn(x => x.Paws, x =>
{
x.ColumnName = "Zampe";
x.IsNullable = true;
})
.AddBusinessBeforeInsert<CatBeforeInsertBusiness>()
.AddBusinessBeforeInsert<CatBeforeInsertBusiness2>()
You found the IRepository<Cat, Guid> in DI to play with it.
Configure database after build
You have to run a method after the service collection build during startup. This method creates your tables.
var app = builder.Build();
await app.Services.WarmUpAsync();
Automated api with Rystem.RepositoryFramework.Api.Server package
With automated api, you may have the api implemented with your dataverse integration. You need only to add the AddApiFromRepositoryFramework and UseApiForRepositoryFramework
builder.Services.AddApiFromRepositoryFramework(x =>
{
x.Name = "Repository Api";
x.HasSwagger = true;
x.HasDocumentation = true;
});
var app = builder.Build();
app.UseHttpsRedirection();
app.UseApiForRepositoryFramework();
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.Data.SqlClient (>= 5.0.1)
- Rystem.RepositoryFramework.Abstractions (>= 3.0.23)
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 |
---|---|---|
9.0.8 | 0 | 1/6/2025 |
9.0.7 | 0 | 1/6/2025 |
9.0.4 | 88,226 | 12/23/2024 |
9.0.3 | 84 | 12/22/2024 |
9.0.2 | 10,639 | 12/21/2024 |
9.0.1 | 1,131 | 12/21/2024 |
9.0.0 | 172,903 | 11/16/2024 |
9.0.0-rc.1 | 82 | 10/18/2024 |
6.2.0 | 218,992 | 10/9/2024 |
6.1.1 | 103 | 10/9/2024 |
6.1.0 | 47,862 | 9/29/2024 |
6.0.24 | 109 | 9/11/2024 |
6.0.23 | 130 | 7/18/2024 |
6.0.21 | 130 | 6/18/2024 |
6.0.20 | 122 | 6/16/2024 |
6.0.19 | 126 | 6/14/2024 |
6.0.18 | 118 | 6/14/2024 |
6.0.17 | 112 | 6/14/2024 |
6.0.16 | 107 | 6/10/2024 |
6.0.15 | 112 | 6/9/2024 |
6.0.14 | 137 | 5/24/2024 |
6.0.13 | 124 | 5/23/2024 |
6.0.12 | 118 | 5/23/2024 |
6.0.11 | 131 | 5/20/2024 |
6.0.9 | 131 | 5/20/2024 |
6.0.7 | 117 | 5/18/2024 |
6.0.6 | 120 | 5/10/2024 |
6.0.5 | 99 | 5/10/2024 |
6.0.4 | 136 | 4/3/2024 |
6.0.3 | 116 | 3/25/2024 |
6.0.2 | 135 | 3/11/2024 |
6.0.0 | 198 | 11/21/2023 |
6.0.0-rc.6 | 108 | 10/25/2023 |
6.0.0-rc.5 | 82 | 10/25/2023 |
6.0.0-rc.4 | 74 | 10/23/2023 |
6.0.0-rc.3 | 71 | 10/19/2023 |
6.0.0-rc.2 | 73 | 10/18/2023 |
6.0.0-rc.1 | 81 | 10/16/2023 |
5.0.20 | 169 | 9/25/2023 |
5.0.19 | 146 | 9/10/2023 |
5.0.18 | 137 | 9/6/2023 |
5.0.17 | 124 | 9/6/2023 |
5.0.16 | 138 | 9/5/2023 |
5.0.15 | 131 | 9/5/2023 |
5.0.14 | 140 | 9/5/2023 |
5.0.13 | 125 | 9/1/2023 |
5.0.12 | 139 | 8/31/2023 |
5.0.11 | 122 | 8/30/2023 |
5.0.10 | 150 | 8/29/2023 |
5.0.9 | 126 | 8/24/2023 |
5.0.8 | 145 | 8/24/2023 |
5.0.7 | 142 | 8/23/2023 |
5.0.6 | 137 | 8/21/2023 |
5.0.5 | 149 | 8/21/2023 |
5.0.4 | 138 | 8/16/2023 |
5.0.3 | 147 | 8/2/2023 |
5.0.2 | 163 | 8/2/2023 |
5.0.1 | 155 | 8/1/2023 |
5.0.0 | 157 | 7/31/2023 |
4.1.26 | 180 | 7/20/2023 |
4.1.25 | 154 | 7/16/2023 |
4.1.24 | 156 | 6/13/2023 |
4.1.23 | 152 | 6/13/2023 |
4.1.22 | 153 | 5/30/2023 |
4.1.21 | 161 | 5/20/2023 |
4.1.20 | 315,229 | 4/19/2023 |
4.1.19 | 94,880 | 3/20/2023 |
4.1.18 | 223 | 3/20/2023 |
4.1.17 | 222 | 3/16/2023 |
4.1.16 | 224 | 3/16/2023 |
4.1.15 | 223 | 3/15/2023 |
4.1.14 | 784 | 3/9/2023 |
4.1.13 | 219 | 3/7/2023 |
4.1.12 | 281 | 2/10/2023 |
4.1.11 | 299 | 1/26/2023 |
4.1.10 | 298 | 1/22/2023 |
4.1.9 | 295 | 1/20/2023 |
4.1.8 | 308 | 1/18/2023 |
4.1.7 | 297 | 1/18/2023 |
4.1.6 | 295 | 1/17/2023 |
4.1.1 | 313 | 1/4/2023 |
4.1.0 | 324 | 1/1/2023 |
3.1.5 | 313 | 12/21/2022 |
3.1.3 | 310 | 12/12/2022 |
3.1.2 | 294 | 12/7/2022 |
3.1.1 | 303 | 12/7/2022 |
3.1.0 | 352 | 12/2/2022 |
3.0.29 | 337 | 12/1/2022 |
3.0.28 | 329 | 12/1/2022 |
3.0.27 | 351 | 11/23/2022 |
3.0.25 | 340 | 11/23/2022 |
3.0.24 | 357 | 11/18/2022 |
3.0.23 | 353 | 11/18/2022 |
3.0.22 | 355 | 11/15/2022 |
3.0.21 | 347 | 11/14/2022 |
3.0.20 | 371 | 11/13/2022 |
3.0.19 | 370 | 11/2/2022 |
3.0.18 | 369 | 11/2/2022 |
3.0.17 | 396 | 10/29/2022 |
3.0.16 | 393 | 10/29/2022 |
3.0.15 | 396 | 10/29/2022 |
3.0.14 | 394 | 10/29/2022 |
3.0.13 | 402 | 10/24/2022 |
3.0.12 | 403 | 10/17/2022 |
3.0.11 | 429 | 10/13/2022 |