C# Класс Zetbox.App.Packaging.Importer

Показать файл Открыть проект

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

Метод Описание
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