Пример #1
0
        public PersistenceController()
        {
            schema = new CatalogSchema();
            engine = new SQLiteEngine();
            repo   = new Repository(schema, engine);

            mediaItemSingleton      = schema.GetAggregate <IMediaItem>("MediaItemSingleton");
            mediaSetWithAllChildren = schema.GetAggregate <IMediaSet>("MediaSetWithAllChildren");

            mappingRepo = new Telesophy.Alexandria.Model.Mapping.Repository();
        }
		public PersistenceController()
		{
			schema = new CatalogSchema();
			engine = new SQLiteEngine();
			repo = new Repository(schema, engine);
			
			mediaItemSingleton = schema.GetAggregate<IMediaItem>("MediaItemSingleton");
			mediaSetWithAllChildren = schema.GetAggregate<IMediaSet>("MediaSetWithAllChildren");

            mappingRepo = new Telesophy.Alexandria.Model.Mapping.Repository();
		}