SQLite.Designer
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
The purpose of this class is to provide context menus and event support when designing a
SQLite DataSet. Most of the functionality is implemented by MS's VSDesigner object which we
instantiate through reflection since I don't really have a design-time reference to the object
and many of the objects in VSDesigner are internal.
Empty constructor
Initialize the designer by creating a SqlDataAdapterDesigner and delegating most of our
functionality to it.
We extend support for DbDataAdapter-derived objects
The object wanting to be extended
Whether or not we extend that object
Forwards to the SqlDataAdapterDesigner object
Forwards to the SqlDataAdapterDesigner object
This object provides a designer for a SQLiteCommand. The reason we provide an additional
CommandDesignTimeVisible property is because certain MS designer components will look for it and
fail if its not there.
Initialize the instance with the given SQLiteCommand component
Add our designtimevisible attribute to the attributes for the item
Provide a get method for the CommandDesignTimeVisible provided property
The SQLiteCommand we're designing for
True or false if the object is visible in design mode
Provide a set method for our supplied CommandDesignTimeVisible property
The SQLiteCommand to set
The new designtime visible property to assign to the command
We extend any DbCommand
The object being tested
True if the object derives from DbCommand
This method executes a specified command, potentially based
on parameters passed in from the data view support XML.
Provides rudimentary connectionproperties support
This class provides connectionstring editing support in the properties window when
using a SQLiteConnection as a toolbox component on a form (for example).
In order to provide the dropdown list, unless someone knows a better way, I have to use
the internal VsConnectionManager class since it utilizes some interfaces in the designer
that are internal to the VSDesigner object. We instantiate it and utilize it through reflection.
Provides a UI to edit/create SQLite database connections
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
Provides a toolboxitem for a SQLiteDataAdapter. This is required in order for us to
pop up the connection wizard when you drop the tool on a form, and to create the hidden commands
that are assigned to the data adapter and keep them hidden. The hiding at runtime of the controls
is accomplished both here during the creation of the components and in the SQLiteCommandDesigner
which provides properties to hide the objects when they're supposed to be hidden.
The connection wizard is instantiated in the VSDesigner through reflection.
Creates the necessary components associated with this data adapter instance
The designer host
The components created by this toolbox item
Generates a unique name for the given object
The container where we're being instantiated
The core name of the object to create a unique instance of
A unique name within the given container
This class creates many of the DDEX components when asked for by the server explorer.
This class is used to build identifier arrays and contract them. Typically they are
passed to SQLiteConnection.GetSchema() or are contracted for display on the screen or in the
properties window.
Strips out the schema, which we don't really support but has to be there for certain operations internal
to MS's designer implementation.
The type of identifier to contract
The full identifier array
A contracted identifier array
GetSite does not need to be implemented since
DDEX only calls SetSite to site the object.
Doesn't do much other than provide the DataObjectSupport base object with a location
where the XML resource can be found.
Provides basic DataSourceInformation about the underlying connection
Provides DataViewSupport with a location where the XML file is for the Server Explorer's view.
This class keeps track of the options configured on a per-solution file
basis pertaining to the System.Data.SQLite design-time components.
This is the name of the setting containing the configured ADO.NET
provider name.
This is the name of the environment variable that will be checked
prior to setting the initial default value for the configured
ADO.NET provider name, thus allowing the default value to be
overridden via the environment.
This is the legacy provider name used by the System.Data.SQLite
design-time components. It is also the default value for the
associated option key.
This is the provider name used when Entity Framework 6.x support is
required for use with the System.Data.SQLite design-time components.
This provider name is only available when this class is compiled for
the .NET Framework 4.0 or later.
This is used to synchronize access to the static dictionary of
options and objects.
This dictionary contains the key/value pairs representing the
per-solution options configured for the current solution. When
a new solution is loaded by Visual Studio, this dictionary must
be reset.
This dictionary contains the
objects cached by this class.
This method initializes (or resets) the per-solution configuration
options.
Non-zero to reset the options if they are already initialized.
When this method is called from the
constructor, this value should always be true.
This method determines the name of the ADO.NET provider for the
System.Data.SQLite design-time components to use.
The configured ADO.NET provider name for System.Data.SQLite -OR-
the default ADO.NET provider name for System.Data.SQLite in the
event of any failure. This method cannot return null.
This method determines the name of the ADO.NET provider for the
System.Data.SQLite design-time components to use.
The value to return from this method if the name of the ADO.NET
provider is unavailable or cannot be determined.
The configured ADO.NET provider name for System.Data.SQLite -OR-
the default ADO.NET provider name for System.Data.SQLite in the
event of any failure.
This method attempts to set the name of the ADO.NET provider for
the System.Data.SQLite design-time components to use.
The ADO.NET provider name to use.
Non-zero upon success; otherwise, zero. All ADO.NET provider names
unknown to this class are rejected.
This method attempts to select the configured ADO.NET provider name
in the specified . This method will only
work correctly when called from the user-interface thread.
The object where the selection is to be
modified.
Non-zero upon success; otherwise, zero.
Determines if the specified ADO.NET provider name appears to be
usable.
The invariant name of the ADO.NET provider to create. Using null
or an empty string will cause this method to return false.
Non-zero if the was created or
queried successfully; otherwise, zero.
Gets the cached object associated
with the specified name, creating a new instance if necessary.
The invariant name of the ADO.NET provider to create. Using null
or an empty string will cause this method to return false.
Non-zero to create a new instance of the ADO.NET provider, if
necessary.
The newly created object or null
if it is unavailable or could not be created.
Non-zero if the was created or
queried successfully; otherwise, zero.
This method populates the specified item
list with the recognized ADO.NET provider names. This method will
only work correctly when called from the user-interface thread.
The property value containing the
list of items to be modified. This value cannot be null.
The number of items actually added to the list, which may be zero.
This method determines if the specified key/value pair represents
the default value for that option.
The name ("key") of the configuration option.
The value of the configuration option.
Non-zero if the key/value pair represents its default value.
This method determines if the specified key/value pair is valid
and supported by this class.
The name ("key") of the configuration option.
The value of the configuration option.
Non-zero if the key/value pair represents a valid option key and
value supported by this class.
This method returns the current list of option keys supported by
the System.Data.SQLite design-time components.
An of strings containing the list of
option keys supported by the System.Data.SQLite design-time
components -OR- null in the event of any failure.
This method determines if the specified option key is supported by
this class.
The name ("key") of the configuration option.
Non-zero if the specified option key is supported by this class.
This method attempts to query and return the current value of the
specified option key.
The name ("key") of the configuration option.
Upon success, the current value for the configuration option;
otherwise, null.
Non-zero for success; otherwise, zero.
This method attempts to set the value of the specified option key.
The name ("key") of the configuration option.
The new value for the configuration option.
Non-zero for success; otherwise, zero.
This method attempts to read an option value from the specified
stream. The stream must be readable. After this method returns,
the stream may no longer be usable.
The stream to read the option value from.
Upon success, the read value for the configuration option;
otherwise, null.
Non-zero for success; otherwise, zero.
This method attempts to write an option value to the specified
stream. The stream must be writable. After this method returns,
the stream may no longer be usable.
The stream to write the option value to.
The option value to be written. This value may be null.
Non-zero for success; otherwise, zero.
Ideally we'd be a package provider, but the VS Express Editions don't support us, so this class
exists so that in the future we can perhaps work with the Express Editions.
For a package-based provider, this factory creates instances of the main objects we support
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
Looks up a localized string similar to PTA9I2P3DHDAHKKZHZHJMDEQCCPTQCRMDZC9DAARARZHZCHPDEPQZAJ0JZECKJQJJ0DCDDA3AEEPEHRJHMAIAPQHDEEHRCZQE2DHKKQTK0DTQ9C2E9C9R8ZCKPK3RRK2.
Looks up a localized string similar to The database and its metadata will be un-encrypted. No password will be required to open the database and view its contents..
Looks up a localized string similar to The database and its metadata will be encrypted using the supplied password as a hash..
Looks up a localized string similar to The database and its metadata will be re-encrypted using the supplied password as a hash..
Looks up a localized string similar to [SQLite]
System.Data.SQLite.SQLiteConnection, System.Data.SQLite
System.Data.SQLite.SQLiteDataAdapter, System.Data.SQLite
System.Data.SQLite.SQLiteCommand, System.Data.SQLite
.