/// <summary> /// Checks if the entry has the specified tag. /// </summary> /// <param name="tag">The tag.</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> /// <seealso cref="QdbTag"/> public bool HasTag(QdbTag tag) { if (tag == null) throw new ArgumentNullException("tag"); return Api.HasTag(Alias, tag.Alias); }
public void Initialize() { _tag = QdbTestCluster.CreateEmptyTag(); }
public void Initialize() { _entry = QdbTestCluster.CreateBlob(); _tag1 = QdbTestCluster.CreateEmptyTag(); }
public static QdbHashSet CreateTaggedHashSet(QdbTag tag) { var hashSet = CreateHashSet(); hashSet.AddTag(tag); return hashSet; }
public static QdbBlob CreateTaggedBlob(QdbTag tag) { var blob = CreateBlob(); blob.AddTag(tag); return blob; }
public static QdbTag CreateTaggedTag(QdbTag tag) { var newTag = CreateTag(); newTag.AddTag(tag); return newTag; }
public static QdbQueue CreateTaggedQueue(QdbTag tag) { var queue = CreateQueue(); queue.AddTag(tag); return queue; }
public static QdbInteger CreateTaggedInteger(QdbTag tag) { var integer = CreateInteger(); integer.AddTag(tag); return integer; }