Skip to content

Commit

Permalink
Allow to configure provider value comparer
Browse files Browse the repository at this point in the history
Fixes #27738
  • Loading branch information
AndriySvyryd committed Apr 30, 2022
1 parent 0dc7cad commit 9a7e792
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1318,7 +1318,7 @@ protected override void ValidateInheritanceMapping(
var mappingStrategy = (string?)entityType[RelationalAnnotationNames.MappingStrategy];
if (mappingStrategy != null)
{
ValidateMappingStrategy(mappingStrategy, entityType);
ValidateMappingStrategy(entityType, mappingStrategy);
var storeObject = entityType.GetSchemaQualifiedTableName()
?? entityType.GetSchemaQualifiedViewName()
?? entityType.GetFunctionName();
Expand Down Expand Up @@ -1389,9 +1389,9 @@ protected override void ValidateInheritanceMapping(
/// <summary>
/// Validates that the given mapping strategy is supported
/// </summary>
/// <param name="mappingStrategy">The mapping strategy.</param>
/// <param name="entityType">The entity type.</param>
protected virtual void ValidateMappingStrategy(string? mappingStrategy, IEntityType entityType)
/// <param name="mappingStrategy">The mapping strategy.</param>
protected virtual void ValidateMappingStrategy(IEntityType entityType, string? mappingStrategy)
{
switch (mappingStrategy)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ public Fuel(double volume)
public double Volume { get; }
}

[ConditionalFact(Skip = "Issue #27738")]
[ConditionalFact]
public virtual void Can_insert_and_read_back_with_case_insensitive_string_key()
{
using (var context = CreateContext())
Expand Down

0 comments on commit 9a7e792

Please sign in to comment.