foreach (var entityType in dbContext.Model.GetEntityTypes()) { var tableName = entityType.GetTableName(); foreach (var propertyType in entityType.GetProperties()) { var columnName = propertyType.GetColumnName(); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)