C# Class Habanero.Smooth.ClassAutoMapperExtensions

Extension method so that the code for automappin an individual class can b more fluent.
Mostrar archivo Open project: Chillisoft/habanero.smooth

Public Methods

Method Description
MapClass ( this type ) : IClassDef

Maps the Class of type to a ClassDef. Note_ this will not create the reverse relationships on the Related Class if they are required. If you require reverse relationships to be set up then please use the AllClassesAutoMapper

MustBeMapped ( this typeWrapper ) : bool

Must the Class wrapped by the typeWrapper be mapped.

Method Details

MapClass() public static method

Maps the Class of type to a ClassDef. Note_ this will not create the reverse relationships on the Related Class if they are required. If you require reverse relationships to be set up then please use the AllClassesAutoMapper
public static MapClass ( this type ) : IClassDef
type this
return IClassDef

MustBeMapped() public static method

Must the Class wrapped by the typeWrapper be mapped.
public static MustBeMapped ( this typeWrapper ) : bool
typeWrapper this
return bool