In EF 6.1, a mapping API was introduced in which we could finally access the table names and column names. Getting the table name is a very nice change in EF Core, but I have not yet discovered how to get the column names.
For anyone interested here, I got the table name in the latest version (RC1)
context.Model.FindEntityType(typeof(T)).SqlServer().TableName
What is the current method for getting column names or not yet available?
entity-framework-core
Matt sanders
source share