summaryM:DotNetNuke.Data.PetaPoco.PetaPocoDataContext.ExecuteQuery``1(System.Data.CommandType,System.String,System.Object[])

Namespace: DotNetNuke.Data.PetaPoco
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public IEnumerable<T> ExecuteQuery<T>(
	CommandType type,
	string sql,
	params Object[] args
)
Visual Basic
Public Function ExecuteQuery(Of T) ( 
	type As CommandType,
	sql As String,
	ParamArray args As Object()
) As IEnumerable(Of T)

Parameters

type
Type: System.Data..::..CommandType
paramtypeM:DotNetNuke.Data.PetaPoco.PetaPocoDataContext.ExecuteQuery``1(System.Data.CommandType,System.String,System.Object[])
sql
Type: System..::..String
paramsqlM:DotNetNuke.Data.PetaPoco.PetaPocoDataContext.ExecuteQuery``1(System.Data.CommandType,System.String,System.Object[])
args
Type: array<System..::..Object>[]()[][]
paramargsM:DotNetNuke.Data.PetaPoco.PetaPocoDataContext.ExecuteQuery``1(System.Data.CommandType,System.String,System.Object[])

Type Parameters

T
typeparamTM:DotNetNuke.Data.PetaPoco.PetaPocoDataContext.ExecuteQuery``1(System.Data.CommandType,System.String,System.Object[])

Return Value

returnsM:DotNetNuke.Data.PetaPoco.PetaPocoDataContext.ExecuteQuery``1(System.Data.CommandType,System.String,System.Object[])

Implements

IDataContext..::..ExecuteQuery<(Of <<'(T>)>>)(CommandType, String, array<Object>[]()[][])

See Also