DataFactory | Overloaded. Initializes a new instance of the DataFactory class. |
CacheFilePath | The root path that will be used to look for the statement files for the current provider. When set, the underlying statements are reloaded. |
Connection | returns a reference to the current connection for the selected provider |
Provider | The name of the Provider associated with this DataFactory |
RealProvider | The actual provider instance |
UseCache | Determines whether the statement cache will be used |
BeginTransaction | Begin a new transaction on the connection associated with this DataFactory. This has the affect of opening the connection. It DOES NOT follow that subsequent calls will be on the same transaction however. This feature is under consideration. |
CreateCommand | Overloaded. Replace a Command in the StatementManager with the provided sql statement(CommandType.Text) Under the following conditions, the existing connection will be put on the IDbCommand - the commands connection is null - the type is compatible |
CreateDataAdapter | Setup a data adapter with the given sql statements. These statements are ex |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
ExecuteDataReader | Overloaded. Execute the statement returning a IDataReader of results with a transaction |
ExecuteNonQuery | Overloaded. Execute the given statement with the given input parameters and output parameters |
ExecuteScalar | Overloaded. Execute the given statement and return a single value |
ExecuteXmlReader | Execute the given statement and return an XmlReader with the results |
GetCommand | get a Command for the statement of the given name. It is up to the caller to initialize this Command with connections, parameters etc. Note that this is just a copy of the command in the StatementManager so any changes you make will be isolated to the instance you are working with. |
GetDataSet | Overloaded. Execute the given statement and return the results in a DataSet |
GetDataTable | Overloaded. Execute the given statement and return the results in a datatable |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
ResetConnection | Resets the connection to the providers connection object and the existing connection string. This is a work around the problem that a recording provider used in this datafactory will not have the real provider set until after the initial connection is established which causes the intial connection to be a mock connection when often you would prefer the connectio to be that of the recorded provider. |
SyncDataSet | Synchronize the DataSet with the data store using the data adapter (for completeness only) |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
DataFactory Class | SnapDAL Namespace