StoredProcQuery(String, String, IEnumerable<QueryParameter>) Constructor

Initializes a new instance of the StoredProcQuery class with the specified settings.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v20.2.dll

Declaration

public StoredProcQuery(
    string queryName,
    string storedProcName,
    IEnumerable<QueryParameter> parameters
)
Public Sub New(
    queryName As String,
    storedProcName As String,
    parameters As IEnumerable(Of QueryParameter)
)

Parameters

Name Type Description
queryName String

A String value. This value is assigned to the SqlQuery.Name property.

storedProcName String

A String value. This value is assigned to the StoredProcQuery.StoredProcName property.

parameters IEnumerable<QueryParameter>

A collection of QueryParameter objects. This value is assigned to the SqlQuery.Parameters property.

See Also