Some basic helper functions.
| C# | Visual Basic | Visual C++ |
public static class Utility
Public NotInheritable Class Utility
public ref class Utility abstract sealed
| All Members | Methods | ||||
| Icon | Member | Description |
|---|---|---|
| CreateConnectionStringsIfRequired()()() |
Writes a default file if none present.
| |
| GetConnectionStringFilename()()() |
Resolves the full filename of the connection string file, by default in the application data folder
for "MiniSqlQuery", e.g. "C:\Users\(username)\AppData\Roaming\MiniSqlQuery\connections.xml".
Allows for the override vis the "MiniSqlQuery.Core.dll.config" file "DefaultConnectionDefinitionFilename"
setting.
| |
| GetSqlProviderNames()()() |
Returns an array of SQL provider types supported by the current platform.
| |
| LoadConnections()()() |
Loads the connection string data from the file.
| |
| LoadDbConnectionDefinitions()()() |
Loads the db connection definitions from an XML file.
| |
| MakeSqlFriendly(String) | ||
| SaveConnections(DbConnectionDefinitionList) |
Saves the definitionList to the connection string file.
| |
| ShowUrl(String) |
Shows the URL in the defaut browser.
| |
| ToXml<(Of <(T>)>)(T) |
Serializes the obj.
|
| Object | |
| Utility | |