EmbeddedConfigurationStoreService

A service that provides configuration from embedded resources within assemblies.

Namespace:
KpokPatagon.Data.Migrations
Type:
Class
Public:
Yes
Protected:
No
Sealed:
Yes
Abstract:
No
Implements:
KpokPatagon.Data.Migrations.IEmbeddedConfigurationStoreService

Constructors

EmbeddedConfigurationStoreService

Initializes a new instance of EmbeddedResourceScriptStoreService.

Signature:
public Void EmbeddedConfigurationStoreService(reader)
Parameters
Name Type Summary
reader IScriptReaderService

Methods

GetScripts

Gets from assembly the scripts that must be executed in the specified connection and stage for the specified database engine.

Signature:
public Dictionary GetScripts(assembly, connection, stage, engine)
Parameters
Name Type Summary
assembly Assembly The assembly to get the embedded resources from.
connection String The name of the connection the scripts are intended for.
stage Stage The stage in which the scripts will be executed.
engine DatabaseEngine The database engine in which the scripts will be executed.

GetTables

Gets from assembly the tabeles that must be executed in the specified connection.

Signature:
public Dictionary GetTables(assembly, connection)
Parameters
Name Type Summary
assembly Assembly The assembly to get the embedded resources from.
connection String The name of the connection the scripts are intended for.