EasyAF_CodeGen_DbContextExtensions

A set of Reflection-based DbContext extensions.

Syntax

public static class EasyAF_CodeGen_DbContextExtensions

Inheritance

Methods

GetDbSets

public static IEnumerable<PropertyInfo> GetDbSets(this DbContext dbContext)
Returns a list of all the properties on the .

Parameters

Returns

IEnumerable<PropertyInfo>

GetDbSetTypes

public static IEnumerable<Type> GetDbSetTypes(this DbContext dbContext)
Returns a list of the entity types for all the properties on the .

Parameters

Returns

IEnumerable<Type>