Aranasoft.Cobweb.EntityFrameworkCore.Validation 1.20.5

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Aranasoft.Cobweb.EntityFrameworkCore.Validation --version 1.20.5
                    
NuGet\Install-Package Aranasoft.Cobweb.EntityFrameworkCore.Validation -Version 1.20.5
                    
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="Aranasoft.Cobweb.EntityFrameworkCore.Validation" Version="1.20.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Aranasoft.Cobweb.EntityFrameworkCore.Validation" Version="1.20.5" />
                    
Directory.Packages.props
<PackageReference Include="Aranasoft.Cobweb.EntityFrameworkCore.Validation" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Aranasoft.Cobweb.EntityFrameworkCore.Validation --version 1.20.5
                    
#r "nuget: Aranasoft.Cobweb.EntityFrameworkCore.Validation, 1.20.5"
                    
#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.
#:package Aranasoft.Cobweb.EntityFrameworkCore.Validation@1.20.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Aranasoft.Cobweb.EntityFrameworkCore.Validation&version=1.20.5
                    
Install as a Cake Addin
#tool nuget:?package=Aranasoft.Cobweb.EntityFrameworkCore.Validation&version=1.20.5
                    
Install as a Cake Tool

Usage

// using Aranasoft.Cobweb.EntityFrameworkCore.Validation

myApplicationContext.ValidateSchema([options]);

ValidateSchema requires that the DbContext uses an Application Service Provider configured with platform-specific design time services.

Example:

  var serviceCollection = new ServiceCollection().AddEntityFrameworkDesignTimeServices();
  new SqlServerDesignTimeServices().ConfigureDesignTimeServices(serviceCollection);
  var serviceProvider = serviceCollection.BuildServiceProvider();

  var builder = new DbContextOptionsBuilder<ApplicationDbContext>();
  builder.UseSqlServer(myConnection);
  builder.UseApplicationServiceProvider(serviceProvider);

  var myApplicationContext = new ApplicationDbContext(builder.Options);

Options

// using Aranasoft.Cobweb.EntityFrameworkCore.Validation

var options = new SchemaValidationOptions{
                      ValidateIndexes = true,
                      ValidateForeignKeys = true
                  };

ValidateIndexes

Type: boolean<br> Default: true

Set to false to skip validation of indexes.

ValidateForeignKeys

Type: boolean<br> Default: true

Set to false to skip validation of foreign keys. Useful for platforms that do no use foreign keys.

ValidateNullabilityForTables

Type: boolean<br> Default: true

Set to false to skip validation of nullability on table columns.

ValidateNullabilityForViews

Type: boolean<br> Default: false

Set to false to skip validation of nullability on view columns. By default, many database platforms enable nullability on view columns regardless of nullability on the underlying table column.

This option is not applicable to Entity Framework Core 2.x or Aranasoft.Cobweb.EntityFrameworkCore.Validation 1.2x.x.

1.20.5 (2021-01-21)

Fixes

  • efcore: correct column type mismatch with CSVs (955a818)
Product 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.90.0 191 6/19/2025
1.80.0 828 3/20/2024
1.70.0 190 3/20/2024
1.60.2 176 3/20/2024
1.60.1 4,547 6/20/2022
1.60.0 1,546 1/25/2022
1.50.5 165 3/20/2024
1.50.4 853 6/20/2022
1.50.3 948 1/22/2022
1.50.2 991 1/22/2022
1.50.1 918 1/21/2022
1.30.7 190 3/20/2024
1.30.6 983 6/20/2022
1.30.5 931 1/22/2022
1.30.4 1,310 10/30/2020
1.30.3 1,036 9/16/2020
1.30.2 1,341 4/14/2020
1.30.0 1,010 4/9/2020
1.20.7 169 3/20/2024
1.20.6 920 6/20/2022
1.20.5 913 1/22/2022
1.20.4 990 10/30/2020
1.20.2 1,011 4/14/2020
1.20.0 1,854 12/10/2019
1.20.0-preview-10501 885 12/5/2019