IMetadataReference<T> Interface
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a reference to a metadata object. If the metadata object instance is replaced this will be updated with the new object.
C#
public interface IMetadataReference<out T> : IDisposable
type IMetadataReference<'T> = interface
interface IDisposable
Public Interface IMetadataReference(Of Out T)
Implements IDisposable
- T
The metadata type
This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.- Implements
See Modeling entity types and relationships for more information and examples.
Object |
The referenced object. |
Product | Versions |
---|---|
Entity Framework Core | 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: