DatabaseProvider<TProviderServices, TOptionsExtension> DatabaseProvider(Of TProviderServices, TOptionsExtension) Class


The primary point where a database provider can tell EF that it has been selected for the current context and provide the services required for it to function.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

public class DatabaseProvider<TProviderServices, TOptionsExtension> : IDatabaseProvider where TProviderServices : class, IDatabaseProviderServices where TOptionsExtension : class, IDbContextOptionsExtension
Public Class DatabaseProvider(Of TProviderServices As {Class, IDatabaseProviderServices}, TOptionsExtension As {Class, IDbContextOptionsExtension})
    Implements IDatabaseProvider

Type Parameters


The base set of services required by EF for the database provider to function.


The type of options that the database provider will add to Extensions to identify that is has been selected (and to store its database specific settings).

DatabaseProvider<TProviderServices, TOptionsExtension>DatabaseProvider(Of TProviderServices, TOptionsExtension)


System.Object.Equals(System.Object) System.Object.Equals(System.Object) Inherited from System.Object
System.Object.Equals(System.Object, System.Object) System.Object.Equals(System.Object, System.Object) Inherited from System.Object
System.Object.GetHashCode() System.Object.GetHashCode() Inherited from System.Object
GetProviderServices(IServiceProvider) GetProviderServices(IServiceProvider)

Gets the base set of services required by EF for the database provider to function.

System.Object.GetType() System.Object.GetType() Inherited from System.Object
IsConfigured(IDbContextOptions) IsConfigured(IDbContextOptions)

Gets a value indicating whether this database provider has been selected for a given context.

System.Object.MemberwiseClone() System.Object.MemberwiseClone() Inherited from System.Object
System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ReferenceEquals(System.Object, System.Object) Inherited from System.Object
System.Object.ToString() System.Object.ToString() Inherited from System.Object