TechTalk Genome v4.2

TechTalk.Genome Namespace

Classes

ClassDescription
ApplicationServer Used to communicate with a Genome Application Server.
ArrayResultBinder A result binder to return tabular result sets.
ArrayResultBinderFactory<ElementType>
CacheConfiguration Holds settings used to configure the caching aspects of a Context.
Collection<T> Represents a modifiable collection of Ts, acting as one-to-many or many-to-many associations between persistent types.
CommitArgs The arguments of the commit method used while commiting a Context.
CommitEventArgs Provides supplementary information for the Context.BeforeCommitObject and Context.AfterCommitObject events.
CompositeResultBinder An abstract class providing base functionality for ExternalQueryResultBinders returning results of composite types.
ConnectionEventArgs Provides supplementary information for the DataDomain.ConnectionStateChange and Context.ConnectionStateChange events.
Context Encapsulates an access session to all DataDomains.
ContextExtensions
DalException
DataDomain Encapsulates a database catalog instance mapped through Genome .
DataDomainConfiguration Contains configuration settings for creating a DataDomain.
DataDomainExtensions
DataRetrievalConfiguration Holds settings used to configure the data retrieval aspects of a Context.
ExternalQuery Provides convenience methods to retrieve Sets using custom SQL queries.
ExternalQueryResultBinder Defines the base class for result binders of ExternalQuerySet class.
ExternalQuerySet Represents a read-only set of objects returned by an custom SQL command.
GenomeException Base class for any exceptions thrown from Genome .
InternalGenomeException
LocalContext

This area of Genome is subject to change.

Provides factory methods to create new Context instances.
LockingException Thrown to signal an unexpected error during a locking operation.
LockViolationException Thrown to signal that the lock constraints of the locking semantics used was violated.
LruCache Represents a size limited cache that uses the Least Recently Used strategy to select items to remove if the size limit is reached.
ManualInvalidation Represents the manual cache invalidation strategy.
MsSqlServices

This class is used for mapping SQL-Server full-text search capabilities to server-side OQL. It has no usage on the client-side!

Persistent
PersistentResultBinder Binds the result of a custom SQL command to a set of persistent instances.
PredictiveCacheManager Provides services for predictive caching.
PropertyChangeEventArgs

This type or interface supports the Genome infrastructure and is not intended to be used directly from your code.

Provides supplementary information for the IPropertyChangeCallback.OnPropertyChange callback.
QueryCacheManager Provides services for set caching.
ReadOnlyContext
RollbackEventArgs Provides supplementary information for the rollback events.
ScalarResultBinder Binds the result of a custom SQL command to a set of scalar values.
Set Represents a read-only set of objects returned by an OQL expression.
Set<T> Represents a read-only set of objects of type T, returned by an OQL expression.
SetLinqExtensions
SetLinqQueryableExtensions
ShortRunningTransactionContext

This area of Genome is subject to change.

Provides factory methods to create new Context instances.
SimpleCache Represents an unlimited size cache.
Sql Provides utility functions for accessing different SQL features and aggregate functions.
SqlExecutionException Thrown when any errors occur during an actual database operation, wrapping the original SqlException thrown by ADO.NET.
StandardTypeExtensions
TimeoutInvalidation Represents the timeout cache invalidation strategy.
TypeBasedConfiguration

This class supports the Genome infrastructure and is not intended to be used directly from your code.

UpdateEventArgs Provides supplementary information for the Context.BeforeUpdateObject and Context.AfterUpdateObject events.
UpdateMethod

Interfaces

InterfaceDescription
IAfterCommitCallback Provides an interface for persistent objects to handle the Context.AfterCommitObject event.
IAfterRollbackCallback Provides an interface for persistent objects to handle the Context.AfterRollbackObject event.
IAfterUpdateCallback Provides an interface for persistent objects to handle the Context.AfterUpdateObject event.
IBeforeCommitCallback Provides an interface for persistent objects to handle the Context.BeforeCommitObject event.
IBeforeRollbackCallback Provides an interface for persistent objects to handle the Context.BeforeRollbackObject event.
IBeforeUpdateCallback Provides an interface for persistent objects to handle the Context.BeforeUpdateObject event.
ICacheFactory Used in CacheConfiguration.Add and DataDomainConfiguration.TypeIdentityCache to specify the cache to be used.
ICacheInvalidationStrategyFactory Used to configure the invalidation strategy of a cache.
IChangeCallback Provides an interface for persistent objects to handle the Context.ChangeObject event.
ICompositeResultBinderFactory
IContext Provides generic interface for encapsulating an access session to all DataDomains.
IContextBoundObject

This type or interface supports the Genome infrastructure and is not intended to be used directly from your code.

IContextBoundProxy

This type or interface supports the Genome infrastructure and is not intended to be used directly from your code.

IContextStackBinder

This interface supports the Genome infrastructure and is not intended to be used directly from your code.

IDataDomain Provides generic interface for encapsulating a database catalog instance mapped through Genome.
IDataDomainBoundObject

This type or interface supports the Genome infrastructure and is not intended to be used directly from your code.

IDeleteCallback Provides an interface for persistent objects to handle the Context.DeleteObject event.
ILoadCallback Provides an interface for persistent objects to handle the Context.LoadObject event.
IObjectProxy

This type or interface supports the Genome infrastructure and is not intended to be used directly from your code.

IObjectReference

This type or interface supports the Genome infrastructure and is not intended to be used directly from your code.

Encapsulates delay loaded reference to a persistent object.
IPropertyChangeCallback Provides an interface for persistent objects to receive a callback before the value of a property is changed for the first time within a transaction.

Delegates

DelegateDescription
CommitEventHandler Provides a callback interface for handling events raised while committing a logical transaction in a Context.
ObjectEventHandler Provides a callback interface for handling general purpose persistent object life-cycle events provided by the Context.
RollbackEventHandler Provides a callback interface for handling events raised while rolling back a logical transaction in a Context.
UpdateEventHandler Provides a callback interface for handling events related to update batches performed by the Context during logical transactions.

Enumerations

EnumerationDescription
CommitResults Specifies a value indicating a transactional operation being performed on a certain persistent object.
ContextType
DatabaseConnectionEvent Specifies a connection or transaction state change event.
GetRangeMethod Specifies hint to Set.GetRange and Set.GetRange that controls the query building method for producing the range.
LockCommitMode Specifies a value indicating how to handle the locks kept on objects after successfully commiting a Context.
OrderDirection Specifies a value controlling element order in order clauses.
SharingMode Specifies how shared object state information should be stored in a given Context.
TransactionSpawnMethod Specifies the transaction spawning behaviour for a specific Context.
UnionMethod Specifies hint to Set.Union that controls the query building method for Set unions.
UpdateEvents Specifies a value indicating how the object is or has been updated to its DataDomain.