Example #1
0
			public static DbFileStorage CreateTables(DbFS dbfs, long connectionId)
			{
				string folderTableName = string.Format("tFolder_{0}", connectionId);
				string fileTableName   = string.Format("tFile_{0}",   connectionId);

				return new DbFileStorage(dbfs.Connection, fileTableName, folderTableName);
			}
Example #2
0
            public static DbFileStorage CreateTables(DbFS dbfs, long connectionId)
            {
                string folderTableName = string.Format("tFolder_{0}", connectionId);
                string fileTableName   = string.Format("tFile_{0}", connectionId);

                return(new DbFileStorage(dbfs.Connection, fileTableName, folderTableName));
            }
		public void Initialize()
		{
			StorageManager manager = new StorageManager(this, this._filesProvider, true);

			manager.InitializeDataBases();

			this._storageManager = manager;
			this._dbFs = new DbFS(this._filesProvider.GetDbFsFileName());
		}
		/// <summary>
		/// Constructor
		/// </summary>
		/// <param name="dbFs">Virtual SQLite DB file system</param>
		public XslPreprocessManager(DbFS dbFs) : this()
		{
			this._dbFs = dbFs;
		}
		public XslPreprocessManager()
		{
			this._availablePreprocessors = new List<IPreprocessor>();
			this._dbFs                   = null;
		}