/// <summary>Gets a key range representing all keys in the Subspace strictly starting with the specified Tuple.</summary> public static FdbKeyRange ToRange(this FdbSubspace subspace, [NotNull] IFdbTuple tuple) { if (tuple == null) { throw new ArgumentNullException("tuple"); } return(subspace.ToRange(tuple.ToSlice())); }
public static FdbKeyRange ToRange <TKey>(this FdbSubspace subspace, [NotNull] TKey key) where TKey : IFdbKey { if (key == null) { throw new ArgumentNullException("key"); } return(subspace.ToRange(key.ToFoundationDbKey())); }
public static FdbKeySelectorPair ToSelectorPair(this FdbSubspace subspace) { return(FdbKeySelectorPair.Create(subspace.ToRange())); }