Unmark a needed entity type. Calling this method does not release memory.
Namespace:
C1.DataAssembly: C1.Data.Entity (in C1.Data.Entity.dll)
Syntax
C# |
---|
public bool Release( Type entityType ) |
Visual Basic |
---|
Public Function Release ( _ entityType As Type _ ) As Boolean |
Parameters
- entityType
- Type: System..::..Type
An entity type that was marked as needed using AddRef(Type).
Return Value
True if the entity type was unmarked (every Addref was balanced with Release); otherwise, False.Remarks
Calling this method does not release memory until cache cleanup time.