Table of Contents

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

IReadOnlyList<IViewColumnMapping>

View

Gets the containing view.

IView View { get; }

Property Value

IView

Methods

FindColumnMapping(IReadOnlyEntityType)

Returns the property mapping for the given entity type.

IViewColumnMapping? FindColumnMapping(IReadOnlyEntityType entityType)

Parameters

entityType IReadOnlyEntityType

An 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 MetadataDebugStringOptions

Options for generating the string.

indent int

The number of indent spaces to use before each new line.

Returns

string

A human-readable representation.