NPersistence Reference Guide
Create an instance of Query for executing a native SQL query.

Namespace: NPersistence
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

   
 C# 
Query CreateNativeQuery(
	string sqlString,
	Type resultClass
)

Parameters

sqlString
String
a native SQL query string
resultClass
Type
the class of the resulting instance(s)

Return Value

the new query instance

See Also