C# Class Habanero.Smooth.UniqueConstraintAutoMapper

Automatically maps all unique constraints defined on a class using a the appropriate attributes (e.g. AutoMapUniqueConstraintAttribute) via reflection.
Mostrar archivo Open project: Chillisoft/habanero.smooth Class Usage Examples

Private Properties

Property Type Description
GetPrimaryKeyDef IPrimaryKeyDef

Public Methods

Method Description
MapUniqueConstraints ( ) : IList

Maps all the Unique Constraints for the Class.

UniqueConstraintAutoMapper ( IClassDef classDef ) : System

Private Methods

Method Description
GetPrimaryKeyDef ( IClassDef classDef ) : IPrimaryKeyDef

Method Details

MapUniqueConstraints() public method

Maps all the Unique Constraints for the Class.
public MapUniqueConstraints ( ) : IList
return IList

UniqueConstraintAutoMapper() public method

public UniqueConstraintAutoMapper ( IClassDef classDef ) : System
classDef IClassDef
return System