EntityFrameworkServicesBuilder.TryAddCoreServices 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.
Registers default implementations of all services not already registered by the provider. Database providers must call this method as the last step of service registration--that is, after all provider services have been registered.
public virtual Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder TryAddCoreServices ();
abstract member TryAddCoreServices : unit -> Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder
override this.TryAddCoreServices : unit -> Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder
Public Overridable 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
Entity Framework