Exemplo n.º 1
0
			private DbFileStorage(SQLiteConnection connection, string fileTableName, string folderTableName)
			{
				FolderTable folderTable = new FolderTable(connection, folderTableName);
				FileTable   fileTable   = new FileTable(connection, fileTableName, folderTableName);

				folderTable.UpdateScheme();
				fileTable.UpdateScheme();

				FolderTable = folderTable;
				FileTable   = fileTable;
			}
Exemplo n.º 2
0
		private Int64? GetFolderId(FolderTable folderTable, string path)
		{
			Int64? int64FolderId = null;

			if (folderTable != null)
			{
				int64FolderId = folderTable.GetFolderId(path);
			}
			else
			{
				int64FolderId = null;
			}

			return int64FolderId;
		}