Class DatabaseHelper
Extensions for Ecng.Xaml.Database.
Namespace: Ecng.Xaml.Database
Assembly: StockSharp.Xaml.dll
Syntax
public static class DatabaseHelper : Object
Properties
Cache
Cache.
Declaration
public static DatabaseConnectionCache Cache { get; }
Property Value
Type | Description |
---|---|
Ecng.Data.DatabaseConnectionCache |
Methods
Verify(DatabaseConnectionPair, DependencyObject, Boolean)
Verify the connection is ok.
Declaration
public static bool Verify(this DatabaseConnectionPair pair, DependencyObject owner, bool showMessageBox = true)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Data.DatabaseConnectionPair | pair | Connection. |
DependencyObject | owner | UI owner (in case of |
Boolean | showMessageBox | Show UI message. |
Returns
Type | Description |
---|---|
Boolean | Check result. |