Create an EntityManager with specific ConnectionString and SGBD type, and existing DataSet. This API is used to save Data in the DataBase.

Namespace: Aspectize.Core
Assembly: AspectizeDAL (in AspectizeDAL.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static EntityManager FromDataSetAndConnectionString(
	DataSet ds,
	string connectionString,
	SGBD dataBaseType
)
Visual Basic
Public Shared Function FromDataSetAndConnectionString ( _
	ds As DataSet, _
	connectionString As String, _
	dataBaseType As SGBD _
) As EntityManager

Parameters

ds
Type: System.Data..::..DataSet
Existing DataSet
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

Return Value

Instance of created EntityManager

See Also