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