Interface IMutableServiceProperty
- Namespace
- Microsoft.EntityFrameworkCore.Metadata
- Assembly
- Microsoft.EntityFrameworkCore.dll
A IReadOnlyPropertyBase in the Entity Framework model that represents an injected service from the DbContext.
public interface IMutableServiceProperty : IReadOnlyServiceProperty, IMutablePropertyBase, IReadOnlyPropertyBase, IMutableAnnotatable, IReadOnlyAnnotatable
- Inherited Members
- Extension Methods
Remarks
This interface is used during model creation and allows the metadata to be modified. Once the model is built, IServiceProperty represents a read-only view of the same metadata.
See Modeling entity types and relationships for more information and examples.
Properties
DeclaringEntityType
Gets the type that this property belongs to.
IMutableEntityType DeclaringEntityType { get; }
Property Value
ParameterBinding
Gets or sets ServiceParameterBinding for this property.
ServiceParameterBinding? ParameterBinding { get; set; }