IEwEDataSource Interface |
Namespace: EwECore.DataSources
The IEwEDataSource type exposes the following members.
Name | Description | |
---|---|---|
Connection |
Get the connection to the data (file, database, stream, other?) that
this data source operates on.
|
Name | Description | |
---|---|---|
BeginTransaction |
Start a database transaction.
| |
CanCompact |
States whether the data source is able to compact.
| |
ClearChanged |
Clears any modified flags (use with care!)
| |
Close |
Close the data source connection
| |
Compact |
Compact a database.
| |
Create |
Create the data source connection, possibly overwriting an existing data source
| |
Directory |
Get the directory associated with a data source.
| |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
EndTransaction |
End a database transaction.
| |
Extension |
Get the file extension associated with a data source.
| |
FileName |
Get the file name associated with a data source.
| |
IsModified |
States whether the data source has unsaved changes.
| |
IsOpen |
States whether a data source is already open.
| |
IsOSSupported |
States whether the operating system supports a given type of EwE
data source.
| |
IsReadOnly |
States whether the data source can be edited.
| |
Open |
Open an existing data source connection
| |
SetChanged |
Flag a core object as changed in the data source. The data source
will consult this information when performing incremental saves.
| |
ToString |
Get the name of the connection to the data (file, database, stream,
other?) that this data source operates on.
| |
Version |
Returns the version of the data source.
|
All data access must be implemented through this interface.
New Data Sources can be added by inheriting from this interface.