Talrace.Core.Dal
6.0.4
See the version list below for details.
dotnet add package Talrace.Core.Dal --version 6.0.4
NuGet\Install-Package Talrace.Core.Dal -Version 6.0.4
<PackageReference Include="Talrace.Core.Dal" Version="6.0.4" />
paket add Talrace.Core.Dal --version 6.0.4
#r "nuget: Talrace.Core.Dal, 6.0.4"
// Install Talrace.Core.Dal as a Cake Addin
#addin nuget:?package=Talrace.Core.Dal&version=6.0.4
// Install Talrace.Core.Dal as a Cake Tool
#tool nuget:?package=Talrace.Core.Dal&version=6.0.4
About
This package provides a set of extension methods for classes such as ModelBuilder and DbContext.
The package also contains the IOrderBy<TEntity> interface and two of its implementations for sorting IQueryable<TEntity> in ascending and descending order.
Available api
ModelBuilderExtensions - static class contains one extension method for ModelBuilder class that sets all database names (columns names, keys and foreign keys names, tables names, indexes names) to lowercase.
DbContextExtensions - static class provides set of extension methods for DbContext class.
OrderBy - class provides functionality for sorting IQueryable<TEntity> in ascending order.
OrderByDescending - class provides functionality for sorting IQueryable<TEntity> in descending order.
Setup
Before using the methods provided in ModelBuilderExtensions and DbContextExtension classes, you must connect to a relational database. For example:
public void ConfigureServices(IServiceCollection services) {
services.AddDbContext<TestDbContext>(options => options.UseSqlServer("<ConnectionString>"));
}
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. |
-
net6.0
- Microsoft.EntityFrameworkCore (>= 6.0.4)
- Microsoft.EntityFrameworkCore.Relational (>= 6.0.4)
- Talrace.Core.Interfaces (>= 6.0.4)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Talrace.Core.Dal:
Package | Downloads |
---|---|
Talrace.Core.Services
Core Services |
GitHub repositories
This package is not used by any popular GitHub repositories.