internal void AddBookmark(string url, string name) { string fkId = GetFkId(url, name); if (String.IsNullOrEmpty(fkId)) { fkId = AddFk(url, name); } command.CommandText = String.Format(commandRepository["addBookmark"], folderId, name, FfGuid.Get(), FfTimestamp.Get(), FfTimestamp.Get(), fkId); command.ExecuteNonQuery(); }
private void AddBookMarkFolder() { command.CommandText = String.Format(commandRepository["addBookmarkFolder"], folderName, FfGuid.Get(), FfTimestamp.Get(), FfTimestamp.Get()); command.ExecuteNonQuery(); }