Get entity from datasource by entity id.
Namespace: MonoSoftware.MonoXAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
public T GetEntityFromDataSourceById<T>(
Guid entityId
)
|
Visual Basic |
---|
Public Function GetEntityFromDataSourceById(Of T) (
entityId As Guid
) As T |
Visual C++ |
---|
public:
generic<typename T>
T GetEntityFromDataSourceById(
Guid entityId
) |
F# |
---|
member GetEntityFromDataSourceById :
entityId : Guid -> 'T
|
Type Parameters
- T
- Type of the entity to return
Return Value
Type:
TIf datasource contains specified id entity is returned, otherwise null
See Also