- All Known Implementing Classes:
BinaryPersistenceFoundation.Default
, EmbeddedStorageConnectionFoundation.Default
, EmbeddedStorageFoundation.Default
, EmbeddedStorageManager.Default
, PersistenceFoundation.Default
, PersistenceManager.Default
, StorageChannel.Default
, StorageConnection.Default
, StorageEntityCache.Default
, StorageFoundation.Default
, StorageManager.Default
public interface Unpersistable
Marks a type as being unpersistence. Encountering such a type in the dynamic persistence type analysis will cause
a validation exception.
This type is very useful as a safety net to prevent instances of types that may never end up in a
persistent context (database or serialized byte strem) from being persisted.
The naming (missing "Persistence" prefix) is intentional to support convenience on the application code level.