ModelBuilderNonGenericTest.NonGenericTestPropertyBuilder<TProperty> ModelBuilderNonGenericTest.NonGenericTestPropertyBuilder(Of TProperty) Class

Definition

protected class NonGenericTestPropertyBuilder<TProperty> : ModelBuilderTest.TestPropertyBuilder<TProperty>
Protected Class NonGenericTestPropertyBuilder(Of TProperty)
    Inherits ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Type Parameters
TProperty
Inheritance
System.ObjectSystem.Object
ModelBuilderNonGenericTest.NonGenericTestPropertyBuilder<TProperty>ModelBuilderNonGenericTest.NonGenericTestPropertyBuilder(Of TProperty)

Constructors

NonGenericTestPropertyBuilder(PropertyBuilder) NonGenericTestPropertyBuilder(PropertyBuilder)

public NonGenericTestPropertyBuilder(PropertyBuilder propertyBuilder)
Public Sub New(propertyBuilder As PropertyBuilder)
Parameters

Properties

Metadata Metadata

public override IMutableProperty Metadata { get; }
Public Overrides ReadOnly Property Metadata As IMutableProperty
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.MetadataMicrosoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.Metadata

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 override ModelBuilderTest.TestPropertyBuilder<TProperty> HasAnnotation(string annotation, object value)
Public Overrides 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
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.HasAnnotation(System.String, System.Object)Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.HasAnnotation(System.String, System.Object)

HasField(String) HasField(String)

public override ModelBuilderTest.TestPropertyBuilder<TProperty> HasField(string fieldName)
Public Overrides Function HasField(fieldName As String) As ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Parameters
fieldName
System.String System.String
Returns
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.HasField(System.String)Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.HasField(System.String)

HasMaxLength(Int32) HasMaxLength(Int32)

public override ModelBuilderTest.TestPropertyBuilder<TProperty> HasMaxLength(int maxLength)
Public Overrides Function HasMaxLength(maxLength As Integer) As ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Parameters
maxLength
System.Int32 System.Int32
Returns
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.HasMaxLength(System.Int32)Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.HasMaxLength(System.Int32)

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

public override ModelBuilderTest.TestPropertyBuilder<TProperty> HasValueGenerator(Func<IProperty, IEntityType, ValueGenerator> factory)
Public Overrides 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
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.HasValueGenerator(System.Func<Microsoft.EntityFrameworkCore.Metadata.IProperty, Microsoft.EntityFrameworkCore.Metadata.IEntityType, Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator>)Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.HasValueGenerator(System.Func<Microsoft.EntityFrameworkCore.Metadata.IProperty, Microsoft.EntityFrameworkCore.Metadata.IEntityType, Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator>)

HasValueGenerator(Type) HasValueGenerator(Type)

public override ModelBuilderTest.TestPropertyBuilder<TProperty> HasValueGenerator(Type valueGeneratorType)
Public Overrides Function HasValueGenerator(valueGeneratorType As Type) As ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Parameters
valueGeneratorType
System.Type System.Type
Returns
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.HasValueGenerator(System.Type)Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.HasValueGenerator(System.Type)

HasValueGenerator() HasValueGenerator(Of TGenerator)()

public override ModelBuilderTest.TestPropertyBuilder<TProperty> HasValueGenerator<TGenerator>()where TGenerator : ValueGenerator
Public Overrides Function HasValueGenerator(Of TGenerator As ValueGenerator) As ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Type Parameters
TGenerator
Returns
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.HasValueGenerator<TGenerator>()Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.HasValueGenerator<TGenerator>()

IsConcurrencyToken(Boolean) IsConcurrencyToken(Boolean)

public override ModelBuilderTest.TestPropertyBuilder<TProperty> IsConcurrencyToken(bool isConcurrencyToken = true)
Public Overrides Function IsConcurrencyToken(isConcurrencyToken As Boolean = True) As ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Parameters
isConcurrencyToken
System.Boolean System.Boolean
Returns
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.IsConcurrencyToken(System.Boolean)Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.IsConcurrencyToken(System.Boolean)

IsRequired(Boolean) IsRequired(Boolean)

public override ModelBuilderTest.TestPropertyBuilder<TProperty> IsRequired(bool isRequired = true)
Public Overrides Function IsRequired(isRequired As Boolean = True) As ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Parameters
isRequired
System.Boolean System.Boolean
Returns
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.IsRequired(System.Boolean)Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.IsRequired(System.Boolean)

IsRowVersion() IsRowVersion()

public override ModelBuilderTest.TestPropertyBuilder<TProperty> IsRowVersion()
Public Overrides Function IsRowVersion As ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Returns
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.IsRowVersion()Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.IsRowVersion()

IsUnicode(Boolean) IsUnicode(Boolean)

public override ModelBuilderTest.TestPropertyBuilder<TProperty> IsUnicode(bool unicode = true)
Public Overrides Function IsUnicode(unicode As Boolean = True) As ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Parameters
unicode
System.Boolean System.Boolean
Returns
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.IsUnicode(System.Boolean)Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.IsUnicode(System.Boolean)

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 override ModelBuilderTest.TestPropertyBuilder<TProperty> UsePropertyAccessMode(PropertyAccessMode propertyAccessMode)
Public Overrides Function UsePropertyAccessMode(propertyAccessMode As PropertyAccessMode) As ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Parameters
Returns
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.UsePropertyAccessMode(Microsoft.EntityFrameworkCore.Metadata.PropertyAccessMode)Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.UsePropertyAccessMode(Microsoft.EntityFrameworkCore.Metadata.PropertyAccessMode)

ValueGeneratedNever() ValueGeneratedNever()

public override ModelBuilderTest.TestPropertyBuilder<TProperty> ValueGeneratedNever()
Public Overrides Function ValueGeneratedNever As ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Returns
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.ValueGeneratedNever()Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.ValueGeneratedNever()

ValueGeneratedOnAdd() ValueGeneratedOnAdd()

public override ModelBuilderTest.TestPropertyBuilder<TProperty> ValueGeneratedOnAdd()
Public Overrides Function ValueGeneratedOnAdd As ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Returns
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.ValueGeneratedOnAdd()Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.ValueGeneratedOnAdd()

ValueGeneratedOnAddOrUpdate() ValueGeneratedOnAddOrUpdate()

public override ModelBuilderTest.TestPropertyBuilder<TProperty> ValueGeneratedOnAddOrUpdate()
Public Overrides Function ValueGeneratedOnAddOrUpdate As ModelBuilderTest.TestPropertyBuilder(Of TProperty)
Returns
Overrides
Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.ValueGeneratedOnAddOrUpdate()Microsoft.EntityFrameworkCore.Tests.ModelBuilderTest.TestPropertyBuilder<TProperty>.ValueGeneratedOnAddOrUpdate()