Share via


RelationalOptionsExtension.Validate(IDbContextOptions) Method

Definition

Gives the extension a chance to validate that all options in the extension are valid. Most extensions do not have invalid combinations and so this will be a no-op. If options are invalid, then an exception should be thrown.

public virtual void Validate (Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions options);
abstract member Validate : Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions -> unit
override this.Validate : Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions -> unit
Public Overridable Sub Validate (options As IDbContextOptions)

Parameters

options
IDbContextOptions

The options being validated.

Implements

Applies to