Skip to main content

QueryBuilderRunner(IDBSchemaProviderEx, DBSchema, SqlDataConnection, IWin32Window, UserLookAndFeel, Boolean, Boolean, Boolean, Boolean, IDisplayNameProvider, IParameterService, IServiceProvider, ICustomQueryValidator, IExceptionHandler, ExpressionEditorContext, IRepositoryItemsProvider) Constructor

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

Namespace: DevExpress.DataAccess.UI.Sql

Assembly: DevExpress.DataAccess.v24.1.UI.dll

NuGet Package: DevExpress.DataAccess.UI

Declaration

[EditorBrowsable(EditorBrowsableState.Never)]
public QueryBuilderRunner(
    IDBSchemaProviderEx schemaProvider,
    DBSchema dbSchema,
    SqlDataConnection connection,
    IWin32Window owner,
    UserLookAndFeel lookAndFeel,
    bool noCustomSql,
    bool light,
    bool noDiagramControl,
    bool legacyExpressionEditor,
    IDisplayNameProvider displayNameProvider,
    IParameterService parameterService,
    IServiceProvider propertyGridServices,
    ICustomQueryValidator customQueryValidator,
    IExceptionHandler loaderExceptionHandler,
    ExpressionEditorContext context,
    IRepositoryItemsProvider repositoryItemsProvider
)

Parameters

Name Type Description
schemaProvider IDBSchemaProviderEx

An object implementing the IDBSchemaProviderEx interface that provides the capability to customize the data source schema.

dbSchema DBSchema

A DBSchema object that is the data source schema.

connection SqlDataConnection

An SqlDataConnection object that specifies a connection to a data provider.

owner IWin32Window

An object implementing the IWin32Window interface.

lookAndFeel UserLookAndFeel

A UserLookAndFeel object.

noCustomSql Boolean

true, to disable custom SQL editing; otherwise, false.

light Boolean

true, to disallow end-users from specifying custom SQL queries, column aliases and expressions; otherwise, false.

noDiagramControl Boolean

true, to use a table-based user interface; false, to use a diagram-based user interface.

legacyExpressionEditor Boolean

true, to use the older Expression Editor version; otherwise, false.

displayNameProvider IDisplayNameProvider

An object implementing the IDisplayNameProvider interface.

parameterService IParameterService

An object implementing the IParameterService interface that provides a service functionality to manage query parameters.

propertyGridServices IServiceProvider

An object implementing the IServiceProvider interface.

customQueryValidator ICustomQueryValidator

An object implementing the ICustomQueryValidator interface that provides custom validation logic for SQL queries.

loaderExceptionHandler IExceptionHandler

An object implementing the IExceptionHandler interface.

context ExpressionEditorContext

An ExpressionEditorContext object.

repositoryItemsProvider IRepositoryItemsProvider

An object implementing the IRepositoryItemsProvider interface that provides repository items to manage query parameters.

See Also