Table of Contents

Class SerializableObjectLayerProxyBase

Namespace
DevExpress.Xpo.DB
Assembly
DevExpress.Xpo.v24.1.dll

The base class for SerializableObjectLayer proxies.

public abstract class SerializableObjectLayerProxyBase : ISerializableObjectLayer, ISerializableObjectLayerProvider, ISerializableObjectLayerEx, ICommandChannel
Inheritance
SerializableObjectLayerProxyBase
Implements
ICommandChannel
Inherited Members

Constructors

SerializableObjectLayerProxyBase()

protected SerializableObjectLayerProxyBase()

Properties

CanLoadCollectionObjects

Obtains the value from the SerializableObjectLayer.CanLoadCollectionObjects property of an object layer instance returned by the SerializableObjectLayerProxyBase.GetObjectLayer method implementation.

[Browsable(false)]
public virtual bool CanLoadCollectionObjects { get; }

Property Value

bool

ObjectLayer

Obtains the value from the SerializableObjectLayer.ObjectLayer property of an object layer instance returned by the SerializableObjectLayerProxyBase.GetObjectLayer method implementation.

[Browsable(false)]
public virtual ISerializableObjectLayer ObjectLayer { get; }

Property Value

ISerializableObjectLayer

Methods

CommitObjects(XPDictionaryStub, XPObjectStubCollection, XPObjectStubCollection, LockingOption)

Delegates the call to the SerializableObjectLayer.CommitObjects method of an object layer instance returned by the SerializableObjectLayerProxyBase.GetObjectLayer method implementation.

public virtual CommitObjectStubsResult[] CommitObjects(XPDictionaryStub dictionary, XPObjectStubCollection objectsForDelete, XPObjectStubCollection objectsForSave, LockingOption lockingOption)

Parameters

dictionary XPDictionaryStub
objectsForDelete XPObjectStubCollection
objectsForSave XPObjectStubCollection
lockingOption LockingOption

Returns

CommitObjectStubsResult[]

CreateObjectType(string, string)

Delegates the call to the SerializableObjectLayer.CreateObjectType method of an object layer instance returned by the SerializableObjectLayerProxyBase.GetObjectLayer method implementation.

public virtual void CreateObjectType(string assemblyName, string typeName)

Parameters

assemblyName string
typeName string

Do(string, object)

Delegates the call to the corresponding method of an object layer instance returned by the SerializableObjectLayerProxyBase.GetObjectLayer method implementation.

public virtual object Do(string command, object args)

Parameters

command string
args object

Returns

object

GetObjectLayer()

protected abstract SerializableObjectLayer GetObjectLayer()

Returns

SerializableObjectLayer

GetObjectsByKey(XPDictionaryStub, GetObjectStubsByKeyQuery[])

Delegates the call to the SerializableObjectLayer.GetObjectsByKey method of an object layer instance returned by the SerializableObjectLayerProxyBase.GetObjectLayer method implementation.

public virtual SerializableObjectLayerResult<XPObjectStubCollection[]> GetObjectsByKey(XPDictionaryStub dictionary, GetObjectStubsByKeyQuery[] queries)

Parameters

dictionary XPDictionaryStub
queries GetObjectStubsByKeyQuery[]

Returns

SerializableObjectLayerResult<XPObjectStubCollection[]>

GetParentObjectsToDelete()

Delegates the call to the SerializableObjectLayer.GetParentObjectsToDelete method of an object layer instance returned by the SerializableObjectLayerProxyBase.GetObjectLayer method implementation.

public virtual SerializableObjectLayerResult<XPObjectStubCollection> GetParentObjectsToDelete()

Returns

SerializableObjectLayerResult<XPObjectStubCollection>

GetParentObjectsToSave()

Delegates the call to the SerializableObjectLayer.GetParentObjectsToSave method of an object layer instance returned by the SerializableObjectLayerProxyBase.GetObjectLayer method implementation.

public virtual SerializableObjectLayerResult<XPObjectStubCollection> GetParentObjectsToSave()

Returns

SerializableObjectLayerResult<XPObjectStubCollection>

GetParentTouchedClassInfos()

Delegates the call to the SerializableObjectLayer.GetParentTouchedClassInfos method of an object layer instance returned by the SerializableObjectLayerProxyBase.GetObjectLayer method implementation.

public virtual string[] GetParentTouchedClassInfos()

Returns

string[]

IsParentObjectToDelete(XPDictionaryStub, XPObjectStub)

Delegates the call to the SerializableObjectLayer.IsParentObjectToDelete method of an object layer instance returned by the SerializableObjectLayerProxyBase.GetObjectLayer method implementation.

public virtual bool IsParentObjectToDelete(XPDictionaryStub dictionary, XPObjectStub theObject)

Parameters

dictionary XPDictionaryStub
theObject XPObjectStub

Returns

bool

IsParentObjectToSave(XPDictionaryStub, XPObjectStub)

Delegates the call to the SerializableObjectLayer.IsParentObjectToSave method of an object layer instance returned by the SerializableObjectLayerProxyBase.GetObjectLayer method implementation.

public virtual bool IsParentObjectToSave(XPDictionaryStub dictionary, XPObjectStub theObject)

Parameters

dictionary XPDictionaryStub
theObject XPObjectStub

Returns

bool

LoadCollectionObjects(XPDictionaryStub, string, XPObjectStub)

Delegates the call to the SerializableObjectLayer.LoadCollectionObjects method of an object layer instance returned by the SerializableObjectLayerProxyBase.GetObjectLayer method implementation.

public virtual SerializableObjectLayerResult<XPObjectStubCollection> LoadCollectionObjects(XPDictionaryStub dictionary, string refPropertyName, XPObjectStub ownerObject)

Parameters

dictionary XPDictionaryStub
refPropertyName string
ownerObject XPObjectStub

Returns

SerializableObjectLayerResult<XPObjectStubCollection>

LoadDelayedProperties(XPDictionaryStub, XPObjectStub, string[])

Delegates the call to the corresponding SerializableObjectLayer.LoadDelayedProperties overloaded method of an object layer instance returned by the SerializableObjectLayerProxyBase.GetObjectLayer method implementation.

public virtual SerializableObjectLayerResult<object[]> LoadDelayedProperties(XPDictionaryStub dictionary, XPObjectStub theObject, string[] props)

Parameters

dictionary XPDictionaryStub
theObject XPObjectStub
props string[]

Returns

SerializableObjectLayerResult<object[]>

LoadDelayedProperties(XPDictionaryStub, XPObjectStubCollection, string)

Delegates the call to the corresponding SerializableObjectLayer.LoadDelayedProperties overloaded method of an object layer instance returned by the SerializableObjectLayerProxyBase.GetObjectLayer method implementation.

public virtual SerializableObjectLayerResult<object[]> LoadDelayedProperties(XPDictionaryStub dictionary, XPObjectStubCollection objects, string property)

Parameters

dictionary XPDictionaryStub
objects XPObjectStubCollection
property string

Returns

SerializableObjectLayerResult<object[]>

LoadObjects(XPDictionaryStub, ObjectStubsQuery[])

Delegates the call to the SerializableObjectLayer.LoadObjects method of an object layer instance returned by the SerializableObjectLayerProxyBase.GetObjectLayer method implementation.

public virtual SerializableObjectLayerResult<XPObjectStubCollection[]> LoadObjects(XPDictionaryStub dictionary, ObjectStubsQuery[] queries)

Parameters

dictionary XPDictionaryStub
queries ObjectStubsQuery[]

Returns

SerializableObjectLayerResult<XPObjectStubCollection[]>

Purge()

Delegates the call to the SerializableObjectLayer.Purge method of an object layer instance returned by the SerializableObjectLayerProxyBase.GetObjectLayer method implementation.

public virtual PurgeResult Purge()

Returns

PurgeResult

SelectData(XPDictionaryStub, ObjectStubsQuery, CriteriaOperatorCollection, CriteriaOperatorCollection, CriteriaOperator)

Delegates the call to the SerializableObjectLayer.SelectData method of an object layer instance returned by the SerializableObjectLayerProxyBase.GetObjectLayer method implementation.

public virtual object[][] SelectData(XPDictionaryStub dictionary, ObjectStubsQuery query, CriteriaOperatorCollection properties, CriteriaOperatorCollection groupProperties, CriteriaOperator groupCriteria)

Parameters

dictionary XPDictionaryStub
query ObjectStubsQuery
properties CriteriaOperatorCollection
groupProperties CriteriaOperatorCollection
groupCriteria CriteriaOperator

Returns

object[][]