Interface IMetadataReference<T>
- Namespace
- Microsoft.EntityFrameworkCore.Metadata
- Assembly
- Microsoft.EntityFrameworkCore.dll
Represents a reference to a metadata object. If the metadata object instance is replaced this will be updated with the new object.
public interface IMetadataReference<out T> : IDisposable
Type Parameters
T
The metadata type
- Inherited Members
Remarks
See Modeling entity types and relationships for more information and examples.
Properties
Object
The referenced object.
T? Object { get; }
Property Value
- T