RelationalOptionsExtension.Extract(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.
Finds an existing RelationalOptionsExtension registered on the given options or throws if none has been registered. This is typically used to find some relational configuration when it is known that a relational provider is being used.
public static Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension Extract (Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions options);
static member Extract : Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions -> Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension
Public Shared Function Extract (options As IDbContextOptions) As RelationalOptionsExtension
Parameters
- options
- IDbContextOptions
The context options to look in.
Returns
The extension.
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