IdeaBlade DevForce 2010 Help Reference
PassthruEsqlQuery Constructor(Type,String)
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > PassthruEsqlQuery Class > PassthruEsqlQuery Constructor : PassthruEsqlQuery Constructor(Type,String)



returnType
The entity type that this query will return
esql
The Entity SQL string to execute
Initializes a new instance of the PassthruEsqlQuery class with an Entity SQL statement.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal returnType As Type, _
   ByVal esql As String _
)
Visual Basic (Usage)Copy Code
Dim returnType As Type
Dim esql As String
 
Dim instance As New PassthruEsqlQuery(returnType, esql)
C# 
public PassthruEsqlQuery( 
   Type returnType,
   string esql
)
C++/CLI 
public:
PassthruEsqlQuery( 
   Type^ returnType,
   String^ esql
)

Parameters

returnType
The entity type that this query will return
esql
The Entity SQL string to execute

Remarks

Note: Use one of the constructor overloads that takes a queryableType parameter whenever the returnType does not inherit from Entity.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.