EntityFrameworkRelationalServicesBuilder.TryAddCoreServices Method

Definition

Registers default implementations of all services, including relational services, not already registered by the provider. Relational database providers must call this method as the last step of service registration--that is, after all provider services have been registered.

public override Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder TryAddCoreServices ();
override this.TryAddCoreServices : unit -> Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder
Public Overrides Function TryAddCoreServices () As EntityFrameworkServicesBuilder

Returns

This builder, such that further calls can be chained.

Remarks

See Implementation of database providers and extensions for more information and examples.

Applies to