ModelBuilderTest.ModelBuilderTestBase ModelBuilderTest.ModelBuilderTestBase Class

Definition

public abstract class ModelBuilderTestBase
Public MustInherit Class ModelBuilderTestBase
Inheritance
System.ObjectSystem.Object
ModelBuilderTest.ModelBuilderTestBaseModelBuilderTest.ModelBuilderTestBase

Methods

AssertEqual(IEnumerable, IEnumerable, ForeignKeyStrictComparer) AssertEqual(IEnumerable(Of IForeignKey), IEnumerable(Of IForeignKey), ForeignKeyStrictComparer)

protected void AssertEqual(IEnumerable<IForeignKey> expectedForeignKeys, IEnumerable<IForeignKey> actualForeignKeys, ForeignKeyStrictComparer foreignKeyComparer = null)
Protected Sub AssertEqual(expectedForeignKeys As IEnumerable(Of IForeignKey), actualForeignKeys As IEnumerable(Of IForeignKey), foreignKeyComparer As ForeignKeyStrictComparer = Nothing)
Parameters
expectedForeignKeys
System.Collections.Generic.IEnumerable<IForeignKey> System.Collections.Generic.IEnumerable(Of IForeignKey)
actualForeignKeys
System.Collections.Generic.IEnumerable<IForeignKey> System.Collections.Generic.IEnumerable(Of IForeignKey)

AssertEqual(IEnumerable, IEnumerable, IndexComparer) AssertEqual(IEnumerable(Of IIndex), IEnumerable(Of IIndex), IndexComparer)

protected void AssertEqual(IEnumerable<IIndex> expectedIndexes, IEnumerable<IIndex> actualIndexes, IndexComparer indexComparer = null)
Protected Sub AssertEqual(expectedIndexes As IEnumerable(Of IIndex), actualIndexes As IEnumerable(Of IIndex), indexComparer As IndexComparer = Nothing)
Parameters
expectedIndexes
System.Collections.Generic.IEnumerable<IIndex> System.Collections.Generic.IEnumerable(Of IIndex)
actualIndexes
System.Collections.Generic.IEnumerable<IIndex> System.Collections.Generic.IEnumerable(Of IIndex)

AssertEqual(IEnumerable, IEnumerable, KeyComparer) AssertEqual(IEnumerable(Of IKey), IEnumerable(Of IKey), KeyComparer)

protected void AssertEqual(IEnumerable<IKey> expectedKeys, IEnumerable<IKey> actualKeys, KeyComparer keyComparer = null)
Protected Sub AssertEqual(expectedKeys As IEnumerable(Of IKey), actualKeys As IEnumerable(Of IKey), keyComparer As KeyComparer = Nothing)
Parameters
expectedKeys
System.Collections.Generic.IEnumerable<IKey> System.Collections.Generic.IEnumerable(Of IKey)
actualKeys
System.Collections.Generic.IEnumerable<IKey> System.Collections.Generic.IEnumerable(Of IKey)
keyComparer
KeyComparer KeyComparer

AssertEqual(IEnumerable, IEnumerable, NavigationComparer) AssertEqual(IEnumerable(Of INavigation), IEnumerable(Of INavigation), NavigationComparer)

protected void AssertEqual(IEnumerable<INavigation> expectedNavigations, IEnumerable<INavigation> actualNavigations, NavigationComparer navigationComparer = null)
Protected Sub AssertEqual(expectedNavigations As IEnumerable(Of INavigation), actualNavigations As IEnumerable(Of INavigation), navigationComparer As NavigationComparer = Nothing)
Parameters
expectedNavigations
System.Collections.Generic.IEnumerable<INavigation> System.Collections.Generic.IEnumerable(Of INavigation)
actualNavigations
System.Collections.Generic.IEnumerable<INavigation> System.Collections.Generic.IEnumerable(Of INavigation)

AssertEqual(IEnumerable, IEnumerable, PropertyComparer) AssertEqual(IEnumerable(Of IProperty), IEnumerable(Of IProperty), PropertyComparer)

protected void AssertEqual(IEnumerable<IProperty> expectedProperties, IEnumerable<IProperty> actualProperties, PropertyComparer propertyComparer = null)
Protected Sub AssertEqual(expectedProperties As IEnumerable(Of IProperty), actualProperties As IEnumerable(Of IProperty), propertyComparer As PropertyComparer = Nothing)
Parameters
expectedProperties
System.Collections.Generic.IEnumerable<IProperty> System.Collections.Generic.IEnumerable(Of IProperty)
actualProperties
System.Collections.Generic.IEnumerable<IProperty> System.Collections.Generic.IEnumerable(Of IProperty)

AssertEqual(IEnumerable, IEnumerable, StringComparer) AssertEqual(IEnumerable(Of String), IEnumerable(Of String), StringComparer)

protected void AssertEqual(IEnumerable<string> expectedNames, IEnumerable<string> actualNames, StringComparer stringComparer = null)
Protected Sub AssertEqual(expectedNames As IEnumerable(Of String), actualNames As IEnumerable(Of String), stringComparer As StringComparer = Nothing)
Parameters
expectedNames
System.Collections.Generic.IEnumerable<System.String> System.Collections.Generic.IEnumerable(Of System.String)
actualNames
System.Collections.Generic.IEnumerable<System.String> System.Collections.Generic.IEnumerable(Of System.String)
stringComparer
System.StringComparer System.StringComparer

CreateModelBuilder() CreateModelBuilder()

protected virtual ModelBuilderTest.TestModelBuilder CreateModelBuilder()
Protected Overridable Function CreateModelBuilder As ModelBuilderTest.TestModelBuilder
Returns

CreateTestModelBuilder(ModelBuilder) CreateTestModelBuilder(ModelBuilder)

protected abstract ModelBuilderTest.TestModelBuilder CreateTestModelBuilder(ModelBuilder modelBuilder)
Protected MustOverride Function CreateTestModelBuilder(modelBuilder As ModelBuilder) As ModelBuilderTest.TestModelBuilder
Parameters
modelBuilder
ModelBuilder ModelBuilder
Returns

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

HobNobBuilder() HobNobBuilder()

protected ModelBuilderTest.TestModelBuilder HobNobBuilder()
Protected Function HobNobBuilder As ModelBuilderTest.TestModelBuilder
Returns

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object