コード例 #1
0
ファイル: DbFS.cs プロジェクト: saycale/MSSQLServerAuditor
			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);
			}
コード例 #2
0
ファイル: DbFS.cs プロジェクト: sentientpc/MSSQLServerAuditor
            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));
            }
コード例 #3
0
		public void Initialize()
		{
			StorageManager manager = new StorageManager(this, this._filesProvider, true);

			manager.InitializeDataBases();

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