Method | Description | |
---|---|---|
FindTable ( String entity ) : Table |
Finds a table mapped with the specified entity.
|
|
FindTable ( |
Finds a table mapped with the specified type.
|
|
Phantom ( |
Registers mapping of a real type with metadata defined in another phantom type.
|
|
SetTable ( String entity, Table table ) : void |
Sets a table mapped with the specified entity.
|
|
SetTable ( |
Sets a table mapped with the specified type.
|
Method | Description | |
---|---|---|
GetTypeName ( |
||
SqlMapper ( |
||
SqlMapper ( |
public FindTable ( String entity ) : Table | ||
entity | String | the name of the entity to map |
return | Table |
public FindTable ( |
||
type | the |
|
return | Table |
public Phantom ( |
||
realType | the real type to map | |
phantomType | the type which contains mapping definition | |
return | void |
public SetTable ( String entity, Table table ) : void | ||
entity | String | the entity to map |
table | Table | the mapping rules impementation, or null to remove custom map |
return | void |
public SetTable ( |
||
type | the |
|
table | Table | the mapping rules impementation, or null to remove custom map |
return | void |