Table of Contents

Class XPCollectionHelper

Namespace
DevExpress.Xpo.Helpers
Assembly
DevExpress.Xpo.v24.1.dll
public class XPCollectionHelper
Inheritance
XPCollectionHelper
Derived
Inherited Members

Constructors

XPCollectionHelper(XPBaseCollection)

public XPCollectionHelper(XPBaseCollection owner)

Parameters

owner XPBaseCollection

Fields

ObjectClassInfo

public XPClassInfo ObjectClassInfo

Field Value

XPClassInfo

ParentCollection

protected readonly XPBaseCollection ParentCollection

Field Value

XPBaseCollection

Session

public Session Session

Field Value

Session

Properties

FetchObjectsClassInfo

public virtual XPClassInfo FetchObjectsClassInfo { get; }

Property Value

XPClassInfo

IntObjList

public virtual ICollection IntObjList { get; }

Property Value

ICollection

LoadCollectionOnModify

public bool LoadCollectionOnModify { get; }

Property Value

bool

LoadCollectionOnModifyCore

protected virtual bool LoadCollectionOnModifyCore { get; }

Property Value

bool

ObjList

public IList ObjList { get; }

Property Value

IList

Methods

Add(object)

public virtual int Add(object newObject)

Parameters

newObject object

Returns

int

BeforeAfterRemove(object)

public virtual void BeforeAfterRemove(object theObject)

Parameters

theObject object

ClearObjList()

public void ClearObjList()

GetContentWithoutQueryIfPossible()

public virtual IEnumerable GetContentWithoutQueryIfPossible()

Returns

IEnumerable

GetContentWithoutQueryIfPossibleAsync(CancellationToken)

public virtual Task<IEnumerable> GetContentWithoutQueryIfPossibleAsync(CancellationToken cancellation)

Parameters

cancellation CancellationToken

Returns

Task<IEnumerable>

GetHardcodedCriterion()

public virtual CriteriaOperator GetHardcodedCriterion()

Returns

CriteriaOperator

InternalAddObject(object)

public virtual int InternalAddObject(object newObject)

Parameters

newObject object

Returns

int

IsThereForDelete(object)

public virtual bool IsThereForDelete(object theObject)

Parameters

theObject object

Returns

bool

KickOutCancelledAddNew(object)

public virtual void KickOutCancelledAddNew(object sender)

Parameters

sender object

PatchCriteriaFromUserToFetch(CriteriaOperator)

public virtual CriteriaOperator PatchCriteriaFromUserToFetch(CriteriaOperator fetchCriteria)

Parameters

fetchCriteria CriteriaOperator

Returns

CriteriaOperator

PatchLoadedCollectionWithChangesWhileNotLoaded(IEnumerable)

public virtual IEnumerable PatchLoadedCollectionWithChangesWhileNotLoaded(IEnumerable objects)

Parameters

objects IEnumerable

Returns

IEnumerable

Reload()

public virtual void Reload()

Remove(object)

public virtual void Remove(object theObject)

Parameters

theObject object