Handler for the special case query that selects a specific instance of a type

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

Syntax

C#
public abstract IEnumerable<T> ExecuteInstanceQuery<T>(
	string instanceIdentifier,
	string typeIdentifier
)
Visual Basic
Public MustOverride Function ExecuteInstanceQuery(Of T) ( 
	instanceIdentifier As String,
	typeIdentifier As String
) As IEnumerable(Of T)
Visual C++
public:
generic<typename T>
virtual IEnumerable<T>^ ExecuteInstanceQuery(
	String^ instanceIdentifier, 
	String^ typeIdentifier
) abstract
F#
abstract ExecuteInstanceQuery : 
        instanceIdentifier : string * 
        typeIdentifier : string -> IEnumerable<'T> 

Parameters

instanceIdentifier
Type: System..::..String
The identifier for the instance
typeIdentifier
Type: System..::..String
The identifier for the type that the instance must be an instance of

Type Parameters

T
The entity type to create for then instance if it is found

Return Value

Type: IEnumerable<(Of <(<'T>)>)>
An enumerable that returns 0 or 1 instances of T. If the resource identified by instanceIdentifier is an instance of the resource identifier by typeIdentifier, the enumeration returns a single object, otherwise it returns no objects.

See Also