예제 #1
0
 public void Initialize()
 {
     _entry = QdbTestCluster.CreateBlob();
     _tag1 = QdbTestCluster.CreateEmptyTag();
 }
예제 #2
0
        /// <summary>
        /// Checks if an entry has this tag.
        /// </summary>
        /// <param name="entry">The entry to check.</param>
        /// <returns><c>true</c> if the entry has this tag, <c>false</c> if not.</returns>
        /// <exception cref="QdbAliasNotFoundException">The entry doesn't exists in the database.</exception>
        public bool HasEntry(QdbEntry entry)
        {
            if (entry == null) throw new ArgumentNullException("entry");

            return Api.HasTag(entry.Alias, Alias);
        }