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

Syntax

Declaration

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

Type Parameters

TTestStore
TFixture

Inheritance Hierarchy

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

Constructors summary

Properties summary

Methods summary

Constructors

  • FieldMappingTestBase(TFixture)
    FieldMappingTestBase(TFixture)
    protected FieldMappingTestBase(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

  • AssertGraph(IEnumerable<FieldMappingTestBase<TTestStore, TFixture>.IBlogAccesor>, String)
    AssertGraph(IEnumerable(Of FieldMappingTestBase(Of TTestStore, TFixture).IBlogAccesor), String)
    protected void AssertGraph(IEnumerable<FieldMappingTestBase<TTestStore, TFixture>.IBlogAccesor> blogs, string updated = "")Protected Sub AssertGraph(blogs As IEnumerable(Of FieldMappingTestBase(Of TTestStore, TFixture).IBlogAccesor), updated As String = "")

    Parameters

  • AssertGraph(IEnumerable<FieldMappingTestBase<TTestStore, TFixture>.IPostAccesor>)
    AssertGraph(IEnumerable(Of FieldMappingTestBase(Of TTestStore, TFixture).IPostAccesor))
    protected void AssertGraph(IEnumerable<FieldMappingTestBase<TTestStore, TFixture>.IPostAccesor> posts)Protected Sub AssertGraph(posts As IEnumerable(Of FieldMappingTestBase(Of TTestStore, TFixture).IPostAccesor))

    Parameters

  • CreateBlogAndPosts<TBlog, TPost>()
    CreateBlogAndPosts(Of TBlog, TPost)()
    protected static TBlog CreateBlogAndPosts<TBlog, TPost>()where TBlog : FieldMappingTestBase<TTestStore, TFixture>.IBlogAccesor, new ()where TPost : FieldMappingTestBase<TTestStore, TFixture>.IPostAccesor, new ()Protected Shared Function CreateBlogAndPosts(Of TBlog As {FieldMappingTestBase(Of TTestStore, TFixture).IBlogAccesor, New}, TPost As {FieldMappingTestBase(Of TTestStore, TFixture).IPostAccesor, New}) As TBlog

    Returns

    • TBlog
      TBlog
  • CreateContext()
    CreateContext()
    protected FieldMappingTestBase<TTestStore, TFixture>.FieldMappingContext CreateContext()Protected Function CreateContext As FieldMappingTestBase(Of TTestStore, TFixture).FieldMappingContext

    Returns

  • CreatePostsAndBlog<TBlog, TPost>()
    CreatePostsAndBlog(Of TBlog, TPost)()
    protected static IList<TPost> CreatePostsAndBlog<TBlog, TPost>()where TBlog : FieldMappingTestBase<TTestStore, TFixture>.IBlogAccesor, new ()where TPost : FieldMappingTestBase<TTestStore, TFixture>.IPostAccesor, new ()Protected Shared Function CreatePostsAndBlog(Of TBlog As {FieldMappingTestBase(Of TTestStore, TFixture).IBlogAccesor, New}, TPost As {FieldMappingTestBase(Of TTestStore, TFixture).IPostAccesor, New}) As IList(Of TPost)

    Returns

    • System.Collections.Generic.IList<T><TPost>
      System.Collections.Generic.IList<T>(Of TPost)
  • Dispose()
    Dispose()
    public void Dispose()Public Sub Dispose
  • Include_collection_auto_props()
    Include_collection_auto_props()
    public virtual void Include_collection_auto_props()Public Overridable Sub Include_collection_auto_props
  • Include_collection_fields_only()
    Include_collection_fields_only()
    public virtual void Include_collection_fields_only()Public Overridable Sub Include_collection_fields_only
  • Include_collection_full_props()
    Include_collection_full_props()
    public virtual void Include_collection_full_props()Public Overridable Sub Include_collection_full_props
  • Include_collection_full_props_with_named_fields()
    Include_collection_full_props_with_named_fields()
    public virtual void Include_collection_full_props_with_named_fields()Public Overridable Sub Include_collection_full_props_with_named_fields
  • Include_collection_read_only_props()
    Include_collection_read_only_props()
    public virtual void Include_collection_read_only_props()Public Overridable Sub Include_collection_read_only_props
  • Include_collection_read_only_props_with_named_fields()
    Include_collection_read_only_props_with_named_fields()
    public virtual void Include_collection_read_only_props_with_named_fields()Public Overridable Sub Include_collection_read_only_props_with_named_fields
  • Include_collection_write_only_props()
    Include_collection_write_only_props()
    public virtual void Include_collection_write_only_props()Public Overridable Sub Include_collection_write_only_props
  • Include_collection_write_only_props_with_named_fields()
    Include_collection_write_only_props_with_named_fields()
    public virtual void Include_collection_write_only_props_with_named_fields()Public Overridable Sub Include_collection_write_only_props_with_named_fields
  • Include_reference_auto_props()
    Include_reference_auto_props()
    public virtual void Include_reference_auto_props()Public Overridable Sub Include_reference_auto_props
  • Include_reference_fields_only()
    Include_reference_fields_only()
    public virtual void Include_reference_fields_only()Public Overridable Sub Include_reference_fields_only
  • Include_reference_full_props()
    Include_reference_full_props()
    public virtual void Include_reference_full_props()Public Overridable Sub Include_reference_full_props
  • Include_reference_full_props_with_named_fields()
    Include_reference_full_props_with_named_fields()
    public virtual void Include_reference_full_props_with_named_fields()Public Overridable Sub Include_reference_full_props_with_named_fields
  • Include_reference_read_only_props()
    Include_reference_read_only_props()
    public virtual void Include_reference_read_only_props()Public Overridable Sub Include_reference_read_only_props
  • Include_reference_read_only_props_with_named_fields()
    Include_reference_read_only_props_with_named_fields()
    public virtual void Include_reference_read_only_props_with_named_fields()Public Overridable Sub Include_reference_read_only_props_with_named_fields
  • Include_reference_write_only_props()
    Include_reference_write_only_props()
    public virtual void Include_reference_write_only_props()Public Overridable Sub Include_reference_write_only_props
  • Include_reference_write_only_props_with_named_fields()
    Include_reference_write_only_props_with_named_fields()
    public virtual void Include_reference_write_only_props_with_named_fields()Public Overridable Sub Include_reference_write_only_props_with_named_fields
  • Load_collection_auto_props()
    Load_collection_auto_props()
    public virtual void Load_collection_auto_props()Public Overridable Sub Load_collection_auto_props
  • Load_collection_fields_only()
    Load_collection_fields_only()
    public virtual void Load_collection_fields_only()Public Overridable Sub Load_collection_fields_only
  • Load_collection_full_props()
    Load_collection_full_props()
    public virtual void Load_collection_full_props()Public Overridable Sub Load_collection_full_props
  • Load_collection_full_props_with_named_fields()
    Load_collection_full_props_with_named_fields()
    public virtual void Load_collection_full_props_with_named_fields()Public Overridable Sub Load_collection_full_props_with_named_fields
  • Load_collection_read_only_props()
    Load_collection_read_only_props()
    public virtual void Load_collection_read_only_props()Public Overridable Sub Load_collection_read_only_props
  • Load_collection_read_only_props_with_named_fields()
    Load_collection_read_only_props_with_named_fields()
    public virtual void Load_collection_read_only_props_with_named_fields()Public Overridable Sub Load_collection_read_only_props_with_named_fields
  • Load_collection_write_only_props()
    Load_collection_write_only_props()
    public virtual void Load_collection_write_only_props()Public Overridable Sub Load_collection_write_only_props
  • Load_collection_write_only_props_with_named_fields()
    Load_collection_write_only_props_with_named_fields()
    public virtual void Load_collection_write_only_props_with_named_fields()Public Overridable Sub Load_collection_write_only_props_with_named_fields
  • Load_collection<TBlog>(String)
    Load_collection(Of TBlog)(String)
    protected virtual void Load_collection<TBlog>(string navigation)where TBlog : class, FieldMappingTestBase<TTestStore, TFixture>.IBlogAccesor, new ()Protected Overridable Sub Load_collection(Of TBlog As {Class, FieldMappingTestBase(Of TTestStore, TFixture).IBlogAccesor, New})(navigation As String)

    Parameters

    • navigation
      System.String
      System.String
  • Load_reference_auto_props()
    Load_reference_auto_props()
    public virtual void Load_reference_auto_props()Public Overridable Sub Load_reference_auto_props
  • Load_reference_fields_only()
    Load_reference_fields_only()
    public virtual void Load_reference_fields_only()Public Overridable Sub Load_reference_fields_only
  • Load_reference_full_props()
    Load_reference_full_props()
    public virtual void Load_reference_full_props()Public Overridable Sub Load_reference_full_props
  • Load_reference_full_props_with_named_fields()
    Load_reference_full_props_with_named_fields()
    public virtual void Load_reference_full_props_with_named_fields()Public Overridable Sub Load_reference_full_props_with_named_fields
  • Load_reference_read_only_props()
    Load_reference_read_only_props()
    public virtual void Load_reference_read_only_props()Public Overridable Sub Load_reference_read_only_props
  • Load_reference_read_only_props_with_named_fields()
    Load_reference_read_only_props_with_named_fields()
    public virtual void Load_reference_read_only_props_with_named_fields()Public Overridable Sub Load_reference_read_only_props_with_named_fields
  • Load_reference_write_only_props()
    Load_reference_write_only_props()
    public virtual void Load_reference_write_only_props()Public Overridable Sub Load_reference_write_only_props
  • Load_reference_write_only_props_with_named_fields()
    Load_reference_write_only_props_with_named_fields()
    public virtual void Load_reference_write_only_props_with_named_fields()Public Overridable Sub Load_reference_write_only_props_with_named_fields
  • Load_reference<TPost>(String)
    Load_reference(Of TPost)(String)
    protected virtual void Load_reference<TPost>(string navigation)where TPost : class, FieldMappingTestBase<TTestStore, TFixture>.IPostAccesor, new ()Protected Overridable Sub Load_reference(Of TPost As {Class, FieldMappingTestBase(Of TTestStore, TFixture).IPostAccesor, New})(navigation As String)

    Parameters

    • navigation
      System.String
      System.String
  • Projection_auto_props()
    Projection_auto_props()
    public virtual void Projection_auto_props()Public Overridable Sub Projection_auto_props
  • Projection_fields_only()
    Projection_fields_only()
    public virtual void Projection_fields_only()Public Overridable Sub Projection_fields_only
  • Projection_full_props()
    Projection_full_props()
    public virtual void Projection_full_props()Public Overridable Sub Projection_full_props
  • Projection_full_props_with_named_fields()
    Projection_full_props_with_named_fields()
    public virtual void Projection_full_props_with_named_fields()Public Overridable Sub Projection_full_props_with_named_fields
  • Projection_read_only_props()
    Projection_read_only_props()
    public virtual void Projection_read_only_props()Public Overridable Sub Projection_read_only_props
  • Projection_read_only_props_with_named_fields()
    Projection_read_only_props_with_named_fields()
    public virtual void Projection_read_only_props_with_named_fields()Public Overridable Sub Projection_read_only_props_with_named_fields
  • Projection_write_only_props()
    Projection_write_only_props()
    public virtual void Projection_write_only_props()Public Overridable Sub Projection_write_only_props
  • Projection_write_only_props_with_named_fields()
    Projection_write_only_props_with_named_fields()
    public virtual void Projection_write_only_props_with_named_fields()Public Overridable Sub Projection_write_only_props_with_named_fields
  • Projection<TPost>(String, String)
    Projection(Of TPost)(String, String)
    protected virtual void Projection<TPost>(string property1, string property2)where TPost : class, FieldMappingTestBase<TTestStore, TFixture>.IPostAccesor, new ()Protected Overridable Sub Projection(Of TPost As {Class, FieldMappingTestBase(Of TTestStore, TFixture).IPostAccesor, New})(property1 As String, property2 As String)

    Parameters

    • property1
      System.String
      System.String
    • property2
      System.String
      System.String
  • Query_with_conditional_constant_auto_props()
    Query_with_conditional_constant_auto_props()
    public virtual void Query_with_conditional_constant_auto_props()Public Overridable Sub Query_with_conditional_constant_auto_props
  • Query_with_conditional_constant_fields_only()
    Query_with_conditional_constant_fields_only()
    public virtual void Query_with_conditional_constant_fields_only()Public Overridable Sub Query_with_conditional_constant_fields_only
  • Query_with_conditional_constant_full_props()
    Query_with_conditional_constant_full_props()
    public virtual void Query_with_conditional_constant_full_props()Public Overridable Sub Query_with_conditional_constant_full_props
  • Query_with_conditional_constant_full_props_with_named_fields()
    Query_with_conditional_constant_full_props_with_named_fields()
    public virtual void Query_with_conditional_constant_full_props_with_named_fields()Public Overridable Sub Query_with_conditional_constant_full_props_with_named_fields
  • Query_with_conditional_constant_read_only_props()
    Query_with_conditional_constant_read_only_props()
    public virtual void Query_with_conditional_constant_read_only_props()Public Overridable Sub Query_with_conditional_constant_read_only_props
  • Query_with_conditional_constant_read_only_props_with_named_fields()
    Query_with_conditional_constant_read_only_props_with_named_fields()
    public virtual void Query_with_conditional_constant_read_only_props_with_named_fields()Public Overridable Sub Query_with_conditional_constant_read_only_props_with_named_fields
  • Query_with_conditional_constant_write_only_props()
    Query_with_conditional_constant_write_only_props()
    public virtual void Query_with_conditional_constant_write_only_props()Public Overridable Sub Query_with_conditional_constant_write_only_props
  • Query_with_conditional_constant_write_only_props_with_named_fields()
    Query_with_conditional_constant_write_only_props_with_named_fields()
    public virtual void Query_with_conditional_constant_write_only_props_with_named_fields()Public Overridable Sub Query_with_conditional_constant_write_only_props_with_named_fields
  • Query_with_conditional_constant<TPost>(String)
    Query_with_conditional_constant(Of TPost)(String)
    protected virtual void Query_with_conditional_constant<TPost>(string property)where TPost : class, FieldMappingTestBase<TTestStore, TFixture>.IPostAccesor, new ()Protected Overridable Sub Query_with_conditional_constant(Of TPost As {Class, FieldMappingTestBase(Of TTestStore, TFixture).IPostAccesor, New})(property As String)

    Parameters

    • property
      System.String
      System.String
  • Query_with_conditional_param_auto_props()
    Query_with_conditional_param_auto_props()
    public virtual void Query_with_conditional_param_auto_props()Public Overridable Sub Query_with_conditional_param_auto_props
  • Query_with_conditional_param_fields_only()
    Query_with_conditional_param_fields_only()
    public virtual void Query_with_conditional_param_fields_only()Public Overridable Sub Query_with_conditional_param_fields_only
  • Query_with_conditional_param_full_props()
    Query_with_conditional_param_full_props()
    public virtual void Query_with_conditional_param_full_props()Public Overridable Sub Query_with_conditional_param_full_props
  • Query_with_conditional_param_full_props_with_named_fields()
    Query_with_conditional_param_full_props_with_named_fields()
    public virtual void Query_with_conditional_param_full_props_with_named_fields()Public Overridable Sub Query_with_conditional_param_full_props_with_named_fields
  • Query_with_conditional_param_read_only_props()
    Query_with_conditional_param_read_only_props()
    public virtual void Query_with_conditional_param_read_only_props()Public Overridable Sub Query_with_conditional_param_read_only_props
  • Query_with_conditional_param_read_only_props_with_named_fields()
    Query_with_conditional_param_read_only_props_with_named_fields()
    public virtual void Query_with_conditional_param_read_only_props_with_named_fields()Public Overridable Sub Query_with_conditional_param_read_only_props_with_named_fields
  • Query_with_conditional_param_write_only_props()
    Query_with_conditional_param_write_only_props()
    public virtual void Query_with_conditional_param_write_only_props()Public Overridable Sub Query_with_conditional_param_write_only_props
  • Query_with_conditional_param_write_only_props_with_named_fields()
    Query_with_conditional_param_write_only_props_with_named_fields()
    public virtual void Query_with_conditional_param_write_only_props_with_named_fields()Public Overridable Sub Query_with_conditional_param_write_only_props_with_named_fields
  • Query_with_conditional_param<TPost>(String)
    Query_with_conditional_param(Of TPost)(String)
    protected virtual void Query_with_conditional_param<TPost>(string property)where TPost : class, FieldMappingTestBase<TTestStore, TFixture>.IPostAccesor, new ()Protected Overridable Sub Query_with_conditional_param(Of TPost As {Class, FieldMappingTestBase(Of TTestStore, TFixture).IPostAccesor, New})(property As String)

    Parameters

    • property
      System.String
      System.String
  • Update_auto_props()
    Update_auto_props()
    public virtual void Update_auto_props()Public Overridable Sub Update_auto_props
  • Update_fields_only()
    Update_fields_only()
    public virtual void Update_fields_only()Public Overridable Sub Update_fields_only
  • Update_full_props()
    Update_full_props()
    public virtual void Update_full_props()Public Overridable Sub Update_full_props
  • Update_full_props_with_named_fields()
    Update_full_props_with_named_fields()
    public virtual void Update_full_props_with_named_fields()Public Overridable Sub Update_full_props_with_named_fields
  • Update_read_only_props()
    Update_read_only_props()
    public virtual void Update_read_only_props()Public Overridable Sub Update_read_only_props
  • Update_read_only_props_with_named_fields()
    Update_read_only_props_with_named_fields()
    public virtual void Update_read_only_props_with_named_fields()Public Overridable Sub Update_read_only_props_with_named_fields
  • Update_write_only_props()
    Update_write_only_props()
    public virtual void Update_write_only_props()Public Overridable Sub Update_write_only_props
  • Update_write_only_props_with_named_fields()
    Update_write_only_props_with_named_fields()
    public virtual void Update_write_only_props_with_named_fields()Public Overridable Sub Update_write_only_props_with_named_fields
  • Update<TBlog>(String)
    Update(Of TBlog)(String)
    protected virtual void Update<TBlog>(string navigation)where TBlog : class, FieldMappingTestBase<TTestStore, TFixture>.IBlogAccesor, new ()Protected Overridable Sub Update(Of TBlog As {Class, FieldMappingTestBase(Of TTestStore, TFixture).IBlogAccesor, New})(navigation As String)

    Parameters

    • navigation
      System.String
      System.String
  • UseTransaction(DatabaseFacade, IDbContextTransaction)
    UseTransaction(DatabaseFacade, IDbContextTransaction)
    protected virtual void UseTransaction(DatabaseFacade facade, IDbContextTransaction transaction)Protected Overridable Sub UseTransaction(facade As DatabaseFacade, transaction As IDbContextTransaction)

    Parameters

Details

Assembly

Microsoft.EntityFrameworkCore.Specification.Tests.dll