C# Class CarbonFitness.DataLayer.Maps.AutoPersistenceModelGenerator

Inheritance: IAutoPersistenceModelGenerator
Show file Open project: yodiz/CarbonFitness

Public Methods

Method Description
Generate ( ) : AutoPersistenceModel

Private Methods

Method Description
GetAutoMappingFilter ( Type t ) : bool

Provides a filter for only including types which inherit from the IEntityWithTypedId interface. This might be considered a little hackish having this magic string in the comparison, but since the interface is generic, it wouldn't be possible to compare the type directly.

Method Details

Generate() public method

public Generate ( ) : AutoPersistenceModel
return AutoPersistenceModel