Class RelationalPropertyExtensions
- Namespace
- Microsoft.EntityFrameworkCore.Infrastructure
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
Relational extension methods for Microsoft.EntityFrameworkCore.Metadata.IProperty.
public static class RelationalPropertyExtensions
- Inheritance
-
RelationalPropertyExtensions
- Inherited Members
Methods
FormatColumns(IEnumerable<IProperty>, StoreObjectIdentifier)
Creates a comma-separated list of column names.
public static string FormatColumns(this IEnumerable<IProperty> properties, StoreObjectIdentifier storeObject)
Parameters
properties
IEnumerable<IProperty>The properties to format.
storeObject
StoreObjectIdentifierThe identifier of the table-like store object containing the column.
Returns
- string
A comma-separated list of column names.
GetColumnNames(IEnumerable<IProperty>, in StoreObjectIdentifier)
Creates a list of column names.
public static IReadOnlyList<string> GetColumnNames(this IEnumerable<IProperty> properties, in StoreObjectIdentifier storeObject)
Parameters
properties
IEnumerable<IProperty>The properties to format.
storeObject
StoreObjectIdentifierThe identifier of the table-like store object containing the column.
Returns
- IReadOnlyList<string>
A list of column names.