XPObjectSpace(ITypesInfo, XpoTypeInfoSource, UInt16, CreateUnitOfWorkHandler) Constructor
Creates a new instance of the XPObjectSpace class.
Namespace: DevExpress.ExpressApp.Xpo
Assembly: DevExpress.ExpressApp.Xpo.v24.2.dll
NuGet Package: DevExpress.ExpressApp.Xpo
#Declaration
public XPObjectSpace(
ITypesInfo typesInfo,
XpoTypeInfoSource xpoTypeInfoSource,
ushort hostParametersMaxNumber,
CreateUnitOfWorkHandler createUnitOfWorkDelegate
)
#Parameters
Name | Type | Description |
---|---|---|
types |
ITypes |
An ITypes |
xpo |
DevExpress. |
An Xpo |
host |
UInt16 | A UInt16 value that specifies the maximum number of hosted parameters. |
create |
DevExpress. |
A Create |
#Remarks
When you need to create an Object Space (for example, to create a View), do not create it manually. Instead, use the XafApplication.CreateObjectSpace method.