Returns the property that is mapped as the Identity property for the specified entity type

Namespace: BrightstarDB.EntityFramework
Assembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)

Syntax

C#
public PropertyInfo GetIdentityProperty(
	Type t
)
Visual Basic
Public Function GetIdentityProperty ( 
	t As Type
) As PropertyInfo
Visual C++
public:
PropertyInfo^ GetIdentityProperty(
	Type^ t
)
F#
member GetIdentityProperty : 
        t : Type -> PropertyInfo 

Parameters

t
Type: System..::..Type
The entity type to check. This can be either the entity interface type or the concrete implementation type

Return Value

Type: PropertyInfo
The mapped property info or null if no match is found

See Also