C# 클래스 Zetbox.App.Packaging.Importer

파일 보기 프로젝트 열기: daszat/zetbox

공개 메소드들

메소드 설명
Deploy ( IZetboxContext ctx ) : void
LoadFromXml ( IZetboxContext ctx ) : IEnumerable

Loads a database from the specified filename into the specified context.

LoadFromXml ( IZetboxContext ctx, Stream stream, string streamDescription ) : IEnumerable

비공개 메소드들

메소드 설명
FindObject ( IZetboxContext ctx, IPersistenceObject>.Dictionary objects, System.Guid exportGuid, InterfaceType ifType ) : IPersistenceObject
ImportElement ( IZetboxContext ctx, IPersistenceObject>.Dictionary objects, IPackageProvider s ) : IPersistenceObject
LoadGuids ( IZetboxContext ctx, IPackageProvider providers ) : List>.Dictionary
LoadModuleNames ( IPackageProvider s ) : IEnumerable
MigrateTypeNameMapping ( string ifTypeName ) : string

Map from pre-migration class names to current ones.

This mapping keeps the saved schema XML in the destination database valid. Without this we couldn't deploy/migrate from the old schema to the new one.

PreFetchObjects ( IZetboxContext ctx, IPersistenceObject>.Dictionary objects, Dictionary guids ) : void

메소드 상세

Deploy() 공개 정적인 메소드

public static Deploy ( IZetboxContext ctx ) : void
ctx IZetboxContext
리턴 void

LoadFromXml() 공개 정적인 메소드

Loads a database from the specified filename into the specified context.
public static LoadFromXml ( IZetboxContext ctx ) : IEnumerable
ctx IZetboxContext
리턴 IEnumerable

LoadFromXml() 공개 정적인 메소드

public static LoadFromXml ( IZetboxContext ctx, Stream stream, string streamDescription ) : IEnumerable
ctx IZetboxContext
stream Stream
streamDescription string
리턴 IEnumerable