C# 클래스 VelocityDBAccess.VelocityDBAccessBuilder

Class able to generate a dynamic assembly to access a VelocityDb database.
파일 보기 프로젝트 열기: VelocityDB/VelocityDB 1 사용 예제들

공개 메소드들

메소드 설명
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