NullSemanticsQueryTestBase<TTestStore, TFixture> NullSemanticsQueryTestBase(Of TTestStore, TFixture) Class

Syntax

Declaration

public abstract class NullSemanticsQueryTestBase<TTestStore, TFixture> : IClassFixture<TFixture>, IDisposable where TTestStore : TestStore where TFixture : NullSemanticsQueryRelationalFixture<TTestStore>, new ()Public MustInherit Class NullSemanticsQueryTestBase(Of TTestStore As TestStore, TFixture As {NullSemanticsQueryRelationalFixture(Of TTestStore), New})
    Inherits IClassFixture(Of TFixture)
    Implements IDisposable

Type Parameters

TTestStore
TFixture

Inheritance Hierarchy

  • System.Object
    System.Object
  • NullSemanticsQueryTestBase<TTestStore, TFixture>
    NullSemanticsQueryTestBase(Of TTestStore, TFixture)

Constructors summary

Properties summary

Methods summary

Constructors

  • NullSemanticsQueryTestBase(TFixture)
    NullSemanticsQueryTestBase(TFixture)
    protected NullSemanticsQueryTestBase(TFixture fixture)Protected Sub New(fixture As TFixture)

    Parameters

    • fixture
      TFixture
      TFixture

Properties

  • Fixture
    Fixture
    protected TFixture Fixture { get; }Protected ReadOnly Property Fixture As TFixture

    Property Value

    • TFixture
      TFixture
  • TestStore
    TestStore
    protected TTestStore TestStore { get; }Protected ReadOnly Property TestStore As TTestStore

    Property Value

    • TTestStore
      TTestStore

Methods

  • AssertQuery<TItem>(Func<IQueryable<TItem>, IQueryable<TItem>>, Boolean)
    AssertQuery(Of TItem)(Func(Of IQueryable(Of TItem), IQueryable(Of TItem)), Boolean)
    protected void AssertQuery<TItem>(Func<IQueryable<TItem>, IQueryable<TItem>> query, bool useDatabaseNullSemantics = false)where TItem : NullSemanticsEntityBaseProtected Sub AssertQuery(Of TItem As NullSemanticsEntityBase)(query As Func(Of IQueryable(Of TItem), IQueryable(Of TItem)), useDatabaseNullSemantics As Boolean = False)

    Parameters

    • query
      System.Func<T, TResult><System.Linq.IQueryable<T><TItem>, System.Linq.IQueryable<T><TItem>>
      System.Func<T, TResult>(Of System.Linq.IQueryable<T>(Of TItem), System.Linq.IQueryable<T>(Of TItem))
    • useDatabaseNullSemantics
      System.Boolean
      System.Boolean
  • AssertQuery<TItem>(Func<IQueryable<TItem>, IQueryable<TItem>>, Func<IQueryable<TItem>, IQueryable<TItem>>, Boolean)
    AssertQuery(Of TItem)(Func(Of IQueryable(Of TItem), IQueryable(Of TItem)), Func(Of IQueryable(Of TItem), IQueryable(Of TItem)), Boolean)
    protected void AssertQuery<TItem>(Func<IQueryable<TItem>, IQueryable<TItem>> l2eQuery, Func<IQueryable<TItem>, IQueryable<TItem>> l2oQuery, bool useRelationalNulls)where TItem : NullSemanticsEntityBaseProtected Sub AssertQuery(Of TItem As NullSemanticsEntityBase)(l2eQuery As Func(Of IQueryable(Of TItem), IQueryable(Of TItem)), l2oQuery As Func(Of IQueryable(Of TItem), IQueryable(Of TItem)), useRelationalNulls As Boolean)

    Parameters

    • l2eQuery
      System.Func<T, TResult><System.Linq.IQueryable<T><TItem>, System.Linq.IQueryable<T><TItem>>
      System.Func<T, TResult>(Of System.Linq.IQueryable<T>(Of TItem), System.Linq.IQueryable<T>(Of TItem))
    • l2oQuery
      System.Func<T, TResult><System.Linq.IQueryable<T><TItem>, System.Linq.IQueryable<T><TItem>>
      System.Func<T, TResult>(Of System.Linq.IQueryable<T>(Of TItem), System.Linq.IQueryable<T>(Of TItem))
    • useRelationalNulls
      System.Boolean
      System.Boolean
  • Compare_bool_with_bool_equal()
    Compare_bool_with_bool_equal()
    public virtual void Compare_bool_with_bool_equal()Public Overridable Sub Compare_bool_with_bool_equal
  • Compare_bool_with_bool_equal_negated()
    Compare_bool_with_bool_equal_negated()
    public virtual void Compare_bool_with_bool_equal_negated()Public Overridable Sub Compare_bool_with_bool_equal_negated
  • Compare_bool_with_bool_not_equal()
    Compare_bool_with_bool_not_equal()
    public virtual void Compare_bool_with_bool_not_equal()Public Overridable Sub Compare_bool_with_bool_not_equal
  • Compare_bool_with_bool_not_equal_negated()
    Compare_bool_with_bool_not_equal_negated()
    public virtual void Compare_bool_with_bool_not_equal_negated()Public Overridable Sub Compare_bool_with_bool_not_equal_negated
  • Compare_bool_with_negated_bool_equal()
    Compare_bool_with_negated_bool_equal()
    public virtual void Compare_bool_with_negated_bool_equal()Public Overridable Sub Compare_bool_with_negated_bool_equal
  • Compare_bool_with_negated_bool_equal_negated()
    Compare_bool_with_negated_bool_equal_negated()
    public virtual void Compare_bool_with_negated_bool_equal_negated()Public Overridable Sub Compare_bool_with_negated_bool_equal_negated
  • Compare_bool_with_negated_bool_not_equal()
    Compare_bool_with_negated_bool_not_equal()
    public virtual void Compare_bool_with_negated_bool_not_equal()Public Overridable Sub Compare_bool_with_negated_bool_not_equal
  • Compare_bool_with_negated_bool_not_equal_negated()
    Compare_bool_with_negated_bool_not_equal_negated()
    public virtual void Compare_bool_with_negated_bool_not_equal_negated()Public Overridable Sub Compare_bool_with_negated_bool_not_equal_negated
  • Compare_complex_equal_equal_equal()
    Compare_complex_equal_equal_equal()
    public virtual void Compare_complex_equal_equal_equal()Public Overridable Sub Compare_complex_equal_equal_equal
  • Compare_complex_equal_not_equal_equal()
    Compare_complex_equal_not_equal_equal()
    public virtual void Compare_complex_equal_not_equal_equal()Public Overridable Sub Compare_complex_equal_not_equal_equal
  • Compare_complex_not_equal_equal_equal()
    Compare_complex_not_equal_equal_equal()
    public virtual void Compare_complex_not_equal_equal_equal()Public Overridable Sub Compare_complex_not_equal_equal_equal
  • Compare_complex_not_equal_equal_not_equal()
    Compare_complex_not_equal_equal_not_equal()
    public virtual void Compare_complex_not_equal_equal_not_equal()Public Overridable Sub Compare_complex_not_equal_equal_not_equal
  • Compare_complex_not_equal_not_equal_equal()
    Compare_complex_not_equal_not_equal_equal()
    public virtual void Compare_complex_not_equal_not_equal_equal()Public Overridable Sub Compare_complex_not_equal_not_equal_equal
  • Compare_complex_not_equal_not_equal_not_equal()
    Compare_complex_not_equal_not_equal_not_equal()
    public virtual void Compare_complex_not_equal_not_equal_not_equal()Public Overridable Sub Compare_complex_not_equal_not_equal_not_equal
  • Compare_equals_method()
    Compare_equals_method()
    public virtual void Compare_equals_method()Public Overridable Sub Compare_equals_method
  • Compare_equals_method_negated()
    Compare_equals_method_negated()
    public virtual void Compare_equals_method_negated()Public Overridable Sub Compare_equals_method_negated
  • Compare_negated_bool_with_bool_equal()
    Compare_negated_bool_with_bool_equal()
    public virtual void Compare_negated_bool_with_bool_equal()Public Overridable Sub Compare_negated_bool_with_bool_equal
  • Compare_negated_bool_with_bool_equal_negated()
    Compare_negated_bool_with_bool_equal_negated()
    public virtual void Compare_negated_bool_with_bool_equal_negated()Public Overridable Sub Compare_negated_bool_with_bool_equal_negated
  • Compare_negated_bool_with_bool_not_equal()
    Compare_negated_bool_with_bool_not_equal()
    public virtual void Compare_negated_bool_with_bool_not_equal()Public Overridable Sub Compare_negated_bool_with_bool_not_equal
  • Compare_negated_bool_with_bool_not_equal_negated()
    Compare_negated_bool_with_bool_not_equal_negated()
    public virtual void Compare_negated_bool_with_bool_not_equal_negated()Public Overridable Sub Compare_negated_bool_with_bool_not_equal_negated
  • Compare_negated_bool_with_negated_bool_equal()
    Compare_negated_bool_with_negated_bool_equal()
    public virtual void Compare_negated_bool_with_negated_bool_equal()Public Overridable Sub Compare_negated_bool_with_negated_bool_equal
  • Compare_negated_bool_with_negated_bool_equal_negated()
    Compare_negated_bool_with_negated_bool_equal_negated()
    public virtual void Compare_negated_bool_with_negated_bool_equal_negated()Public Overridable Sub Compare_negated_bool_with_negated_bool_equal_negated
  • Compare_negated_bool_with_negated_bool_not_equal()
    Compare_negated_bool_with_negated_bool_not_equal()
    public virtual void Compare_negated_bool_with_negated_bool_not_equal()Public Overridable Sub Compare_negated_bool_with_negated_bool_not_equal
  • Compare_negated_bool_with_negated_bool_not_equal_negated()
    Compare_negated_bool_with_negated_bool_not_equal_negated()
    public virtual void Compare_negated_bool_with_negated_bool_not_equal_negated()Public Overridable Sub Compare_negated_bool_with_negated_bool_not_equal_negated
  • Compare_nullable_with_non_null_parameter_not_equal()
    Compare_nullable_with_non_null_parameter_not_equal()
    public virtual void Compare_nullable_with_non_null_parameter_not_equal()Public Overridable Sub Compare_nullable_with_non_null_parameter_not_equal
  • Compare_nullable_with_null_parameter_equal()
    Compare_nullable_with_null_parameter_equal()
    public virtual void Compare_nullable_with_null_parameter_equal()Public Overridable Sub Compare_nullable_with_null_parameter_equal
  • Contains_with_local_array_closure_false_with_null()
    Contains_with_local_array_closure_false_with_null()
    public virtual void Contains_with_local_array_closure_false_with_null()Public Overridable Sub Contains_with_local_array_closure_false_with_null
  • Contains_with_local_array_closure_with_multiple_nulls()
    Contains_with_local_array_closure_with_multiple_nulls()
    public virtual void Contains_with_local_array_closure_with_multiple_nulls()Public Overridable Sub Contains_with_local_array_closure_with_multiple_nulls
  • Contains_with_local_array_closure_with_null()
    Contains_with_local_array_closure_with_null()
    public virtual void Contains_with_local_array_closure_with_null()Public Overridable Sub Contains_with_local_array_closure_with_null
  • CreateContext(Boolean)
    CreateContext(Boolean)
    protected NullSemanticsContext CreateContext(bool useRelationalNulls = false)Protected Function CreateContext(useRelationalNulls As Boolean = False) As NullSemanticsContext

    Parameters

    • useRelationalNulls
      System.Boolean
      System.Boolean

    Returns

  • Dispose()
    Dispose()
    public void Dispose()Public Sub Dispose
  • From_sql_composed_with_relational_null_comparison()
    From_sql_composed_with_relational_null_comparison()
    public virtual void From_sql_composed_with_relational_null_comparison()Public Overridable Sub From_sql_composed_with_relational_null_comparison
  • Join_uses_database_semantics()
    Join_uses_database_semantics()
    public virtual void Join_uses_database_semantics()Public Overridable Sub Join_uses_database_semantics
  • Switching_null_semantics_produces_different_cache_entry()
    Switching_null_semantics_produces_different_cache_entry()
    public virtual void Switching_null_semantics_produces_different_cache_entry()Public Overridable Sub Switching_null_semantics_produces_different_cache_entry
  • Switching_parameter_value_to_null_produces_different_cache_entry()
    Switching_parameter_value_to_null_produces_different_cache_entry()
    public virtual void Switching_parameter_value_to_null_produces_different_cache_entry()Public Overridable Sub Switching_parameter_value_to_null_produces_different_cache_entry
  • Where_coalesce()
    Where_coalesce()
    public virtual void Where_coalesce()Public Overridable Sub Where_coalesce
  • Where_comparison_nonnull_constant_and_null_parameter()
    Where_comparison_nonnull_constant_and_null_parameter()
    public virtual void Where_comparison_nonnull_constant_and_null_parameter()Public Overridable Sub Where_comparison_nonnull_constant_and_null_parameter
  • Where_comparison_null_constant_and_nonnull_parameter()
    Where_comparison_null_constant_and_nonnull_parameter()
    public virtual void Where_comparison_null_constant_and_nonnull_parameter()Public Overridable Sub Where_comparison_null_constant_and_nonnull_parameter
  • Where_comparison_null_constant_and_null_parameter()
    Where_comparison_null_constant_and_null_parameter()
    public virtual void Where_comparison_null_constant_and_null_parameter()Public Overridable Sub Where_comparison_null_constant_and_null_parameter
  • Where_comparison_null_semantics_optimization_works_with_complex_predicates()
    Where_comparison_null_semantics_optimization_works_with_complex_predicates()
    public virtual void Where_comparison_null_semantics_optimization_works_with_complex_predicates()Public Overridable Sub Where_comparison_null_semantics_optimization_works_with_complex_predicates
  • Where_conditional_search_condition_in_result()
    Where_conditional_search_condition_in_result()
    public virtual void Where_conditional_search_condition_in_result()Public Overridable Sub Where_conditional_search_condition_in_result
  • Where_equal_nullable_with_null_value_parameter()
    Where_equal_nullable_with_null_value_parameter()
    public virtual void Where_equal_nullable_with_null_value_parameter()Public Overridable Sub Where_equal_nullable_with_null_value_parameter
  • Where_equal_using_relational_null_semantics()
    Where_equal_using_relational_null_semantics()
    public virtual void Where_equal_using_relational_null_semantics()Public Overridable Sub Where_equal_using_relational_null_semantics
  • Where_equal_using_relational_null_semantics_complex_with_parameter()
    Where_equal_using_relational_null_semantics_complex_with_parameter()
    public virtual void Where_equal_using_relational_null_semantics_complex_with_parameter()Public Overridable Sub Where_equal_using_relational_null_semantics_complex_with_parameter
  • Where_equal_using_relational_null_semantics_with_parameter()
    Where_equal_using_relational_null_semantics_with_parameter()
    public virtual void Where_equal_using_relational_null_semantics_with_parameter()Public Overridable Sub Where_equal_using_relational_null_semantics_with_parameter
  • Where_equal_with_and_and_contains()
    Where_equal_with_and_and_contains()
    public virtual void Where_equal_with_and_and_contains()Public Overridable Sub Where_equal_with_and_and_contains
  • Where_equal_with_coalesce()
    Where_equal_with_coalesce()
    public virtual void Where_equal_with_coalesce()Public Overridable Sub Where_equal_with_coalesce
  • Where_equal_with_coalesce_both_sides()
    Where_equal_with_coalesce_both_sides()
    public virtual void Where_equal_with_coalesce_both_sides()Public Overridable Sub Where_equal_with_coalesce_both_sides
  • Where_equal_with_conditional()
    Where_equal_with_conditional()
    public virtual void Where_equal_with_conditional()Public Overridable Sub Where_equal_with_conditional
  • Where_equal_with_conditional_non_nullable()
    Where_equal_with_conditional_non_nullable()
    public virtual void Where_equal_with_conditional_non_nullable()Public Overridable Sub Where_equal_with_conditional_non_nullable
  • Where_multiple_ands_with_null()
    Where_multiple_ands_with_null()
    public virtual void Where_multiple_ands_with_null()Public Overridable Sub Where_multiple_ands_with_null
  • Where_multiple_ands_with_nullable_parameter_and_constant()
    Where_multiple_ands_with_nullable_parameter_and_constant()
    public virtual void Where_multiple_ands_with_nullable_parameter_and_constant()Public Overridable Sub Where_multiple_ands_with_nullable_parameter_and_constant
  • Where_multiple_ands_with_nullable_parameter_and_constant_not_optimized()
    Where_multiple_ands_with_nullable_parameter_and_constant_not_optimized()
    public virtual void Where_multiple_ands_with_nullable_parameter_and_constant_not_optimized()Public Overridable Sub Where_multiple_ands_with_nullable_parameter_and_constant_not_optimized
  • Where_multiple_ors_with_null()
    Where_multiple_ors_with_null()
    public virtual void Where_multiple_ors_with_null()Public Overridable Sub Where_multiple_ors_with_null
  • Where_multiple_ors_with_nullable_parameter()
    Where_multiple_ors_with_nullable_parameter()
    public virtual void Where_multiple_ors_with_nullable_parameter()Public Overridable Sub Where_multiple_ors_with_nullable_parameter
  • Where_nested_conditional_search_condition_in_result()
    Where_nested_conditional_search_condition_in_result()
    public virtual void Where_nested_conditional_search_condition_in_result()Public Overridable Sub Where_nested_conditional_search_condition_in_result
  • Where_not_equal_nullable_with_null_value_parameter()
    Where_not_equal_nullable_with_null_value_parameter()
    public virtual void Where_not_equal_nullable_with_null_value_parameter()Public Overridable Sub Where_not_equal_nullable_with_null_value_parameter
  • Where_not_equal_using_relational_null_semantics()
    Where_not_equal_using_relational_null_semantics()
    public virtual void Where_not_equal_using_relational_null_semantics()Public Overridable Sub Where_not_equal_using_relational_null_semantics
  • Where_not_equal_using_relational_null_semantics_complex_with_parameter()
    Where_not_equal_using_relational_null_semantics_complex_with_parameter()
    public virtual void Where_not_equal_using_relational_null_semantics_complex_with_parameter()Public Overridable Sub Where_not_equal_using_relational_null_semantics_complex_with_parameter
  • Where_not_equal_using_relational_null_semantics_with_parameter()
    Where_not_equal_using_relational_null_semantics_with_parameter()
    public virtual void Where_not_equal_using_relational_null_semantics_with_parameter()Public Overridable Sub Where_not_equal_using_relational_null_semantics_with_parameter
  • Where_not_equal_with_coalesce()
    Where_not_equal_with_coalesce()
    public virtual void Where_not_equal_with_coalesce()Public Overridable Sub Where_not_equal_with_coalesce
  • Where_not_equal_with_coalesce_both_sides()
    Where_not_equal_with_coalesce_both_sides()
    public virtual void Where_not_equal_with_coalesce_both_sides()Public Overridable Sub Where_not_equal_with_coalesce_both_sides
  • Where_not_equal_with_conditional()
    Where_not_equal_with_conditional()
    public virtual void Where_not_equal_with_conditional()Public Overridable Sub Where_not_equal_with_conditional
  • Where_nullable_bool()
    Where_nullable_bool()
    public virtual void Where_nullable_bool()Public Overridable Sub Where_nullable_bool
  • Where_nullable_bool_equal_with_constant()
    Where_nullable_bool_equal_with_constant()
    public virtual void Where_nullable_bool_equal_with_constant()Public Overridable Sub Where_nullable_bool_equal_with_constant
  • Where_nullable_bool_with_null_check()
    Where_nullable_bool_with_null_check()
    public virtual void Where_nullable_bool_with_null_check()Public Overridable Sub Where_nullable_bool_with_null_check

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.Specification.Tests.dll