Table of Contents

Interface IServiceProperty

Namespace
Microsoft.EntityFrameworkCore.Metadata
Assembly
Microsoft.EntityFrameworkCore.dll

Represents a property on an entity type that represents an injected service from the DbContext.

public interface IServiceProperty : IReadOnlyServiceProperty, IPropertyBase, IReadOnlyPropertyBase, IAnnotatable, IReadOnlyAnnotatable
Inherited Members
Extension Methods

Remarks

See Modeling entity types and relationships for more information and examples.

Properties

DeclaringEntityType

Gets the entity type that this property belongs to.

IEntityType DeclaringEntityType { get; }

Property Value

IEntityType

ParameterBinding

The ServiceParameterBinding for this property.

ServiceParameterBinding ParameterBinding { get; }

Property Value

ServiceParameterBinding