ServiceCharacteristics Struct

Definition

Characteristics of a given EF service.

C#
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct ServiceCharacteristics
Inheritance
ServiceCharacteristics
Attributes

Remarks

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

Constructors

Properties

Lifetime

The service lifetime.

MultipleRegistrations

true if multiple registrations of the service is allowed; false otherwise.

Applies to

Product Versions
Entity Framework Core 5.0, 6.0, 7.0, 8.0, 9.0