C# Класс VelocityDBAccess.VelocityDBAccessBuilder

Class able to generate a dynamic assembly to access a VelocityDb database.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
BuildAssembly ( AssemblyName pAssemblyName, string pNamespace, string pTypeName, bool pInMemory ) : Assembly

Generate and build access assembly. The built assembly has a class with a property for each persistable type on the schema returning a IEnumerator. Also a constructor that connects to db and a function to close the connection.

VelocityDBAccessBuilder ( SchemaInfo pSchema, SessionInfo pSessionInfo ) : Microsoft.CSharp

Приватные методы

Метод Описание
GenerateAssembly ( string pCode, AssemblyName pName, bool pInMemory ) : Assembly

Описание методов

BuildAssembly() публичный Метод

Generate and build access assembly. The built assembly has a class with a property for each persistable type on the schema returning a IEnumerator. Also a constructor that connects to db and a function to close the connection.
public BuildAssembly ( AssemblyName pAssemblyName, string pNamespace, string pTypeName, bool pInMemory ) : Assembly
pAssemblyName System.Reflection.AssemblyName Name of the generated assembly
pNamespace string Namespace of the generated class
pTypeName string Name of the generated class
pInMemory bool Choose if generate in memory or /// on disk
Результат System.Reflection.Assembly

VelocityDBAccessBuilder() публичный Метод

public VelocityDBAccessBuilder ( SchemaInfo pSchema, SessionInfo pSessionInfo ) : Microsoft.CSharp
pSchema SchemaInfo
pSessionInfo SessionInfo
Результат Microsoft.CSharp