Table of Contents

Class DatabaseHelper

Namespace
Ecng.Xaml.Database
Assembly
StockSharp.Xaml.dll

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 DatabaseConnectionPair

Connection.

owner DependencyObject

UI owner (in case of showMessageBox is true).

showMessageBox bool

Show UI message.

Returns

bool

Check result.