ModelBuilderTest.TestPropertyBuilder<TProperty> ModelBuilderTest.TestPropertyBuilder(Of TProperty) Class

Definition

public abstract class TestPropertyBuilder<TProperty>
Public MustInherit Class TestPropertyBuilder(Of TProperty)
Type Parameters
TProperty
Inheritance
System.ObjectSystem.Object
ModelBuilderTest.TestPropertyBuilder<TProperty>ModelBuilderTest.TestPropertyBuilder(Of TProperty)

Properties

Metadata Metadata

public abstract IMutableProperty Metadata { get; }
Public MustOverride ReadOnly Property Metadata As IMutableProperty

Methods

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

HasAnnotation(String, Object) HasAnnotation(String, Object)

public abstract ModelBuilderTest.TestPropertyBuilder<TProperty> HasAnnotation(string annotation, object value)
Public MustOverride Function HasAnnotation(annotation As String, value As Object) As ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Parameters
annotation
System.String System.String
value
System.Object System.Object
Returns

HasField(String) HasField(String)

public abstract ModelBuilderTest.TestPropertyBuilder<TProperty> HasField(string fieldName)
Public MustOverride Function HasField(fieldName As String) As ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Parameters
fieldName
System.String System.String
Returns

HasMaxLength(Int32) HasMaxLength(Int32)

public abstract ModelBuilderTest.TestPropertyBuilder<TProperty> HasMaxLength(int maxLength)
Public MustOverride Function HasMaxLength(maxLength As Integer) As ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Parameters
maxLength
System.Int32 System.Int32
Returns

HasValueGenerator(Func) HasValueGenerator(Func(Of IProperty, IEntityType, ValueGenerator))

public abstract ModelBuilderTest.TestPropertyBuilder<TProperty> HasValueGenerator(Func<IProperty, IEntityType, ValueGenerator> factory)
Public MustOverride Function HasValueGenerator(factory As Func(Of IProperty, IEntityType, ValueGenerator)) As ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Parameters
factory
System.Func<IProperty, IEntityType, ValueGenerator> System.Func(Of IProperty, IEntityType, ValueGenerator)
Returns

HasValueGenerator(Type) HasValueGenerator(Type)

public abstract ModelBuilderTest.TestPropertyBuilder<TProperty> HasValueGenerator(Type valueGeneratorType)
Public MustOverride Function HasValueGenerator(valueGeneratorType As Type) As ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Parameters
valueGeneratorType
System.Type System.Type
Returns

HasValueGenerator() HasValueGenerator(Of TGenerator)()

public abstract ModelBuilderTest.TestPropertyBuilder<TProperty> HasValueGenerator<TGenerator>()where TGenerator : ValueGenerator
Public MustOverride Function HasValueGenerator(Of TGenerator As ValueGenerator) As ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Type Parameters
TGenerator
Returns

IsConcurrencyToken(Boolean) IsConcurrencyToken(Boolean)

public abstract ModelBuilderTest.TestPropertyBuilder<TProperty> IsConcurrencyToken(bool isConcurrencyToken = true)
Public MustOverride Function IsConcurrencyToken(isConcurrencyToken As Boolean = True) As ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Parameters
isConcurrencyToken
System.Boolean System.Boolean
Returns

IsRequired(Boolean) IsRequired(Boolean)

public abstract ModelBuilderTest.TestPropertyBuilder<TProperty> IsRequired(bool isRequired = true)
Public MustOverride Function IsRequired(isRequired As Boolean = True) As ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Parameters
isRequired
System.Boolean System.Boolean
Returns

IsRowVersion() IsRowVersion()

public abstract ModelBuilderTest.TestPropertyBuilder<TProperty> IsRowVersion()
Public MustOverride Function IsRowVersion As ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Returns

IsUnicode(Boolean) IsUnicode(Boolean)

public abstract ModelBuilderTest.TestPropertyBuilder<TProperty> IsUnicode(bool unicode = true)
Public MustOverride Function IsUnicode(unicode As Boolean = True) As ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Parameters
unicode
System.Boolean System.Boolean
Returns

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

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

Inherited from System.Object

ToString() ToString()

Inherited from System.Object

UsePropertyAccessMode(PropertyAccessMode) UsePropertyAccessMode(PropertyAccessMode)

public abstract ModelBuilderTest.TestPropertyBuilder<TProperty> UsePropertyAccessMode(PropertyAccessMode propertyAccessMode)
Public MustOverride Function UsePropertyAccessMode(propertyAccessMode As PropertyAccessMode) As ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Parameters
Returns

ValueGeneratedNever() ValueGeneratedNever()

public abstract ModelBuilderTest.TestPropertyBuilder<TProperty> ValueGeneratedNever()
Public MustOverride Function ValueGeneratedNever As ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Returns

ValueGeneratedOnAdd() ValueGeneratedOnAdd()

public abstract ModelBuilderTest.TestPropertyBuilder<TProperty> ValueGeneratedOnAdd()
Public MustOverride Function ValueGeneratedOnAdd As ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Returns

ValueGeneratedOnAddOrUpdate() ValueGeneratedOnAddOrUpdate()

public abstract ModelBuilderTest.TestPropertyBuilder<TProperty> ValueGeneratedOnAddOrUpdate()
Public MustOverride Function ValueGeneratedOnAddOrUpdate As ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Returns