| Type | Description |
|---|
AbortedSharedTransactionException |
Exception used to indicate aborted shared transactions |
ContextSharingRestrictionViolatedException |
Occurs in scenarios where context sharing is required, but the contexts don't match |
DataHelper |
This static class provides methods that may be useful for data related tasks |
DataService |
Business objects use this class to connect to a data service.
This is an abstract class that is not meant to be used directly.
Instead, the DataServiceFactory class will instantiate a subclass
of this class, depending on the actual configuration of the factory.
Individual subclasses could connect to different data sources in different
ways, such as a direct connection to SQL Server, or a connection
to a web service, and the like. |
DataServiceFactory |
This class can be used to instantiate a DataService class. The class that will be instantiated
depends on the current system configuration. |
DataServiceInitiationEventArgs |
Data service initiation event arguments |
DataServiceInstantiationException |
This exception fires whenever the factory fails to instantiate a
data service object for an unknown reason. The original exception
(if it exists) is exposed through the OriginalException property. |
FacadeInstantiationException |
This exception is thrown when the data service fails to instantiate a certain facade. |
MissingDataConfigurationException |
This exception gets raised when the data service tries to read configuration settings
from the application's configuration file that wasn't there. |
NonQueryEventArgs |
Non-query event arguments |
QueryEventArgs |
Query event arguments |
ScalarEventArgs |
Scalar query event arguments |
SharedDataContext |
This class provides an abstraction of data connection
information that is free of database semantics when used.
This object can be used to associate multiple database
operations with each other. For instance, it can be used
to span transactions over multiple business objects,
without exposing database functionality on the business object. |
StoredProcedureFacade |
Base class for a stored procedure facade |
UnknownProcedureException |
This exception is thrown by the stored procedure facade when it
is asked to execute a simulated stored procedure that does not exist
as a method on the facade. |
UnsupportedCommandObjectException |
This exception gets raised whenever a command object is passed to a method
that expects a different command object. For instance, this could happen
when a method that expects an SqlCommand object receives an OracleCommand object. |
UnsupportedCommandTypeException |
This exception is thrown whenever a command of the wrong type is executed.
For instance, this exception may be thrown whenever a stored procedure facade
is asked to execute a dynamic SQL statement. |
UnsupportedProcessMethodException |
This exception is thrown whenever a data service is asked to update/process
a data source using a method that is not supported (such as trying to
update a MySql database through stored procedures). |
DataServiceInitiationEventHandler |
used for the DataServiceInitiation event. |
ExecuteNonQueryDelegate |
used to invoke the ExecuteNonQuery method async |
ExecuteQueryDelegate |
used to invoke the ExecuteQuery method async |
ExecuteScalarDelegate |
used to invoke the ExecuteScalar method async |
NonQueryEventHandler |
used to define all sorts of scalar data query events |
QueryEventHandler |
used to define all sorts of data query events |
ScalarEventHandler |
used to define all sorts of scalar data query events |
AllowedDataAccessMethod |
Defines which data access methods are allowed in the current scenario.
Example: If the allowed method is "StoredProcedures" and someone tries
to execute an individual SELECT command, the data service will not
execute the call. |
ContextSharingRestriction |
Defines what restrictions are to be applied when data contexts are shared. |
DataRowProcessMethod |
Defines how update commands are generated for a certain data source |
DataRowUpdateMode |
Defines what records to update on the database back end |
DataServiceConnectionStatus |
This enum defines the status of each data service. This information
can be used to provide connection information to the user. |
KeyType |
Defines supported primary key types |
TransactionStatus |
What is the status of the current transaction? |
IDataService |
This interface represents the most basic incarnation of an EPS Data Service.
It can be implemented at a low level, without having to subclass any of the
abstract or solid data service classes in our framework. |
IStoredProcedureFacade |
Basic facade interface for a stored procedure facade |
IStoredProcedureFacadeService |
Service extension interface for data services that support
a stored procedure facade |