This project has moved. For the latest updates, please go here.

MiniSqlQuery.Core.ApplicationServices

The core services of the application (singleton).
  • Container The Dependency Injection container.
  • HostWindow The application host window.
  • Instance A reference to the singleton instance of the services for this application.
  • Plugins A dictionary of the current plugins for this application.
  • Settings The application settings instance.

MiniSqlQuery.Core.BasicTextFindService

A simple text finding service. Currently supports forward only text matching.

MiniSqlQuery.Core.CommandControlBuilder

Helper class for building controls out of objects.

MiniSqlQuery.Core.CommandManager

Stores instances of commands by type.

MiniSqlQuery.Core.Commands.CommandBase

A basic implementation of the interface. Represents a "command", typically a user action such as saving a file or executing a query. Inheritors must implement the abstract method .

Properties

  • ActiveFormAsEditor Attempts to convert the current host windows active form to MiniSqlQuery.Core.IQueryEditor .
  • Enabled Gets a value indicating whether this MiniSqlQuery.Core.ICommand is enabled.
  • Name The name of the command, used in menus and buttons.
  • Services A reference to the application services to allow access to the other components.
  • ShortcutKeys Gets the menu shortcut keys for this command (e.g. Keys.F5).
  • SmallImage Gets the "small image" associated with this control (for use on buttons or menu items). Use null (or Nothing in Visual Basic) if there is no image.

MiniSqlQuery.Core.ConnectionDefinition

Provides a defition of database connections by provider and name.
  • ConnectionString Gets or sets the connection string.
  • Name Gets or sets the name.
  • ProviderName Gets or sets the name of the provider.

MiniSqlQuery.Core.Controls.ExceptionControl

A basic control for displaying an unhandled exception.

MiniSqlQuery.Core.Controls.PluginListControl

A simple control to display plugin details.

MiniSqlQuery.Core.DatabaseMetaDataService

Creates a simplified view of the database schema for a given provider and connection string.

Properties

MiniSqlQuery.Core.FindTextRequest

A class that encapsulates a "find text" request, storing the position

Properties

  • Position The position of the currently "found" text (or the starting position of the search).
  • SearchUp If true, signals the [] to search "up", otherwise "down".
  • SearchValue The search text.
  • StringComparison The string comparison settings, e.g. case insensitive.
  • TextProvider The search provider. A search request is conducted by the provider, different providers can yield different results, for example plain text or a regular expression searcher.

MiniSqlQuery.Core.IApplicationServices

The core services of the application.
  • Container The Dependency Injection container. This container holds all major application components and plugins. See the "Configuration.xml" file in the main application for settings.
  • HostWindow The application host window.
  • Plugins A dictionary of the current plugins for this application.
  • Settings The application settings instance.

MiniSqlQuery.Core.IApplicationSettings

An interface for the application settings.

MiniSqlQuery.Core.ICommand

Represents a "command", typically a user action such as saving a file or executing a query.
  • Enabled Gets a value indicating whether this MiniSqlQuery.Core.ICommand is enabled.
  • Name The name of the command, used in menus and buttons.
  • Services A reference to the application services to allow access to the other components.
  • ShortcutKeys Gets the menu shortcut keys for this command (e.g. Keys.F5).
  • SmallImage Gets the "small image" associated with this control (for use on buttons or menu items). Use null (or Nothing in Visual Basic) if there is no image.

MiniSqlQuery.Core.IDatabaseInspector

An interface to the query windows database inspector.
  • DbSchema Gets the current database schema info (if any).
  • RightClickedTableName The name of the curent table in the tree view that is being clicked.
  • TableMenu Provides access to the Table context menu strip.

MiniSqlQuery.Core.IFindReplaceProvider

A control that allows its text to be "found" and optionally "replaced". The query editor is an obvious provider but other windows can also provide find/replace functionality by implementing this interface (tools, output windows etc).

Properties

  • CanReplaceText True if the text can be replaced, otherwise false.
  • TextFindService A text finding service.

MiniSqlQuery.Core.IHostWindow

Core functions of the main MDI application host Form.

Properties

  • ActiveChildForm A reference to the active child form.
  • DatabaseInspector A reference to the database inspector window if open.
  • Instance The instance of the host form.
  • ToolStrip Provides access to the host windows tool strip control.

MiniSqlQuery.Core.ImageResource

A strongly-typed resource class, for looking up localized strings, etc.
  • Culture Overrides the current thread's CurrentUICulture property for all resource lookups using this strongly typed resource class.
  • ResourceManager Returns the cached ResourceManager instance used by this class.

MiniSqlQuery.Core.INavigatableDocument

An interface for a "document" that can be navigated with a cursor, e.g. position at line 1, column 4 etc.
  • CursorColumn The current column the cursor is in.
  • CursorLine The current line the cursor is on.
  • TotalLines Gets the total number of lines in the editor.

MiniSqlQuery.Core.IPlugIn

An interface for simple plugins for use in extending Mini SQL Query. Plugins are loaded from DLL's in the working directory matching the pattern "*.PlugIn.dll"

Properties

  • PluginDescription A brief description of the plugin.
  • PluginName The descriptive name of the plugin.
  • RequestedLoadOrder Plugin load order. For external plugins start with values over 1000. This is a simple way of handling dependencies of other services etc.

MiniSqlQuery.Core.IPrintableContent

If implemented it signals that the class supports printing of the "contents" of the object.
  • PrintDocument The document to print (or null if not supported in the current context).

MiniSqlQuery.Core.IQueryEditor

The functions of the editing window.
  • AllText The contetnts of the editor.
  • DataSet The current data displayed in the result window.
  • EditorControl Provides access to the actual editor control.
  • FileName The filename of the docuemnt being edited (can be null, as in not saved yet).
  • IsBusy True if a query is being executed.
  • IsDirty True if the document has unsaved changes.
  • ResultsControl Provides access to the actual results control, each tab contains a data grid view object.
  • SelectedText The currently selected text (if any) in the editor.

MiniSqlQuery.Core.ISupportCursorOffset

A "document" that supports reporting the position of it's cursor

Properties

  • CursorOffset Gets the cursor offset.

MiniSqlQuery.Core.ITextFindService

A text finding serice interface. A window can implement this interface and it will allow searching of its text.

MiniSqlQuery.Core.PlugInComparer

Used for sorting plugins at load time.

MiniSqlQuery.Core.PluginLoaderBase

A simple base class to use for implementing the interface.
  • PluginDescription A brief description of the plugin.
  • PluginName The descriptive name of the plugin.
  • RequestedLoadOrder A lame ordering system. Needs to be replaced with Windsor containter etc.
  • Services A reference to the applications service manager.

Last edited Jun 14, 2009 at 10:02 PM by paulkohler, version 1