Back to Devexpress

CreateCustomObjectSpaceProviderEventArgs Class

expressappframework-devexpress-dot-expressapp-b3e3af2a.md

latest2.4 KB
Original Source

CreateCustomObjectSpaceProviderEventArgs Class

Represents arguments passed to the XafApplication.CreateCustomObjectSpaceProvider event.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public class CreateCustomObjectSpaceProviderEventArgs :
    EventArgs
vb
Public Class CreateCustomObjectSpaceProviderEventArgs
    Inherits EventArgs

CreateCustomObjectSpaceProviderEventArgs is the data class for the following events:

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.

Inheritance

Object EventArgs CreateCustomObjectSpaceProviderEventArgs

See Also

CreateCustomObjectSpaceProviderEventArgs Members

DevExpress.ExpressApp Namespace