ComponentOne Data Source for Entity Framework
C1.Data Namespace / ClientScope Class / Release Method / Release(Type) Method
An entity type that was marked as needed using AddRef(Type).

In This Topic
    Release(Type) Method
    In This Topic
    Unmark a needed entity type. Calling this method does not release memory.
    Syntax
    'Declaration
     
    
    Public Overloads Function Release( _
       ByVal entityType As System.Type _
    ) As System.Boolean
    public System.bool Release( 
       System.Type entityType
    )

    Parameters

    entityType
    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.
    See Also