Class SerializableObjectLayerService
- Namespace
- DevExpress.Xpo.DB
- Assembly
- DevExpress.Xpo.v24.1.dll
The base class for WCF services providing access to data via distributed object access layer (ISerializableObjectLayer implementors).
public class SerializableObjectLayerService : ServiceBase, ISerializableObjectLayerService
- Inheritance
-
SerializableObjectLayerService
- Implements
- Inherited Members
Constructors
SerializableObjectLayerService(ISerializableObjectLayer)
Initializes a new instance of the SerializableObjectLayerService class with a specified serializable object layer.
public SerializableObjectLayerService(ISerializableObjectLayer serializableObjectLayer)
Parameters
serializableObjectLayer
ISerializableObjectLayerAn object implementing the ISerializableObjectLayer interface. The specified object is exposed via the SerializableObjectLayerService.SerializableObjectLayer property.
Properties
SerializableObjectLayer
Returns a serializable object layer used to initialize the current SerializableObjectLayerService instance.
public ISerializableObjectLayer SerializableObjectLayer { get; }
Property Value
- ISerializableObjectLayer
An ISerializableObjectLayer implementor passed as a parameter to the SerializableObjectLayerService constructor.
Methods
CommitObjects(XPDictionaryStub, XPObjectStubCollection, XPObjectStubCollection, LockingOption)
Delegates the call to the SerializableObjectLayer.CommitObjects method of an object layer instance passed to the SerializableObjectLayerService‘s constructor and returns the operation result.
public virtual OperationResult<CommitObjectStubsResult[]> CommitObjects(XPDictionaryStub dictionary, XPObjectStubCollection objectsForDelete, XPObjectStubCollection objectsForSave, LockingOption lockingOption)
Parameters
dictionary
XPDictionaryStubobjectsForDelete
XPObjectStubCollectionobjectsForSave
XPObjectStubCollectionlockingOption
LockingOption
Returns
CreateObjectType(string, string)
Delegates the call to the SerializableObjectLayer.CreateObjectType method of an object layer instance passed to the SerializableObjectLayerService‘s constructor and returns the operation result.
public virtual OperationResult<object> CreateObjectType(string assemblyName, string typeName)
Parameters
Returns
GetCanLoadCollectionObjects()
Delegates the call to the SerializableObjectLayer.CanLoadCollectionObjects property’s getter of an object layer instance passed to the SerializableObjectLayerService‘s constructor and returns the operation result.
public virtual OperationResult<bool> GetCanLoadCollectionObjects()
Returns
GetObjectsByKey(XPDictionaryStub, GetObjectStubsByKeyQuery[])
Delegates the call to the SerializableObjectLayer.GetObjectsByKey method of an object layer instance passed to the SerializableObjectLayerService‘s constructor and returns the operation result.
public virtual OperationResult<SerializableObjectLayerResult<XPObjectStubCollection[]>> GetObjectsByKey(XPDictionaryStub dictionary, GetObjectStubsByKeyQuery[] queries)
Parameters
dictionary
XPDictionaryStubqueries
GetObjectStubsByKeyQuery[]
Returns
GetParentObjectsToDelete()
Delegates the call to the SerializableObjectLayer.GetParentObjectsToDelete method of an object layer instance passed to the SerializableObjectLayerService‘s constructor and returns the operation result.
public virtual OperationResult<SerializableObjectLayerResult<XPObjectStubCollection>> GetParentObjectsToDelete()
Returns
GetParentObjectsToSave()
Delegates the call to the SerializableObjectLayer.GetParentObjectsToSave method of an object layer instance passed to the SerializableObjectLayerService‘s constructor and returns the operation result.
public virtual OperationResult<SerializableObjectLayerResult<XPObjectStubCollection>> GetParentObjectsToSave()
Returns
GetParentTouchedClassInfos()
Delegates the call to the SerializableObjectLayer.GetParentTouchedClassInfos method of an object layer instance passed to the SerializableObjectLayerService‘s constructor and returns the operation result.
public virtual OperationResult<string[]> GetParentTouchedClassInfos()
Returns
IsParentObjectToDelete(XPDictionaryStub, XPObjectStub)
Delegates the call to the SerializableObjectLayer.IsParentObjectToDelete method of an object layer instance passed to the SerializableObjectLayerService‘s constructor and returns the operation result.
public virtual OperationResult<bool> IsParentObjectToDelete(XPDictionaryStub dictionary, XPObjectStub theObject)
Parameters
dictionary
XPDictionaryStubtheObject
XPObjectStub
Returns
IsParentObjectToSave(XPDictionaryStub, XPObjectStub)
Delegates the call to the SerializableObjectLayer.IsParentObjectToSave method of an object layer instance passed to the SerializableObjectLayerService‘s constructor and returns the operation result.
public virtual OperationResult<bool> IsParentObjectToSave(XPDictionaryStub dictionary, XPObjectStub theObject)
Parameters
dictionary
XPDictionaryStubtheObject
XPObjectStub
Returns
LoadCollectionObjects(XPDictionaryStub, string, XPObjectStub)
Delegates the call to the SerializableObjectLayer.LoadCollectionObjects method of an object layer instance passed to the SerializableObjectLayerService‘s constructor and returns the operation result.
public virtual OperationResult<SerializableObjectLayerResult<XPObjectStubCollection>> LoadCollectionObjects(XPDictionaryStub dictionary, string refPropertyName, XPObjectStub ownerObject)
Parameters
dictionary
XPDictionaryStubrefPropertyName
stringownerObject
XPObjectStub
Returns
LoadDelayedProperties(XPDictionaryStub, XPObjectStub, string[])
Delegates the call to the corresponding SerializableObjectLayer.LoadDelayedProperties overloaded method of an object layer instance passed to the SerializableObjectLayerService‘s constructor and returns the operation result.
public virtual OperationResult<SerializableObjectLayerResult<object[]>> LoadDelayedProperties(XPDictionaryStub dictionary, XPObjectStub theObject, string[] props)
Parameters
dictionary
XPDictionaryStubtheObject
XPObjectStubprops
string[]
Returns
LoadDelayedProperty(XPDictionaryStub, XPObjectStubCollection, string)
Delegates the call to the corresponding SerializableObjectLayer.LoadDelayedProperties overloaded method of an object layer instance passed to the SerializableObjectLayerService‘s constructor and returns the operation result.
public virtual OperationResult<SerializableObjectLayerResult<object[]>> LoadDelayedProperty(XPDictionaryStub dictionary, XPObjectStubCollection objects, string property)
Parameters
dictionary
XPDictionaryStubobjects
XPObjectStubCollectionproperty
string
Returns
LoadObjects(XPDictionaryStub, ObjectStubsQuery[])
Delegates the call to the SerializableObjectLayer.LoadObjects method of an object layer instance passed to the SerializableObjectLayerService‘s constructor and returns the operation result.
public virtual OperationResult<SerializableObjectLayerResult<XPObjectStubCollection[]>> LoadObjects(XPDictionaryStub dictionary, ObjectStubsQuery[] queries)
Parameters
dictionary
XPDictionaryStubqueries
ObjectStubsQuery[]
Returns
Purge()
Delegates the call to the SerializableObjectLayer.Purge method of an object layer instance passed to the SerializableObjectLayerService‘s constructor and returns the operation result.
public virtual OperationResult<PurgeResult> Purge()
Returns
SelectData(XPDictionaryStub, ObjectStubsQuery, CriteriaOperatorCollection, CriteriaOperatorCollection, CriteriaOperator)
Delegates the call to the SerializableObjectLayer.SelectData method of an object layer instance passed to the SerializableObjectLayerService‘s constructor and returns the operation result.
public virtual OperationResult<object[][]> SelectData(XPDictionaryStub dictionary, ObjectStubsQuery query, CriteriaOperatorCollection properties, CriteriaOperatorCollection groupProperties, CriteriaOperator groupCriteria)
Parameters
dictionary
XPDictionaryStubquery
ObjectStubsQueryproperties
CriteriaOperatorCollectiongroupProperties
CriteriaOperatorCollectiongroupCriteria
CriteriaOperator
Returns
- OperationResult<object[][]>