Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

CreateCustomObjectSpaceProviderEventArgs Class

Represents arguments passed to the XafApplication.CreateCustomObjectSpaceProvider event.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v20.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public class CreateCustomObjectSpaceProviderEventArgs :
    EventArgs

Remarks

The CreateCustomObjectSpaceProvider event occurs when setting up the application. Handle this event if you require the application to use a custom Object Space Provider. Use the handler’s CreateCustomObjectSpaceProviderEventArgs.Connection and CreateCustomObjectSpaceProviderEventArgs.ConnectionString properties to get the connection type and connection string that are set for the application. The created Object Space Provider should be set for the handler’s CreateCustomObjectSpaceProviderEventArgs.ObjectSpaceProvider property, so that the default Object Space Provider is not created.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateCustomObjectSpaceProviderEventArgs class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
EventArgs
CreateCustomObjectSpaceProviderEventArgs
See Also