Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ public static DbContextOptionsBuilder UseMySql(
((IDbContextOptionsBuilderInfrastructure)optionsBuilder).AddOrUpdateExtension(extension);
ConfigureWarnings(optionsBuilder);

var mySqlDbContextOptionsBuilder = new MySqlDbContextOptionsBuilder(optionsBuilder)
.TranslateParameterizedCollectionsToConstants();
var mySqlDbContextOptionsBuilder = new MySqlDbContextOptionsBuilder(optionsBuilder);

mySqlOptionsAction?.Invoke(mySqlDbContextOptionsBuilder);

Expand Down Expand Up @@ -107,8 +106,7 @@ public static DbContextOptionsBuilder UseMySql(
((IDbContextOptionsBuilderInfrastructure)optionsBuilder).AddOrUpdateExtension(extension);
ConfigureWarnings(optionsBuilder);

var mySqlDbContextOptionsBuilder = new MySqlDbContextOptionsBuilder(optionsBuilder)
.TranslateParameterizedCollectionsToConstants();
var mySqlDbContextOptionsBuilder = new MySqlDbContextOptionsBuilder(optionsBuilder);

mySqlOptionsAction?.Invoke(mySqlDbContextOptionsBuilder);

Expand Down Expand Up @@ -157,8 +155,7 @@ public static DbContextOptionsBuilder UseMySql(
((IDbContextOptionsBuilderInfrastructure)optionsBuilder).AddOrUpdateExtension(extension);
ConfigureWarnings(optionsBuilder);

var mySqlDbContextOptionsBuilder = new MySqlDbContextOptionsBuilder(optionsBuilder)
.TranslateParameterizedCollectionsToConstants();
var mySqlDbContextOptionsBuilder = new MySqlDbContextOptionsBuilder(optionsBuilder);

mySqlOptionsAction?.Invoke(mySqlDbContextOptionsBuilder);

Expand Down Expand Up @@ -204,8 +201,7 @@ public static DbContextOptionsBuilder UseMySql(
((IDbContextOptionsBuilderInfrastructure)optionsBuilder).AddOrUpdateExtension(extension);
ConfigureWarnings(optionsBuilder);

var mySqlDbContextOptionsBuilder = new MySqlDbContextOptionsBuilder(optionsBuilder)
.TranslateParameterizedCollectionsToConstants();
var mySqlDbContextOptionsBuilder = new MySqlDbContextOptionsBuilder(optionsBuilder);

mySqlOptionsAction?.Invoke(mySqlDbContextOptionsBuilder);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ protected virtual SqlExpression GetLikeExpressionUsingParameter(
StartsEndsWithContains methodType)
{
if (pattern is SqlParameterExpression patternParameter &&
patternParameter.Name.StartsWith(QueryCompilationContext.QueryParameterPrefix, StringComparison.Ordinal))
patternParameter.Name.StartsWith("@", StringComparison.Ordinal))
{
// The pattern is a parameter, register a runtime parameter that will contain the rewritten LIKE pattern, where
// all special characters have been escaped.
Expand Down Expand Up @@ -718,7 +718,7 @@ private static string ConstructLikePatternParameter(
QueryContext queryContext,
string baseParameterName,
StartsEndsWithContains methodType)
=> queryContext.ParameterValues[baseParameterName] switch
=> queryContext.Parameters[baseParameterName] switch
{
null => null,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,20 @@ protected override Expression VisitLeftJoin(LeftJoinExpression leftJoinExpressio
return leftJoinExpression.Update(table, joinPredicate);
}

protected override Expression VisitRightJoin(RightJoinExpression rightJoinExpression)
{
Check.NotNull(rightJoinExpression, nameof(rightJoinExpression));

var parentOptimize = _optimize;
_optimize = false;
var table = (TableExpressionBase)Visit(rightJoinExpression.Table);
_optimize = true;
var joinPredicate = (SqlExpression)Visit(rightJoinExpression.JoinPredicate);
_optimize = parentOptimize;

return rightJoinExpression.Update(table, joinPredicate);
}

protected override Expression VisitRowValue(RowValueExpression rowValueExpression)
{
var parentOptimize = _optimize;
Expand Down
17 changes: 2 additions & 15 deletions src/EFCore.MySql/Query/Internal/MySqlParameterBasedSqlProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#nullable enable

using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using Microsoft.EntityFrameworkCore.Query;
Expand All @@ -25,6 +26,7 @@ public MySqlParameterBasedSqlProcessor(
_options = options;
}

[Obsolete]
public override Expression Optimize(
Expression queryExpression,
IReadOnlyDictionary<string, object?> parametersValues,
Expand Down Expand Up @@ -58,20 +60,5 @@ public override Expression Optimize(

return queryExpression;
}

/// <inheritdoc />
protected override Expression ProcessSqlNullability(
Expression queryExpression,
IReadOnlyDictionary<string, object?> parametersValues,
out bool canCache)
{
Check.NotNull(queryExpression, nameof(queryExpression));
Check.NotNull(parametersValues, nameof(parametersValues));

queryExpression = new MySqlSqlNullabilityProcessor(Dependencies, Parameters)
.Process(queryExpression, parametersValues, out canCache);

return queryExpression;
}
}
}
10 changes: 1 addition & 9 deletions src/EFCore.MySql/Query/Internal/MySqlQueryCompilationContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,7 @@ public MySqlQueryCompilationContext(
{
}

public MySqlQueryCompilationContext(
[NotNull] QueryCompilationContextDependencies dependencies,
[NotNull] RelationalQueryCompilationContextDependencies relationalDependencies,
bool async,
bool precompiling,
IReadOnlySet<string> nonNullableReferenceTypeParameters)
: base(dependencies, relationalDependencies, async, precompiling, nonNullableReferenceTypeParameters)
{
}


public override bool IsBuffering
=> base.IsBuffering ||
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ public virtual QueryCompilationContext Create(bool async)
=> new MySqlQueryCompilationContext(_dependencies, _relationalDependencies, async);

public virtual QueryCompilationContext CreatePrecompiled(bool async, IReadOnlySet<string> nonNullableReferenceTypeParameters)
=> new MySqlQueryCompilationContext(
_dependencies, _relationalDependencies, async, precompiling: true, nonNullableReferenceTypeParameters);
=> new MySqlQueryCompilationContext(_dependencies, _relationalDependencies, async);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -80,40 +80,6 @@ bool IsJsonEachKeyColumn(SelectExpression selectExpression, ColumnExpression ord
&& IsJsonEachKeyColumn(subquery, projectedColumn)));
}

protected override bool IsValidSelectExpressionForExecuteDelete(
SelectExpression selectExpression,
StructuralTypeShaperExpression shaper,
[NotNullWhen(true)] out TableExpression tableExpression)
{
if (selectExpression.Offset == null
&& selectExpression.GroupBy.Count == 0
&& selectExpression.Having == null
&& (selectExpression.Tables.Count == 1 || selectExpression.Orderings.Count == 0))
{
TableExpressionBase table;
if (selectExpression.Tables.Count == 1)
{
table = selectExpression.Tables[0];
}
else
{
var projectionBindingExpression = (ProjectionBindingExpression)shaper.ValueBufferExpression;
var entityProjectionExpression = (StructuralTypeProjectionExpression)selectExpression.GetProjection(projectionBindingExpression);
var column = entityProjectionExpression.BindProperty(shaper.StructuralType.GetProperties().First());
table = selectExpression.GetTable(column).UnwrapJoin();
}

if (table is TableExpression te)
{
tableExpression = te;
return true;
}
}

tableExpression = null;
return false;
}

protected override bool IsValidSelectExpressionForExecuteUpdate(
SelectExpression selectExpression,
TableExpressionBase targetTable,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ namespace Pomelo.EntityFrameworkCore.MySql.Update.Internal;
public class MySqlModificationCommandBatch : AffectedCountModificationCommandBatch
{
private readonly List<IReadOnlyModificationCommand> _pendingBulkInsertCommands = new();
private readonly Dictionary<string, object> _parameterValues = new();

public MySqlModificationCommandBatch(
ModificationCommandBatchFactoryDependencies dependencies,
Expand Down Expand Up @@ -53,7 +54,7 @@ protected override void RollbackLastCommand(IReadOnlyModificationCommand modific
var parameter = RelationalCommandBuilder.Parameters[parameterIndex];

RelationalCommandBuilder.RemoveParameterAt(parameterIndex);
ParameterValues.Remove(parameter.InvariantName);
_parameterValues.Remove(parameter.InvariantName);
}

//
Expand Down Expand Up @@ -363,7 +364,7 @@ void AddParameterCore(string name, object value)
columnModification.IsNullable,
direction);

ParameterValues.Add(name, value);
_parameterValues.Add(name, value);

_pendingParameters++;
}
Expand Down
8 changes: 4 additions & 4 deletions src/Shared/Check.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public static IReadOnlyList<T> NotEmpty<T>(IReadOnlyList<T> value, [InvokerParam
{
NotEmpty(parameterName, nameof(parameterName));

throw new ArgumentException(AbstractionsStrings.CollectionArgumentIsEmpty(parameterName));
throw new ArgumentException(AbstractionsStrings.CollectionArgumentIsEmpty, parameterName);
}

return value;
Expand All @@ -54,7 +54,7 @@ public static string NotEmpty(string value, [InvokerParameterName] [NotNull] str
}
else if (value.Trim().Length == 0)
{
e = new ArgumentException(AbstractionsStrings.ArgumentIsEmpty(parameterName));
e = new ArgumentException(AbstractionsStrings.ArgumentIsEmpty, parameterName);
}

if (e != null)
Expand All @@ -74,7 +74,7 @@ public static string NullButNotEmpty(string value, [InvokerParameterName] [NotNu
{
NotEmpty(parameterName, nameof(parameterName));

throw new ArgumentException(AbstractionsStrings.ArgumentIsEmpty(parameterName));
throw new ArgumentException(AbstractionsStrings.ArgumentIsEmpty, parameterName);
}

return value;
Expand Down Expand Up @@ -105,7 +105,7 @@ public static IReadOnlyList<string> HasNoEmptyElements(
{
NotEmpty(parameterName, nameof(parameterName));

throw new ArgumentException(AbstractionsStrings.CollectionArgumentHasEmptyElements(parameterName));
throw new ArgumentException(AbstractionsStrings.CollectionArgumentHasEmptyElements, parameterName);
}

return value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
VALUES(N'[{"RoundNumber":11,"SubRounds":[{"SubRoundNumber":111},{"SubRoundNumber":112}]}]', 1)
""");

protected override Task SeedArrayOfPrimitives(DbContext ctx)

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, ubuntu-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, ubuntu-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.5.2-mariadb, ubuntu-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.6.2-mariadb, ubuntu-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.5.2-mariadb, ubuntu-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.6.2-mariadb, ubuntu-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, ubuntu-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.3.2-mariadb, ubuntu-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, ubuntu-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.4.4-mariadb, ubuntu-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.6.2-mariadb, ubuntu-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.4.4-mariadb, ubuntu-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.3.2-mariadb, ubuntu-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.3.2-mariadb, ubuntu-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, ubuntu-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.4.4-mariadb, ubuntu-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.5.2-mariadb, ubuntu-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.3.2-mariadb, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.5.2-mariadb, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.4.4-mariadb, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.4.4-mariadb, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.5.2-mariadb, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.6.2-mariadb, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.6.2-mariadb, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.3.2-mariadb, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.4.4-mariadb, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.6.2-mariadb, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.3.2-mariadb, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.5.2-mariadb, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override

Check failure on line 100 in test/EFCore.MySql.FunctionalTests/Query/AdHocJsonQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, windows-latest)

'AdHocJsonQueryMySqlTest.SeedArrayOfPrimitives(DbContext)': cannot override inherited member 'AdHocJsonQueryTestBase.SeedArrayOfPrimitives(DbContext)' because it is not marked virtual, abstract, or override
{
var entity1 = new MyEntityArrayOfPrimitives
{
Expand Down Expand Up @@ -143,6 +143,12 @@
return ctx.SaveChangesAsync();
}

protected override Task SeedBadJsonProperties(ContextBadJsonProperties ctx)
{
// Stub implementation for disabled JSON functionality in MySQL provider
return Task.CompletedTask;
}

protected override Task SeedJunkInJson(DbContext ctx)
=> ctx.Database.ExecuteSqlAsync(
$$$$"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,11 @@
//var good2 = context.Set<NameSpace2.TestQuery>().FromSqlRaw(@"SELECT 1 AS MyValue").ToList(); // OK
var bad = context.Set<TestQuery>().FromSqlRaw(@"SELECT cast(null as signed) AS MyValue").ToList(); // Exception
}

protected override Task SetParameterizedCollectionMode(DbContextOptionsBuilder optionsBuilder, ParameterTranslationMode mode)

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, ubuntu-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, ubuntu-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, ubuntu-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.5.2-mariadb, ubuntu-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.5.2-mariadb, ubuntu-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.6.2-mariadb, ubuntu-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.3.2-mariadb, ubuntu-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, ubuntu-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.4.4-mariadb, ubuntu-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.6.2-mariadb, ubuntu-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.4.4-mariadb, ubuntu-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.3.2-mariadb, ubuntu-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.3.2-mariadb, ubuntu-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, ubuntu-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.4.4-mariadb, ubuntu-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.5.2-mariadb, ubuntu-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.3.2-mariadb, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.5.2-mariadb, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.4.4-mariadb, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.4.4-mariadb, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.5.2-mariadb, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.6.2-mariadb, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.6.2-mariadb, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.3.2-mariadb, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.4.4-mariadb, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.6.2-mariadb, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.3.2-mariadb, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.5.2-mariadb, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/AdHocMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, windows-latest)

'AdHocMiscellaneousQueryMySqlTest.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)': return type must be 'DbContextOptionsBuilder' to match overridden member 'AdHocMiscellaneousQueryRelationalTestBase.SetParameterizedCollectionMode(DbContextOptionsBuilder, ParameterTranslationMode)'
{
// MySQL-specific parameter handling configuration
// For now, use default MySQL behavior as the implementation is provider-specific
return Task.CompletedTask;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}

[ConditionalTheory]
public override async Task String_StartsWith_Literal(bool async)

Check failure on line 24 in test/EFCore.MySql.FunctionalTests/Query/NorthwindFunctionsQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, ubuntu-latest)

'NorthwindFunctionsQueryMySqlTest.String_StartsWith_Literal(bool)': no suitable method found to override

Check failure on line 24 in test/EFCore.MySql.FunctionalTests/Query/NorthwindFunctionsQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

'NorthwindFunctionsQueryMySqlTest.String_StartsWith_Literal(bool)': no suitable method found to override

Check failure on line 24 in test/EFCore.MySql.FunctionalTests/Query/NorthwindFunctionsQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

'NorthwindFunctionsQueryMySqlTest.String_StartsWith_Literal(bool)': no suitable method found to override

Check failure on line 24 in test/EFCore.MySql.FunctionalTests/Query/NorthwindFunctionsQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

'NorthwindFunctionsQueryMySqlTest.String_StartsWith_Literal(bool)': no suitable method found to override
{
await base.String_StartsWith_Literal(async);

Expand All @@ -34,7 +34,7 @@
}

[ConditionalTheory]
public override async Task String_StartsWith_Identity(bool async)

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/NorthwindFunctionsQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, ubuntu-latest)

'NorthwindFunctionsQueryMySqlTest.String_StartsWith_Identity(bool)': no suitable method found to override

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/NorthwindFunctionsQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

'NorthwindFunctionsQueryMySqlTest.String_StartsWith_Identity(bool)': no suitable method found to override

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/NorthwindFunctionsQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

'NorthwindFunctionsQueryMySqlTest.String_StartsWith_Identity(bool)': no suitable method found to override

Check failure on line 37 in test/EFCore.MySql.FunctionalTests/Query/NorthwindFunctionsQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

'NorthwindFunctionsQueryMySqlTest.String_StartsWith_Identity(bool)': no suitable method found to override
{
await base.String_StartsWith_Identity(async);

Expand All @@ -47,7 +47,7 @@
}

[ConditionalTheory]
public override async Task String_StartsWith_Column(bool async)

Check failure on line 50 in test/EFCore.MySql.FunctionalTests/Query/NorthwindFunctionsQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, ubuntu-latest)

'NorthwindFunctionsQueryMySqlTest.String_StartsWith_Column(bool)': no suitable method found to override

Check failure on line 50 in test/EFCore.MySql.FunctionalTests/Query/NorthwindFunctionsQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

'NorthwindFunctionsQueryMySqlTest.String_StartsWith_Column(bool)': no suitable method found to override

Check failure on line 50 in test/EFCore.MySql.FunctionalTests/Query/NorthwindFunctionsQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

'NorthwindFunctionsQueryMySqlTest.String_StartsWith_Column(bool)': no suitable method found to override

Check failure on line 50 in test/EFCore.MySql.FunctionalTests/Query/NorthwindFunctionsQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

'NorthwindFunctionsQueryMySqlTest.String_StartsWith_Column(bool)': no suitable method found to override
{
await base.String_StartsWith_Column(async);

Expand All @@ -60,7 +60,7 @@
}

[ConditionalTheory]
public override async Task String_StartsWith_MethodCall(bool async)

Check failure on line 63 in test/EFCore.MySql.FunctionalTests/Query/NorthwindFunctionsQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, ubuntu-latest)

'NorthwindFunctionsQueryMySqlTest.String_StartsWith_MethodCall(bool)': no suitable method found to override

Check failure on line 63 in test/EFCore.MySql.FunctionalTests/Query/NorthwindFunctionsQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

'NorthwindFunctionsQueryMySqlTest.String_StartsWith_MethodCall(bool)': no suitable method found to override

Check failure on line 63 in test/EFCore.MySql.FunctionalTests/Query/NorthwindFunctionsQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

'NorthwindFunctionsQueryMySqlTest.String_StartsWith_MethodCall(bool)': no suitable method found to override

Check failure on line 63 in test/EFCore.MySql.FunctionalTests/Query/NorthwindFunctionsQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

'NorthwindFunctionsQueryMySqlTest.String_StartsWith_MethodCall(bool)': no suitable method found to override
{
await base.String_StartsWith_MethodCall(async);

Expand All @@ -73,7 +73,7 @@
}

[ConditionalTheory]
public override async Task String_EndsWith_Literal(bool async)

Check failure on line 76 in test/EFCore.MySql.FunctionalTests/Query/NorthwindFunctionsQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, ubuntu-latest)

'NorthwindFunctionsQueryMySqlTest.String_EndsWith_Literal(bool)': no suitable method found to override

Check failure on line 76 in test/EFCore.MySql.FunctionalTests/Query/NorthwindFunctionsQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

'NorthwindFunctionsQueryMySqlTest.String_EndsWith_Literal(bool)': no suitable method found to override

Check failure on line 76 in test/EFCore.MySql.FunctionalTests/Query/NorthwindFunctionsQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

'NorthwindFunctionsQueryMySqlTest.String_EndsWith_Literal(bool)': no suitable method found to override
{
await base.String_EndsWith_Literal(async);

Expand All @@ -86,7 +86,7 @@
}

[ConditionalTheory]
public override async Task String_EndsWith_Identity(bool async)

Check failure on line 89 in test/EFCore.MySql.FunctionalTests/Query/NorthwindFunctionsQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

'NorthwindFunctionsQueryMySqlTest.String_EndsWith_Identity(bool)': no suitable method found to override

Check failure on line 89 in test/EFCore.MySql.FunctionalTests/Query/NorthwindFunctionsQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

'NorthwindFunctionsQueryMySqlTest.String_EndsWith_Identity(bool)': no suitable method found to override
{
await base.String_EndsWith_Identity(async);

Expand All @@ -99,7 +99,7 @@
}

[ConditionalTheory]
public override async Task String_EndsWith_Column(bool async)

Check failure on line 102 in test/EFCore.MySql.FunctionalTests/Query/NorthwindFunctionsQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

'NorthwindFunctionsQueryMySqlTest.String_EndsWith_Column(bool)': no suitable method found to override

Check failure on line 102 in test/EFCore.MySql.FunctionalTests/Query/NorthwindFunctionsQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

'NorthwindFunctionsQueryMySqlTest.String_EndsWith_Column(bool)': no suitable method found to override
{
await base.String_EndsWith_Column(async);

Expand All @@ -112,7 +112,7 @@
}

[ConditionalTheory]
public override async Task String_EndsWith_MethodCall(bool async)

Check failure on line 115 in test/EFCore.MySql.FunctionalTests/Query/NorthwindFunctionsQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

'NorthwindFunctionsQueryMySqlTest.String_EndsWith_MethodCall(bool)': no suitable method found to override
{
await base.String_EndsWith_MethodCall(async);

Expand All @@ -125,7 +125,7 @@
}

[ConditionalTheory]
public override async Task String_Contains_Literal(bool async)

Check failure on line 128 in test/EFCore.MySql.FunctionalTests/Query/NorthwindFunctionsQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

'NorthwindFunctionsQueryMySqlTest.String_Contains_Literal(bool)': no suitable method found to override
{
await base.String_Contains_Literal(async);

Expand Down Expand Up @@ -2757,8 +2757,7 @@
""");
}

public override Task Datetime_subtraction_TotalDays(bool async)
=> AssertTranslationFailed(() => base.Datetime_subtraction_TotalDays(async));


[ConditionalFact]
public virtual void Check_all_tests_overridden()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,55 +30,15 @@
//Fixture.TestSqlLoggerFactory.SetTestOutputHelper(testOutputHelper);
}

public override async Task Select_bitwise_or(bool async)
{
await base.Select_bitwise_or(async);

AssertSql(
"""
SELECT `c`.`CustomerID`, `c`.`CustomerID` IN ('ALFKI', 'ANATR') AS `Value`
FROM `Customers` AS `c`
ORDER BY `c`.`CustomerID`
""");
}

public override async Task Select_bitwise_or_multiple(bool async)
{
await base.Select_bitwise_or_multiple(async);

AssertSql(
"""
SELECT `c`.`CustomerID`, `c`.`CustomerID` IN ('ALFKI', 'ANATR', 'ANTON') AS `Value`
FROM `Customers` AS `c`
ORDER BY `c`.`CustomerID`
""");
}

public override async Task Select_bitwise_and(bool async)
{
await base.Select_bitwise_and(async);

AssertSql(
"""
SELECT `c`.`CustomerID`, FALSE AS `Value`
FROM `Customers` AS `c`
ORDER BY `c`.`CustomerID`
""");
}

public override async Task Select_bitwise_and_or(bool async)
{
await base.Select_bitwise_and_or(async);

AssertSql(
"""
SELECT `c`.`CustomerID`, `c`.`CustomerID` = 'ANTON' AS `Value`
FROM `Customers` AS `c`
ORDER BY `c`.`CustomerID`
""");
}

public override async Task Where_bitwise_or_with_logical_or(bool async)

Check failure on line 41 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_or_with_logical_or(bool)': no suitable method found to override

Check failure on line 41 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_or_with_logical_or(bool)': no suitable method found to override

Check failure on line 41 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_or_with_logical_or(bool)': no suitable method found to override

Check failure on line 41 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_or_with_logical_or(bool)': no suitable method found to override

Check failure on line 41 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.5.2-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_or_with_logical_or(bool)': no suitable method found to override

Check failure on line 41 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.5.2-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_or_with_logical_or(bool)': no suitable method found to override

Check failure on line 41 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_or_with_logical_or(bool)': no suitable method found to override
{
await base.Where_bitwise_or_with_logical_or(async);

Expand All @@ -90,7 +50,7 @@
""");
}

public override async Task Where_bitwise_and_with_logical_and(bool async)

Check failure on line 53 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_and_with_logical_and(bool)': no suitable method found to override

Check failure on line 53 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_and_with_logical_and(bool)': no suitable method found to override

Check failure on line 53 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_and_with_logical_and(bool)': no suitable method found to override

Check failure on line 53 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_and_with_logical_and(bool)': no suitable method found to override

Check failure on line 53 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.5.2-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_and_with_logical_and(bool)': no suitable method found to override

Check failure on line 53 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.5.2-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_and_with_logical_and(bool)': no suitable method found to override

Check failure on line 53 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_and_with_logical_and(bool)': no suitable method found to override
{
await base.Where_bitwise_and_with_logical_and(async);

Expand All @@ -102,7 +62,7 @@
""");
}

public override async Task Where_bitwise_or_with_logical_and(bool async)

Check failure on line 65 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_or_with_logical_and(bool)': no suitable method found to override

Check failure on line 65 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_or_with_logical_and(bool)': no suitable method found to override

Check failure on line 65 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_or_with_logical_and(bool)': no suitable method found to override

Check failure on line 65 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.5.2-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_or_with_logical_and(bool)': no suitable method found to override

Check failure on line 65 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.5.2-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_or_with_logical_and(bool)': no suitable method found to override

Check failure on line 65 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_or_with_logical_and(bool)': no suitable method found to override
{
await base.Where_bitwise_or_with_logical_and(async);

Expand All @@ -114,7 +74,7 @@
""");
}

public override async Task Where_bitwise_and_with_logical_or(bool async)

Check failure on line 77 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_and_with_logical_or(bool)': no suitable method found to override

Check failure on line 77 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_and_with_logical_or(bool)': no suitable method found to override

Check failure on line 77 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_and_with_logical_or(bool)': no suitable method found to override

Check failure on line 77 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.5.2-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_and_with_logical_or(bool)': no suitable method found to override

Check failure on line 77 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (11.5.2-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_and_with_logical_or(bool)': no suitable method found to override

Check failure on line 77 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_and_with_logical_or(bool)': no suitable method found to override
{
await base.Where_bitwise_and_with_logical_or(async);

Expand All @@ -126,7 +86,7 @@
""");
}

public override async Task Where_bitwise_binary_not(bool async)

Check failure on line 89 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_binary_not(bool)': no suitable method found to override

Check failure on line 89 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_binary_not(bool)': no suitable method found to override

Check failure on line 89 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_binary_not(bool)': no suitable method found to override
{
await base.Where_bitwise_binary_not(async);

Expand All @@ -138,7 +98,7 @@
WHERE CAST(~`o`.`OrderID` AS signed) = @__negatedId_0");
}

public override async Task Where_bitwise_binary_and(bool async)

Check failure on line 101 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_binary_and(bool)': no suitable method found to override

Check failure on line 101 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_binary_and(bool)': no suitable method found to override
{
await base.Where_bitwise_binary_and(async);

Expand All @@ -150,7 +110,7 @@
""");
}

public override async Task Where_bitwise_binary_or(bool async)

Check failure on line 113 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_binary_or(bool)': no suitable method found to override

Check failure on line 113 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

'NorthwindMiscellaneousQueryMySqlTest.Where_bitwise_binary_or(bool)': no suitable method found to override
{
await base.Where_bitwise_binary_or(async);

Expand All @@ -162,29 +122,9 @@
""");
}

public override async Task Select_bitwise_or_with_logical_or(bool async)
{
await base.Select_bitwise_or_with_logical_or(async);

AssertSql(
"""
SELECT `c`.`CustomerID`, `c`.`CustomerID` IN ('ALFKI', 'ANATR', 'ANTON') AS `Value`
FROM `Customers` AS `c`
ORDER BY `c`.`CustomerID`
""");
}

public override async Task Select_bitwise_and_with_logical_and(bool async)
{
await base.Select_bitwise_and_with_logical_and(async);

AssertSql(
"""
SELECT `c`.`CustomerID`, FALSE AS `Value`
FROM `Customers` AS `c`
ORDER BY `c`.`CustomerID`
""");
}

[ConditionalTheory]
public override async Task Take_Skip(bool async)
Expand Down
Loading