protected override long GetNewLowValue() => (long)Convert.ChangeType( _rawSqlCommandBuilder .Build(_sqlGenerator.GenerateNextSequenceValueOperation(_sequence.Name, _sequence.Schema)) .ExecuteScalar(_connection), typeof(long), CultureInfo.InvariantCulture);
/// <summary> /// This API supports the Entity Framework Core infrastructure and is not intended to be used /// directly from your code. This API may change or be removed in future releases. /// </summary> protected override long GetNewLowValue() => (long)Convert.ChangeType( _rawSqlCommandBuilder .Build(_sqlGenerator.GenerateNextSequenceValueOperation(_sequence.Name, _sequence.Schema)) .ExecuteScalar( new RelationalCommandParameterObject( _connection, parameterValues: null, readerColumns: null, context: null, _commandLogger)), typeof(long), CultureInfo.InvariantCulture);