Class DatabaseHelper
Extensions for Ecng.Xaml.Database.
public static class DatabaseHelper
- Inheritance
-
DatabaseHelper
- Inherited Members
Properties
Connections
Cache.
public static ObservableCollection<DatabaseConnectionPair> Connections { get; }
Property Value
- ObservableCollection<DatabaseConnectionPair>
ProviderRegistry
Names provider.
public static IDatabaseProviderRegistry ProviderRegistry { get; }
Property Value
- IDatabaseProviderRegistry
Storage
Cache.
public static DatabaseConnectionCache Storage { get; }
Property Value
- DatabaseConnectionCache
Methods
Verify(DatabaseConnectionPair, DependencyObject, bool)
Verify the connection is ok.
public static bool Verify(this DatabaseConnectionPair pair, DependencyObject owner, bool showMessageBox = true)
Parameters
pair
DatabaseConnectionPairConnection.
owner
DependencyObjectUI owner (in case of
showMessageBox
is true).showMessageBox
boolShow UI message.
Returns
- bool
Check result.