C# 클래스 Utilities.ORM.Manager.Schema.Manager

Schema manager
파일 보기 프로젝트 열기: JaCraig/Craig-s-Utility-Library 1 사용 예제들

공개 메소드들

메소드 설명
GenerateSchema ( ISource DesiredStructure, ISourceInfo Source ) : IEnumerable

Generates a list of commands used to modify the source. If it does not exist prior, the commands will create the source from scratch. Otherwise the commands will only add new fields, tables, etc. It does not delete old fields.

Manager ( IEnumerable SchemaGenerators ) : System

Constructor

Setup ( IMapping>.ListMapping Mappings, QueryProvider QueryProvider, IDatabase Database, ISourceInfo Source, Graph Structure ) : void

Sets up the specified databases

ToString ( ) : string

Outputs the schema generator information as a string

메소드 상세

GenerateSchema() 공개 메소드

Generates a list of commands used to modify the source. If it does not exist prior, the commands will create the source from scratch. Otherwise the commands will only add new fields, tables, etc. It does not delete old fields.
public GenerateSchema ( ISource DesiredStructure, ISourceInfo Source ) : IEnumerable
DesiredStructure ISource Desired source structure
Source ISourceInfo Source to use
리턴 IEnumerable

Manager() 공개 메소드

Constructor
public Manager ( IEnumerable SchemaGenerators ) : System
SchemaGenerators IEnumerable The schema generators.
리턴 System

Setup() 공개 메소드

Sets up the specified databases
public Setup ( IMapping>.ListMapping Mappings, QueryProvider QueryProvider, IDatabase Database, ISourceInfo Source, Graph Structure ) : void
Mappings IMapping>.ListMapping The mappings.
QueryProvider QueryProvider The query provider.
Database IDatabase The database.
Source ISourceInfo The source.
Structure Graph The structure.
리턴 void

ToString() 공개 메소드

Outputs the schema generator information as a string
public ToString ( ) : string
리턴 string