Register a new type with the type map with the specified alias.
Namespace:
Mindscape.LightSpeed.QueryingAssembly: Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)
Syntax
C# |
---|
public void Add<TEntity>( string alias ) where TEntity : Entity |
Visual Basic (Declaration) |
---|
Public Sub Add(Of TEntity As Entity) ( _ alias As String _ ) |
Parameters
- alias
- Type: System..::.String
The alias for the type.
Type Parameters
- TEntity
- The type to be registered with the map.