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.

Namespace:  C1.Data
Assembly:  C1.Data.Entity (in C1.Data.Entity.dll)

Syntax

C#
public void AddRef(
	Type entityType
)
Visual Basic
Public Sub AddRef ( _
	entityType As Type _
)

Parameters

entityType
Type: System..::..Type
An entity type to mark as needed.

See Also