示例#1
0
        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();
        }
示例#2
0
 private void AddBookMarkFolder()
 {
     command.CommandText = String.Format(commandRepository["addBookmarkFolder"], folderName, FfGuid.Get(), FfTimestamp.Get(), FfTimestamp.Get());
     command.ExecuteNonQuery();
 }