11 references to AddWithValue
Microsoft.Extensions.Caching.SqlServer (11)
DatabaseOperations.cs (5)
123command.Parameters.AddWithValue(UtcNowParameterName, SqlDbType.DateTimeOffset, utcNow); 146.AddWithValue(UtcNowParameterName, SqlDbType.DateTimeOffset, utcNow); 186.AddWithValue(UtcNowParameterName, SqlDbType.DateTimeOffset, utcNow); 229.AddWithValue(UtcNowParameterName, SqlDbType.DateTimeOffset, utcNow); 282.AddWithValue(UtcNowParameterName, SqlDbType.DateTimeOffset, utcNow);
SqlParameterCollectionExtensions.cs (6)
29return parameters.AddWithValue(Columns.Names.CacheItemValue, SqlDbType.VarBinary, Array.Empty<byte>()); 51return parameters.AddWithValue(Columns.Names.CacheItemValue, SqlDbType.VarBinary, value.Array); 70return parameters.AddWithValue( 75return parameters.AddWithValue(Columns.Names.SlidingExpirationInSeconds, SqlDbType.BigInt, DBNull.Value); 85return parameters.AddWithValue( 90return parameters.AddWithValue(