Skip to main content
.NET 6.0+

ISerializableObjectLayerService.LoadObjects(XPDictionaryStub, ObjectStubsQuery[]) Method

When implemented by a class, executes an object layer’s ISerializableObjectLayer.LoadObjects method implementation and returns the operation result.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

[OperationContract(Action = "http://tempuri.org/ISerializableObjectLayerService/LoadObjects")]
[XmlSerializerFormat]
[ServiceKnownType(typeof(DeleteStatement))]
[ServiceKnownType(typeof(InsertStatement))]
[ServiceKnownType(typeof(UpdateStatement))]
[ServiceKnownType(typeof(AggregateOperand))]
[ServiceKnownType(typeof(BetweenOperator))]
[ServiceKnownType(typeof(BinaryOperator))]
[ServiceKnownType(typeof(ContainsOperator))]
[ServiceKnownType(typeof(FunctionOperator))]
[ServiceKnownType(typeof(GroupOperator))]
[ServiceKnownType(typeof(InOperator))]
[ServiceKnownType(typeof(NotOperator))]
[ServiceKnownType(typeof(NullOperator))]
[ServiceKnownType(typeof(OperandProperty))]
[ServiceKnownType(typeof(OperandValue))]
[ServiceKnownType(typeof(ConstantValue))]
[ServiceKnownType(typeof(XPStubOperandValue))]
[ServiceKnownType(typeof(ParameterValue))]
[ServiceKnownType(typeof(QueryOperand))]
[ServiceKnownType(typeof(UnaryOperator))]
[ServiceKnownType(typeof(JoinOperand))]
[ServiceKnownType(typeof(OperandParameter))]
[ServiceKnownType(typeof(QuerySubQueryContainer))]
[ServiceKnownType(typeof(XPObjectStub))]
OperationResult<SerializableObjectLayerResult<XPObjectStubCollection[]>> LoadObjects(
    XPDictionaryStub dictionary,
    ObjectStubsQuery[] queries
)

Parameters

Name Type Description
dictionary XPDictionaryStub

An XPDictionaryStub object that is a metadata information provider.

queries ObjectStubsQuery[]

An array of ObjectStubsQuery objects specifying queries that are executed to retrieve persistent objects.

Returns

Type Description
OperationResult<DevExpress.Xpo.SerializableObjectLayerResult<XPObjectStubCollection[]>>

An OperationResult<DevExpress.Xpo.SerializableObjectLayerResult`1[[DevExpress.Xpo.XPObjectStubCollection> object denoting the operation result.

See Also