Interface IFunctionColumn
- Namespace
- Microsoft.EntityFrameworkCore.Metadata
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
Represents a column in a table-valued function.
public interface IFunctionColumn : IColumnBase, IAnnotatable, IReadOnlyAnnotatable
- Inherited Members
Remarks
See Database functions for more information and examples.
Properties
Function
Gets the containing function.
IStoreFunction Function { get; }
Property Value
PropertyMappings
Gets the property mappings.
IReadOnlyList<IFunctionColumnMapping> PropertyMappings { get; }
Property Value
Methods
FindColumnMapping(IReadOnlyEntityType)
Returns the property mapping for the given entity type.
IFunctionColumnMapping? FindColumnMapping(IReadOnlyEntityType entityType)
Parameters
entityType
IReadOnlyEntityTypeAn entity type.
Returns
- IFunctionColumnMapping
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.