Skip to main content
.NET 8.0+

XafApplication.CreateObjectSpace Method

Name Parameters Description
CreateObjectSpace() none Creates an Object Space. Use this method overload if your application registers only one ObjectSpaceProvider.
CreateObjectSpace(Type, String) objectType, tenantName Creates an object space for the specified business object type in a multi-tenant application.
CreateObjectSpace(Type) objectType Creates an Object Space that supports a specific object type. Use this method overload if your application registers several ObjectSpaceProviders.
CreateObjectSpace<T>() none Creates an Object Space of the specified type.
CreateObjectSpace<T>(String) tenantName Creates an object space for the specified business object type in a multi-tenant application.