ResultSchemaProvider.GetCustomSqlSchema(CustomSqlQuery, SqlDataConnection, ConnectionOptions, IEnumerable<IParameter>) Method

Returns the result schema corresponding to a specified custom SQL.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v20.2.dll

Declaration

public virtual object GetCustomSqlSchema(
    CustomSqlQuery customSqlQuery,
    SqlDataConnection connection,
    ConnectionOptions connectionOptions,
    IEnumerable<IParameter> sourceParameters
)
Public Overridable Function GetCustomSqlSchema(
    customSqlQuery As CustomSqlQuery,
    connection As SqlDataConnection,
    connectionOptions As ConnectionOptions,
    sourceParameters As IEnumerable(Of IParameter)
) As Object

Parameters

Name Type Description
customSqlQuery CustomSqlQuery

A CustomSqlQuery object.

connection SqlDataConnection

A SqlDataConnection object.

connectionOptions ConnectionOptions

A ConnectionOptions object.

sourceParameters IEnumerable<IParameter>

A collection of IParameter objects.

Returns

Type Description
Object

A Object value.

See Also