ClassObjectContainer
Definition
Namespace:Telerik.OpenAccess
Assembly:Telerik.OpenAccess.dll
Syntax:
public class ObjectContainer : ObjectRepository, ReferenceCollector, IObjectContext
Inheritance: objectObjectContainer
Implements:
Constructors
ObjectContainer()
Declaration
public ObjectContainer()
Properties
AutoSync
Declaration
public bool AutoSync { get; set; }
Property Value
bool
Count
Declaration
public int Count { get; }
Property Value
int
DBConnection
Declaration
public IDBConnection DBConnection { get; set; }
Property Value
IsReadOnly
Declaration
public bool IsReadOnly { get; set; }
Property Value
bool
Tracking
Declaration
public ITracking Tracking { get; }
Property Value
Implements
Transaction
Declaration
public ITransaction Transaction { get; }
Property Value
Implements
Methods
Add(object)
Declaration
public void Add(object obj)
Parameters
obj
object
Implements
Apply(ChangeSet)
Declaration
public IObjectId[] Apply(ObjectContainer.ChangeSet changes)
Parameters
changes
Returns
Apply(ChangeSet, bool)
Declaration
public IObjectId[] Apply(ObjectContainer.ChangeSet changes, bool force)
Parameters
changes
force
bool
Returns
ChangeObjectId(object, IObjectId)
Declaration
public void ChangeObjectId(object persistentObject, IObjectId newIdObj)
Parameters
persistentObject
object
newIdObj
CommitChanges(ChangeSet, Verify, IObjectScope, bool, bool)
Declaration
public static ObjectContainer.ChangeSet CommitChanges(ObjectContainer.ChangeSet changes, ObjectContainer.Verify verifyMode, IObjectScope targetScope, bool allFields, bool generateUpdateChanges)
Parameters
changes
verifyMode
targetScope
allFields
bool
generateUpdateChanges
bool
Returns
Contains(object)
Declaration
public bool Contains(object obj)
Parameters
obj
object
Returns
bool
CopyFrom(IObjectScope, string, object, IObjectCollector)
Declaration
public void CopyFrom(IObjectScope objectScope, string listName, object objectToBeAdded, IObjectCollector objectCollector)
Parameters
objectScope
listName
string
objectToBeAdded
object
objectCollector
CopyTo(IObjectScope, Verify)
Declaration
public void CopyTo(IObjectScope objectScope, ObjectContainer.Verify verifyMode)
Parameters
objectScope
verifyMode
CopyTo(IObjectScope, Verify, bool)
Declaration
public void CopyTo(IObjectScope objectScope, ObjectContainer.Verify verifyMode, bool allFields)
Parameters
objectScope
verifyMode
allFields
bool
CopyTo(IObjectScope, Verify, bool, FetchPlan)
Declaration
public void CopyTo(IObjectScope objectScope, ObjectContainer.Verify verifyMode, bool allFields, FetchPlan fetchPlan)
Parameters
objectScope
verifyMode
allFields
bool
fetchPlan
CopyToWithUpdate(IObjectScope, Verify, bool)
Declaration
public void CopyToWithUpdate(IObjectScope targetScope, ObjectContainer.Verify verifyMode, bool allFields)
Parameters
targetScope
verifyMode
allFields
bool
Evict(object)
Declaration
public void Evict(object persistent)
Parameters
persistent
object
Implements
Extent(Type)
Declaration
public IList Extent(Type type)
Parameters
type
Type
Returns
IList
Extent<T>()
Declaration
public IList<T> Extent<T>()
Returns
IList<T>
GetChanges(Verify)
Declaration
public ObjectContainer.ChangeSet GetChanges(ObjectContainer.Verify verificationMode)
Parameters
verificationMode
Returns
GetContent()
Declaration
public ObjectContainer.ChangeSet GetContent()
Returns
GetListNames()
Declaration
public IEnumerator GetListNames()
Returns
IEnumerator
GetObjectById(IObjectId)
Declaration
public object GetObjectById(IObjectId oid)
Parameters
oid
Returns
object
Implements
GetObjectById<T>(IObjectId)
Declaration
public T GetObjectById<T>(IObjectId objectId)
Parameters
objectId
Returns
T
Implements
GetObjectId(object)
Declaration
public IObjectId GetObjectId(object persistentObject)
Parameters
persistentObject
object
Returns
Implements
GetPersistentVersion(object)
Declaration
public object GetPersistentVersion(object verifiable)
Parameters
verifiable
object
Returns
object
IsDirty(object)
Declaration
public bool IsDirty(object persistentObject)
Parameters
persistentObject
object
Returns
bool
Implements
IsDirty(object, string)
Declaration
public bool IsDirty(object persistentObject, string fieldName)
Parameters
persistentObject
object
fieldName
string
Returns
bool
Implements
IsHollow(object)
Declaration
public bool IsHollow(object persistentObject)
Parameters
persistentObject
object
Returns
bool
Implements
IsNew(object)
Declaration
public bool IsNew(object persistentObject)
Parameters
persistentObject
object
Returns
bool
Implements
IsRemoved(object)
Declaration
public bool IsRemoved(object persistentObject)
Parameters
persistentObject
object
Returns
bool
Implements
MakeDirty(object, string)
Declaration
public void MakeDirty(object persistentObject, string fieldName)
Parameters
persistentObject
object
fieldName
string
Implements
MarkContentAsNew()
Declaration
public void MarkContentAsNew()
NamedList(string)
Declaration
public IList NamedList(string listName)
Parameters
listName
string
Returns
IList
NamedList(string, bool)
Declaration
public IList NamedList(string listName, bool implicitCreate)
Parameters
listName
string
implicitCreate
bool
Returns
IList
NamedList<T>(string)
Declaration
public IList<T> NamedList<T>(string listName)
Parameters
listName
string
Returns
IList<T>
NamedList<T>(string, bool)
Declaration
public IList<T> NamedList<T>(string listName, bool implicitCreate)
Parameters
listName
string
implicitCreate
bool
Returns
IList<T>
Remove(object)
Declaration
public void Remove(object persistent)
Parameters
persistent
object
Implements
SetPersistentVersion(object, object)
Declaration
public void SetPersistentVersion(object verifiable, object version)
Parameters
verifiable
object
version
object
ToString()
Declaration
public override string ToString()
Returns
string
Overrides
Events
ResolveProxy
Declaration
public event ObjectContainer.ResolveProxyEventHandler ResolveProxy
Event Value