DataSource for Entity Framework in WPF
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 Type _
    ) As Boolean
    public bool Release( 
       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