Share via


ServiceCharacteristics Struct

Definition

Characteristics of a given EF service.

[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct ServiceCharacteristics
[<System.Runtime.CompilerServices.IsReadOnly>]
type ServiceCharacteristics = struct
Public Structure ServiceCharacteristics
Inheritance
ServiceCharacteristics
Attributes

Remarks

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

Constructors

ServiceCharacteristics(ServiceLifetime, Boolean)

Creates a new ServiceCharacteristics struct.

Properties

Lifetime

The service lifetime.

MultipleRegistrations

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

Applies to