[]
Unmark a needed entity.
public bool Release(object entity)
| Type | Name | Description |
|---|---|---|
| object | entity | An entity that was marked as needed using AddRef(object). |
| Type | Description |
|---|---|
| bool | True if the |
Calling this method does not release memory by itself. The entity becomes unneeded, so it can be disposed of at cache cleanup time.
Unmark a needed entity type. Calling this method does not release memory.
public bool Release(Type entityType)
| Type | Name | Description |
|---|---|---|
| Type | entityType | An entity type that was marked as needed using AddRef(Type). |
| Type | Description |
|---|---|
| bool | True if the entity type was unmarked (every Addref was balanced with Release); otherwise, False. |
Calling this method does not release memory until cache cleanup time.