C1.Data Namespace > ClientScope Class : AddRef Method |
Overload | Description |
---|---|
AddRef(Object) | Marks an entity as needed. Needed entities are not detached/released from the context until the client scope is disposed. |
AddRef(Type) | Mark all entities of a given type as needed. All entities of that type will not be detached from the context until the client scope is disposed. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2