C# 클래스 Madd0.AzureStorageDriver.SchemaBuilder

Provides the methods necessary to determining the storage account's schema and to building the typed data context .
파일 보기 프로젝트 열기: madd0/AzureStorageDriver

공개 메소드들

메소드 설명
GetSchemaAndBuildAssembly ( StorageAccountProperties properties, string driverFolder, AssemblyName name, string @namepace, string typeName ) : List

Gets the schema and builds the assembly.

비공개 메소드들

메소드 설명
BuildAssembly ( AssemblyName name, string driverFolder, string code ) : void

Builds the assembly described by the AssemblyName.

GenerateCode ( string typeName, string @namespace, IEnumerable model ) : string

Generates the code to build the typed data context.

GetModel ( StorageAccountProperties properties ) : IEnumerable

Build a model of the current Azure storage account. This model will be used to generate the typed code as well as the schema needed by LINQPad.

GetSchema ( IEnumerable model ) : List

Transforms the model based on CloudTable instances into a schema based on ExplorerItem instances for LINQPad.

GetType ( EdmType type ) : string

Gets the C# type equivalent of an entity data model (Edm) type.

메소드 상세

GetSchemaAndBuildAssembly() 공개 정적인 메소드

Gets the schema and builds the assembly.
public static GetSchemaAndBuildAssembly ( StorageAccountProperties properties, string driverFolder, AssemblyName name, string @namepace, string typeName ) : List
properties StorageAccountProperties The current configuration.
driverFolder string The driver folder. Used to resolve dependencies.
name System.Reflection.AssemblyName The instace of the assembly being created.
@namepace string
typeName string Name of the type of the typed data context.
리턴 List