Create an EntityManager with specific ConnectionString and SGBD type.
Namespace:
Aspectize.CoreAssembly: AspectizeDAL (in AspectizeDAL.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public static EntityManager FromConnectionString( string connectionString, SGBD dataBaseType ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function FromConnectionString ( _ connectionString As String, _ dataBaseType As SGBD _ ) As EntityManager |
Parameters
- connectionString
- Type: System..::.String
The ConnectionString to the DataBase. It can be a path to an XML File.
- dataBaseType
- Type: Aspectize.Core..::.SGBD
SGBD type