RelationalPropertyExtensions.GetColumnNames Method

Definition

Overloads

GetColumnNames(IEnumerable<IProperty>, StoreObjectIdentifier)

Source:
RelationalPropertyExtensions.cs

Creates a list of column names.

C#
public static System.Collections.Generic.IReadOnlyList<string> GetColumnNames (this System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IProperty> properties, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);

Parameters

properties
IEnumerable<IProperty>

The properties to format.

storeObject
StoreObjectIdentifier

The identifier of the table-like store object containing the column.

Returns

A list of column names.

Applies to

Entity Framework Core 5.0
Product Versions
Entity Framework Core 5.0

GetColumnNames(IEnumerable<IReadOnlyProperty>, StoreObjectIdentifier)

Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs
Source:
RelationalPropertyExtensions.cs

Creates a list of column names.

C#
public static System.Collections.Generic.IReadOnlyList<string>? GetColumnNames (this System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);

Parameters

properties
IEnumerable<IReadOnlyProperty>

The properties to format.

storeObject
StoreObjectIdentifier

The identifier of the table-like store object containing the column.

Returns

A list of column names.

Applies to

Entity Framework Core 9.0 and other versions
Product Versions
Entity Framework Core 6.0, 7.0, 8.0, 9.0