Interface IViewColumn
- Namespace
- Microsoft.EntityFrameworkCore.Metadata
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
Represents a column in a view.
public interface IViewColumn : IColumnBase, IAnnotatable, IReadOnlyAnnotatable
- Inherited Members
Remarks
See Modeling entity types and relationships for more information and examples.
Properties
PropertyMappings
Gets the property mappings.
IReadOnlyList<IViewColumnMapping> PropertyMappings { get; }
Property Value
View
Gets the containing view.
IView View { get; }
Property Value
Methods
FindColumnMapping(IReadOnlyEntityType)
Returns the property mapping for the given entity type.
IViewColumnMapping? FindColumnMapping(IReadOnlyEntityType entityType)
Parameters
entityType
IReadOnlyEntityTypeAn entity type.
Returns
- IViewColumnMapping
The property mapping or null if not found.
ToDebugString(MetadataDebugStringOptions, int)
Creates a human-readable representation of the given metadata.
Warning: Do not rely on the format of the returned string. It is designed for debugging only and may change arbitrarily between releases.
string ToDebugString(MetadataDebugStringOptions options = 0, int indent = 0)
Parameters
options
MetadataDebugStringOptionsOptions for generating the string.
indent
intThe number of indent spaces to use before each new line.
Returns
- string
A human-readable representation.