/// <summary>Append a key to the subspace key</summary> /// <typeparam name="TKey">type of the key, must implements IFdbKey</typeparam> /// <param name="key"></param> /// <returns>Return Slice : 'subspace.Key + key'</returns> public static Slice Concat <TKey>(this IFdbSubspace subspace, [NotNull] TKey key) where TKey : IFdbKey { if (key == null) { throw new ArgumentNullException("key"); } return(Slice.Concat(subspace.ToFoundationDbKey(), key.ToFoundationDbKey())); }
/// <summary>Append a key to the subspace key</summary> public static Slice Concat(this IFdbSubspace subspace, Slice key) { return(Slice.Concat(subspace.ToFoundationDbKey(), key)); }
/// <summary>Append a key to the subspace key</summary> /// <remarks>This is the equivalent of calling 'subspace.Key + key'</remarks> public Slice Concat(Slice key) { return(Slice.Concat(GetKeyPrefix(), key)); }