This namespace contains the most common classes to access the functionality of the framework. It contains the classes to load or save data from/to the storage, attributes to map a class to an entity and properties to fields and a lot other common used classes.
| Class | Description |
|---|---|
| BeforeObjectPersistingEventArgs | EventArgs used in the ObjectContext events that are invoked before the persist process of an object. |
| Blob | Represents a BLOb (binary large object). |
| ConstraintException | Exception is thrown if a property marked as mandatory (AllowDBNull is false) is tried to be saved with a value that corresponds DBNull (for example null). |
| FetchingStorageRecordEventArgs | EventArgs used in the PersistentTypeSelector delegate and events using the PersistentTypeSelector delegate. |
| FieldAttribute | This attribute is used to connect a property with a field in the storage. |
| Generic ID | Class that represents an identifier in the storage. |
| InvalidTypeException | Exception is thrown if a type in the storage is not supported by framework. |
| MarkForDeletionEventArgs | EventArgs used in the ObjectContext event that is invoked after marking an object for deletion. |
| ObjectContext | Represents the context that manages, loads, saves and deletes persistent objects. |
| ObjectContextFactory | Class that represents a factory class for ObjectContext instances. Use the ObjectContext's static Factory property to get an instance. |
| ObjectContextFactoryPolicyBase | Class that represents the ObjectContextFactory's policy base class. It needs to be implemented by policies and holds the logic for creating new ObjectContext instances. |
| ObjectInfo | Implements all information that are required to remote or persist a persistent object to any kind of device. |
| ObjectLoadedEventArgs | EventArgs used in the ObjectContext events that are invoked after the load process of an object. |
| ObjectLoadingEventArgs | EventArgs used in the ObjectContext events that are invoked before the load process of an object. |
| ObjectNotificationEventArgs | EventArgs used in the IObjectNotification interface. |
| ObjectPersistedEventArgs | EventArgs used in the ObjectContext events that are invoked after the persist process of an object. |
| ObjectPersistingEventArgs | EventArgs used in the ObjectContext events that are invoked before the persist process of an object. |
| Generic ObjectReader | Provides a way of reading a forward-only stream of objects from a data source. |
| Generic ObjectSearcher | Allows to search in the storage for persistent objects of a certain type. |
| Generic ObjectSet | Represents an in-memory cache of persistent objects. |
| Generic ObjectView | Represents a databindable, customized view of an ObjectSet for sorting, filtering, searching, editing, and navigation. |
| PersistentAttribute | Marks a class as a persistent object. |
| PersistentQueriesProvidersCollection | This class holds a list of IPersistentQueriesProviders. |
| PersistingTrace | Class that stores information about recently saved persistent objects. |
| PerThreadObjectContextFactoryPolicy | This class creates a new ObjectContext instance for each thread that is calling ObjectContextFactory's GetContext method. |
| RelationsNotificationEventArgs | EventArgs used in the IRelationsNotification interface. |
| SingleCallObjectContextFactoryPolicy | This class creates a new ObjectContext instance on each call of the ObjectContextFactory's GetContext method. |
| Tracing | Class that traces the different operations of the framework. |
| Interface | Description |
|---|---|
| ICustomPersister | This interface is implemented by classes that want do their save and load in a special mode. |
| IDynamicExtensible | This interface is implemented by classes that want be dynamically extensible. |
| IDynamicPopulateHelper | This interface that is implemented by objects that are populated without reflection. |
| IObjectNotification | This interface is implemented by classes that need information on each change of their state. |
| IPartialPersist | This interface that is implemented by objects that are partually persisted. |
| IPersistentFactory | Interface implemented by classes that create persistent object instances. |
| IPersistentQueriesProvider | An interface that is implemented to create custom queries for a persistent object's insert, update and delete operations. |
| IPersistentTypeSelector | This interface is implemented if a persistent wants to create persistent types depending on the content of the current data record. |
| IPopulateHelper | This interface that is implemented by objects that are populated manually. |
| IPopulateHelperExtended | This interface that is implemented by objects that are populated manually. |
| IRelationsNotification | This interface is implemented by classes that need information on the persist of related persistent objects. |
| IRelationsPopulateHelper | Interface that is implemented to control the way how relations are loaded. |
| ISelfContainingObject | A class implementing this interface is self containing (manages the state by itself) and can be remoted or persisted to any kind of device without problems. |
| IUserDefinedType | Interface implemented by user-defined types (types that are not directly supported by the storage). |
| Delegate | Description |
|---|---|
| ObjectContextFactoryCreatorDelegate | This delegate is invoked by the ObjectContextFactory to create a new ObjectContext instance. It must always return a new instance of an ObjectContext. |
| PersistentTypeSelector | Allows to specify a method that is invoked each time before a persistent object is created. |
| Enumeration | Description |
|---|---|
| ObjectStates | Defines the state of a persistent object in memory. |
| PersistBehaviours | The member of this enumeration mark and enhance properties with special behaviour applied during the save process of a persistent object. |
| PersistDepths | Allows to specify the depth of the loaded object graph that is persisted during the save process. |
| PersistentOperations | This enumeration holds all operations that are available on a persistent object. |
| PersistentRights | The member of this enumeration mark a persistent object with certain rights. |