CoreOptionsExtension.Validate(IDbContextOptions) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gives the extension a chance to validate that all options in the extension are valid. If options are invalid, then an exception will 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework