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

Definition

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
System.ObjectSystem.Object
FieldMappingTestBase<TTestStore, TFixture>FieldMappingTestBase(Of TTestStore, TFixture)
Implements
System.IDisposableSystem.IDisposable

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
Value
TFixture TFixture

TestStore TestStore

protected TTestStore TestStore { get; }
Protected ReadOnly Property TestStore As TTestStore
Value
TTestStore TTestStore

Methods

AssertGraph(IEnumerable<>.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
blogs
System.Collections.Generic.IEnumerable<FieldMappingTestBase.IBlogAccesor<>> System.Collections.Generic.IEnumerable(Of FieldMappingTestBase.IBlogAccesor(Of ))
updated
System.String System.String

AssertGraph(IEnumerable<>.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
posts
System.Collections.Generic.IEnumerable<FieldMappingTestBase.IPostAccesor<>> System.Collections.Generic.IEnumerable(Of FieldMappingTestBase.IPostAccesor(Of ))

CreateBlogAndPosts() 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
Type Parameters
TBlog
TPost
Returns
TBlog TBlog

CreateContext() CreateContext()

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

CreatePostsAndBlog() 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)
Type Parameters
TBlog
TPost
Returns
System.Collections.Generic.IList<TPost> System.Collections.Generic.IList(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(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)
Type Parameters
TBlog
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(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)
Type Parameters
TPost
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(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)
Type Parameters
TPost
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(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)
Type Parameters
TPost
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(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)
Type Parameters
TPost
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(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)
Type Parameters
TBlog
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