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.

C#
public override Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder TryAddCoreServices ();

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

Proizvod Verzije
Entity Framework Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0