13 references to Columns
Microsoft.Extensions.Caching.SqlServer (13)
DatabaseOperations.cs (4)
242
value = reader.GetFieldValue<byte[]>(
Columns
.Indexes.CacheItemValueIndex);
246
StreamOut(reader,
Columns
.Indexes.CacheItemValueIndex, destination);
295
value = await reader.GetFieldValueAsync<byte[]>(
Columns
.Indexes.CacheItemValueIndex, token).ConfigureAwait(false);
299
StreamOut(reader,
Columns
.Indexes.CacheItemValueIndex, destination);
SqlParameterCollectionExtensions.cs (9)
22
return parameters.AddWithValue(
Columns
.Names.CacheItemId, SqlDbType.NVarChar, CacheItemIdColumnWidth, value);
29
return parameters.AddWithValue(
Columns
.Names.CacheItemValue, SqlDbType.VarBinary, Array.Empty<byte>());
43
Columns
.Names.CacheItemValue,
51
return parameters.AddWithValue(
Columns
.Names.CacheItemValue, SqlDbType.VarBinary, value.Array);
56
var p = new SqlParameter(
Columns
.Names.CacheItemValue, SqlDbType.VarBinary, value.Count);
71
Columns
.Names.SlidingExpirationInSeconds, SqlDbType.BigInt, value.Value.TotalSeconds);
75
return parameters.AddWithValue(
Columns
.Names.SlidingExpirationInSeconds, SqlDbType.BigInt, DBNull.Value);
86
Columns
.Names.AbsoluteExpiration, SqlDbType.DateTimeOffset, utcTime.Value);
91
Columns
.Names.AbsoluteExpiration, SqlDbType.DateTimeOffset, DBNull.Value);