Microsoft.EntityFrameworkCore.Metadata.Builders
112 wrapped types. Load them with using { "Microsoft.EntityFrameworkCore.Metadata.Builders" }. Click a class to open it.
CheckConstraintBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.CheckConstraintBuilder · assembly Microsoft.EntityFrameworkCore.Relational
Constructors
new CheckConstraintBuilder(IMutableCheckConstraint checkConstraint) |
Ring: new CheckConstraintBuilder(args) uses one constructor; the others are chosen by the parameter names: new CheckConstraintBuilder().@New([ :param = value ]) or dnNew("CheckConstraintBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IMutableCheckConstraint | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
HasAnnotation | callMethod("HasAnnotation",[p1,p2]) | CheckConstraintBuilder HasAnnotation(string annotation, object value) |
HasName | callMethod("HasName",[p1]) | CheckConstraintBuilder HasName(string name) |
ToString | callMethod("ToString",[]) | string ToString() |
CollectionCollectionBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.CollectionCollectionBuilder · assembly Microsoft.EntityFrameworkCore
Constructors
new CollectionCollectionBuilder(IMutableEntityType leftEntityType, IMutableEntityType rightEntityType, IMutableSkipNavigation leftNavigation, IMutableSkipNavigation rightNavigation) |
Ring: new CollectionCollectionBuilder(args) uses one constructor; the others are chosen by the parameter names: new CollectionCollectionBuilder().@New([ :param = value ]) or dnNew("CollectionCollectionBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
LeftNavigation | IMutableSkipNavigation | read | o.LeftNavigation |
RightNavigation | IMutableSkipNavigation | read | o.RightNavigation |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
ToString | callMethod("ToString",[]) | string ToString() |
UsingEntity | UsingEntity(value)UsingEntity([ :joinEntityType = … ])UsingEntity([ :joinEntityName = … ])UsingEntity([ :configureJoinEntityType = … ])UsingEntity([ :joinEntityName = …, :joinEntityType = … ]) | EntityTypeBuilder UsingEntity(Type joinEntityType)EntityTypeBuilder UsingEntity(string joinEntityName)EntityTypeBuilder UsingEntity(string joinEntityName, Type joinEntityType)EntityTypeBuilder UsingEntity(Action<EntityTypeBuilder> configureJoinEntityType)EntityTypeBuilder UsingEntity(Type joinEntityType, Action<EntityTypeBuilder> configureJoinEntityType)EntityTypeBuilder UsingEntity(string joinEntityName, Action<EntityTypeBuilder> configureJoinEntityType)EntityTypeBuilder UsingEntity(string joinEntityName, Type joinEntityType, Action<EntityTypeBuilder> configureJoinEntityType)EntityTypeBuilder UsingEntity(Func<EntityTypeBuilder, ReferenceCollectionBuilder> configureRight, Func<EntityTypeBuilder, ReferenceCollectionBuilder> configureLeft)EntityTypeBuilder UsingEntity(Type joinEntityType, Func<EntityTypeBuilder, ReferenceCollectionBuilder> configureRight, Func<EntityTypeBuilder, ReferenceCollectionBuilder> configureLeft)EntityTypeBuilder UsingEntity(string joinEntityName, Func<EntityTypeBuilder, ReferenceCollectionBuilder> configureRight, Func<EntityTypeBuilder, ReferenceCollectionBuilder> configureLeft)EntityTypeBuilder UsingEntity(string joinEntityName, Type joinEntityType, Func<EntityTypeBuilder, ReferenceCollectionBuilder> configureRight, Func<EntityTypeBuilder, ReferenceCollectionBuilder> configureLeft)EntityTypeBuilder UsingEntity(Func<EntityTypeBuilder, ReferenceCollectionBuilder> configureRight, Func<EntityTypeBuilder, ReferenceCollectionBuilder> configureLeft, Action<EntityTypeBuilder> configureJoinEntityType)EntityTypeBuilder UsingEntity(Type joinEntityType, Func<EntityTypeBuilder, ReferenceCollectionBuilder> configureRight, Func<EntityTypeBuilder, ReferenceCollectionBuilder> configureLeft, Action<EntityTypeBuilder> configureJoinEntityType)EntityTypeBuilder UsingEntity(string joinEntityName, Func<EntityTypeBuilder, ReferenceCollectionBuilder> configureRight, Func<EntityTypeBuilder, ReferenceCollectionBuilder> configureLeft, Action<EntityTypeBuilder> configureJoinEntityType)EntityTypeBuilder UsingEntity(string joinEntityName, Type joinEntityType, Func<EntityTypeBuilder, ReferenceCollectionBuilder> configureRight, Func<EntityTypeBuilder, ReferenceCollectionBuilder> configureLeft, Action<EntityTypeBuilder> configureJoinEntityType) |
CollectionCollectionBuilder2 class · extends CollectionCollectionBuilder
Microsoft.EntityFrameworkCore.Metadata.Builders.CollectionCollectionBuilder`2 · assembly Microsoft.EntityFrameworkCore
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
UsingEntity | UsingEntity(NULL)UsingEntity(value)UsingEntity([ :joinEntityName = … ])UsingEntity([ :configureJoinEntityType = … ])UsingEntity([ :joinEntityName = …, :configureJoinEntityType = … ])UsingEntity([ :configureRight = …, :configureLeft = … ]) | EntityTypeBuilder<TJoinEntity> UsingEntity<TJoinEntity>()EntityTypeBuilder<TJoinEntity> UsingEntity<TJoinEntity>(string joinEntityName)EntityTypeBuilder<TRightEntity> UsingEntity<TJoinEntity>(Action<EntityTypeBuilder<TJoinEntity>> configureJoinEntityType)EntityTypeBuilder<TRightEntity> UsingEntity<TJoinEntity>(string joinEntityName, Action<EntityTypeBuilder<TJoinEntity>> configureJoinEntityType)EntityTypeBuilder<TJoinEntity> UsingEntity<TJoinEntity>(Func<EntityTypeBuilder<TJoinEntity>, ReferenceCollectionBuilder<TLeftEntity, TJoinEntity>> configureRight, Func<EntityTypeBuilder<TJoinEntity>, ReferenceCollectionBuilder<TRightEntity, TJoinEntity>> configureLeft)EntityTypeBuilder<TJoinEntity> UsingEntity<TJoinEntity>(string joinEntityName, Func<EntityTypeBuilder<TJoinEntity>, ReferenceCollectionBuilder<TLeftEntity, TJoinEntity>> configureRight, Func<EntityTypeBuilder<TJoinEntity>, ReferenceCollectionBuilder<TRightEntity, TJoinEntity>> configureLeft)EntityTypeBuilder<TRightEntity> UsingEntity<TJoinEntity>(Func<EntityTypeBuilder<TJoinEntity>, ReferenceCollectionBuilder<TLeftEntity, TJoinEntity>> configureRight, Func<EntityTypeBuilder<TJoinEntity>, ReferenceCollectionBuilder<TRightEntity, TJoinEntity>> configureLeft, Action<EntityTypeBuilder<TJoinEntity>> configureJoinEntityType)EntityTypeBuilder<TRightEntity> UsingEntity<TJoinEntity>(string joinEntityName, Func<EntityTypeBuilder<TJoinEntity>, ReferenceCollectionBuilder<TLeftEntity, TJoinEntity>> configureRight, Func<EntityTypeBuilder<TJoinEntity>, ReferenceCollectionBuilder<TRightEntity, TJoinEntity>> configureLeft, Action<EntityTypeBuilder<TJoinEntity>> configureJoinEntityType) |
Members of the base class are inherited.
ColumnBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.ColumnBuilder · assembly Microsoft.EntityFrameworkCore.Relational
Constructors
new ColumnBuilder(ref StoreObjectIdentifier storeObject, PropertyBuilder propertyBuilder) |
Ring: new ColumnBuilder(args) uses one constructor; the others are chosen by the parameter names: new ColumnBuilder().@New([ :param = value ]) or dnNew("ColumnBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Overrides | IMutableRelationalPropertyOverrides | read | o.Overrides |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
HasAnnotation | callMethod("HasAnnotation",[p1,p2]) | ColumnBuilder HasAnnotation(string annotation, object value) |
HasColumnName | callMethod("HasColumnName",[p1]) | ColumnBuilder HasColumnName(string name) |
ToString | callMethod("ToString",[]) | string ToString() |
ColumnBuilder1 class · extends ColumnBuilder
Microsoft.EntityFrameworkCore.Metadata.Builders.ColumnBuilder`1 · assembly Microsoft.EntityFrameworkCore.Relational
Members of the base class are inherited.
ComplexPropertiesConfigurationBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexPropertiesConfigurationBuilder · assembly Microsoft.EntityFrameworkCore
Constructors
new ComplexPropertiesConfigurationBuilder(ComplexPropertyConfiguration property) |
Ring: new ComplexPropertiesConfigurationBuilder(args) uses one constructor; the others are chosen by the parameter names: new ComplexPropertiesConfigurationBuilder().@New([ :param = value ]) or dnNew("ComplexPropertiesConfigurationBuilder",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
ToString | callMethod("ToString",[]) | string ToString() |
ComplexPropertiesConfigurationBuilder1 class · extends ComplexPropertiesConfigurationBuilder
Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexPropertiesConfigurationBuilder`1 · assembly Microsoft.EntityFrameworkCore
Members of the base class are inherited.
ComplexPropertyBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexPropertyBuilder · assembly Microsoft.EntityFrameworkCore
Constructors
new ComplexPropertyBuilder(IMutableComplexProperty complexProperty) |
Ring: new ComplexPropertyBuilder(args) uses one constructor; the others are chosen by the parameter names: new ComplexPropertyBuilder().@New([ :param = value ]) or dnNew("ComplexPropertyBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IMutableComplexProperty | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ComplexProperty | ComplexProperty(value)ComplexProperty([ :propertyName = … ])ComplexProperty([ :propertyName = …, :complexTypeName = … ])ComplexProperty([ :propertyType = …, :propertyName = … ])ComplexProperty([ :propertyName = …, :buildAction = … ]) | ComplexPropertyBuilder ComplexProperty(string propertyName)ComplexPropertyBuilder<TProperty> ComplexProperty<TProperty>(string propertyName)ComplexPropertyBuilder<TProperty> ComplexProperty<TProperty>(string propertyName, string complexTypeName)ComplexPropertyBuilder ComplexProperty(Type propertyType, string propertyName)ComplexPropertyBuilder ComplexProperty(Type propertyType, string propertyName, string complexTypeName)ComplexPropertyBuilder ComplexProperty(string propertyName, Action<ComplexPropertyBuilder> buildAction)ComplexPropertyBuilder ComplexProperty<TProperty>(string propertyName, Action<ComplexPropertyBuilder<TProperty>> buildAction)ComplexPropertyBuilder ComplexProperty<TProperty>(string propertyName, string complexTypeName, Action<ComplexPropertyBuilder<TProperty>> buildAction)ComplexPropertyBuilder ComplexProperty(Type propertyType, string propertyName, Action<ComplexPropertyBuilder> buildAction)ComplexPropertyBuilder ComplexProperty(Type propertyType, string propertyName, string complexTypeName, Action<ComplexPropertyBuilder> buildAction) |
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
HasChangeTrackingStrategy | callMethod("HasChangeTrackingStrategy",[p1]) | ComplexPropertyBuilder HasChangeTrackingStrategy(ChangeTrackingStrategy changeTrackingStrategy) |
HasField | callMethod("HasField",[p1]) | ComplexPropertyBuilder HasField(string fieldName) |
HasPropertyAnnotation | callMethod("HasPropertyAnnotation",[p1,p2]) | ComplexPropertyBuilder HasPropertyAnnotation(string annotation, object value) |
HasTypeAnnotation | callMethod("HasTypeAnnotation",[p1,p2]) | ComplexPropertyBuilder HasTypeAnnotation(string annotation, object value) |
Ignore | callMethod("Ignore",[p1]) | ComplexPropertyBuilder Ignore(string propertyName) |
IndexerProperty | IndexerProperty(value)IndexerProperty([ :propertyName = … ])IndexerProperty([ :propertyType = …, :propertyName = … ]) | ComplexTypePropertyBuilder<TProperty> IndexerProperty<TProperty>(string propertyName)ComplexTypePropertyBuilder IndexerProperty(Type propertyType, string propertyName) |
IsRequired | IsRequired(value)IsRequired([ :required = … ]) | ComplexPropertyBuilder IsRequired(bool required = …) |
PrimitiveCollection | PrimitiveCollection(value)PrimitiveCollection([ :propertyName = … ])PrimitiveCollection([ :propertyType = …, :propertyName = … ]) | ComplexTypePrimitiveCollectionBuilder PrimitiveCollection(string propertyName)ComplexTypePrimitiveCollectionBuilder<TProperty> PrimitiveCollection<TProperty>(string propertyName)ComplexTypePrimitiveCollectionBuilder PrimitiveCollection(Type propertyType, string propertyName) |
Property | Property(value)Property([ :propertyName = … ])Property([ :propertyType = …, :propertyName = … ]) | ComplexTypePropertyBuilder Property(string propertyName)ComplexTypePropertyBuilder<TProperty> Property<TProperty>(string propertyName)ComplexTypePropertyBuilder Property(Type propertyType, string propertyName) |
ToString | callMethod("ToString",[]) | string ToString() |
UseDefaultPropertyAccessMode | callMethod("UseDefaultPropertyAccessMode",[p1]) | ComplexPropertyBuilder UseDefaultPropertyAccessMode(PropertyAccessMode propertyAccessMode) |
UsePropertyAccessMode | callMethod("UsePropertyAccessMode",[p1]) | ComplexPropertyBuilder UsePropertyAccessMode(PropertyAccessMode propertyAccessMode) |
ComplexPropertyBuilder1 class · extends ComplexPropertyBuilder
Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexPropertyBuilder`1 · assembly Microsoft.EntityFrameworkCore
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ComplexProperty | ComplexProperty(value)ComplexProperty([ :propertyExpression = … ])ComplexProperty([ :propertyName = …, :buildAction = … ])ComplexProperty([ :propertyExpression = …, :complexTypeName = … ])ComplexProperty([ :propertyExpression = …, :buildAction = … ]) | ComplexPropertyBuilder<TComplex> ComplexProperty<TProperty>(string propertyName, Action<ComplexPropertyBuilder<TProperty>> buildAction)ComplexPropertyBuilder<TComplex> ComplexProperty<TProperty>(string propertyName, string complexTypeName, Action<ComplexPropertyBuilder<TProperty>> buildAction)ComplexPropertyBuilder<TProperty> ComplexProperty<TProperty>(Expression<Func<TComplex, TProperty>> propertyExpression)ComplexPropertyBuilder<TProperty> ComplexProperty<TProperty>(Expression<Func<TComplex, TProperty>> propertyExpression, string complexTypeName)ComplexPropertyBuilder<TComplex> ComplexProperty<TProperty>(Expression<Func<TComplex, TProperty>> propertyExpression, Action<ComplexPropertyBuilder<TProperty>> buildAction)ComplexPropertyBuilder<TComplex> ComplexProperty<TProperty>(Expression<Func<TComplex, TProperty>> propertyExpression, string complexTypeName, Action<ComplexPropertyBuilder<TProperty>> buildAction) |
PrimitiveCollection | PrimitiveCollection(value)PrimitiveCollection([ :propertyExpression = … ]) | ComplexTypePrimitiveCollectionBuilder<TProperty> PrimitiveCollection<TProperty>(Expression<Func<TComplex, TProperty>> propertyExpression) |
Property | Property(value)Property([ :propertyExpression = … ]) | ComplexTypePropertyBuilder<TProperty> Property<TProperty>(Expression<Func<TComplex, TProperty>> propertyExpression) |
Members of the base class are inherited.
ComplexTypePrimitiveCollectionBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePrimitiveCollectionBuilder · assembly Microsoft.EntityFrameworkCore
Constructors
new ComplexTypePrimitiveCollectionBuilder(IMutableProperty property) |
Ring: new ComplexTypePrimitiveCollectionBuilder(args) uses one constructor; the others are chosen by the parameter names: new ComplexTypePrimitiveCollectionBuilder().@New([ :param = value ]) or dnNew("ComplexTypePrimitiveCollectionBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IMutableProperty | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ElementType | ElementType(NULL)ElementType(value)ElementType([ :builderAction = … ]) | ElementTypeBuilder ElementType()ComplexTypePrimitiveCollectionBuilder ElementType(Action<ElementTypeBuilder> builderAction) |
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
HasAnnotation | callMethod("HasAnnotation",[p1,p2]) | ComplexTypePrimitiveCollectionBuilder HasAnnotation(string annotation, object value) |
HasField | callMethod("HasField",[p1]) | ComplexTypePrimitiveCollectionBuilder HasField(string fieldName) |
HasMaxLength | callMethod("HasMaxLength",[p1]) | ComplexTypePrimitiveCollectionBuilder HasMaxLength(int maxLength) |
HasSentinel | callMethod("HasSentinel",[p1]) | ComplexTypePrimitiveCollectionBuilder HasSentinel(object sentinel) |
HasValueGenerator | HasValueGenerator(NULL)HasValueGenerator(value)HasValueGenerator([ :valueGeneratorType = … ]) | ComplexTypePrimitiveCollectionBuilder HasValueGenerator<TGenerator>()ComplexTypePrimitiveCollectionBuilder HasValueGenerator(Type valueGeneratorType) |
HasValueGeneratorFactory | HasValueGeneratorFactory(NULL)HasValueGeneratorFactory(value)HasValueGeneratorFactory([ :valueGeneratorFactoryType = … ]) | ComplexTypePrimitiveCollectionBuilder HasValueGeneratorFactory<TFactory>()ComplexTypePrimitiveCollectionBuilder HasValueGeneratorFactory(Type valueGeneratorFactoryType) |
IsConcurrencyToken | IsConcurrencyToken(value)IsConcurrencyToken([ :concurrencyToken = … ]) | ComplexTypePrimitiveCollectionBuilder IsConcurrencyToken(bool concurrencyToken = …) |
IsRequired | IsRequired(value)IsRequired([ :required = … ]) | ComplexTypePrimitiveCollectionBuilder IsRequired(bool required = …) |
IsUnicode | IsUnicode(value)IsUnicode([ :unicode = … ]) | ComplexTypePrimitiveCollectionBuilder IsUnicode(bool unicode = …) |
ToString | callMethod("ToString",[]) | string ToString() |
UsePropertyAccessMode | callMethod("UsePropertyAccessMode",[p1]) | ComplexTypePrimitiveCollectionBuilder UsePropertyAccessMode(PropertyAccessMode propertyAccessMode) |
ValueGeneratedNever | callMethod("ValueGeneratedNever",[]) | ComplexTypePrimitiveCollectionBuilder ValueGeneratedNever() |
ValueGeneratedOnAdd | callMethod("ValueGeneratedOnAdd",[]) | ComplexTypePrimitiveCollectionBuilder ValueGeneratedOnAdd() |
ValueGeneratedOnAddOrUpdate | callMethod("ValueGeneratedOnAddOrUpdate",[]) | ComplexTypePrimitiveCollectionBuilder ValueGeneratedOnAddOrUpdate() |
ValueGeneratedOnUpdate | callMethod("ValueGeneratedOnUpdate",[]) | ComplexTypePrimitiveCollectionBuilder ValueGeneratedOnUpdate() |
ValueGeneratedOnUpdateSometimes | callMethod("ValueGeneratedOnUpdateSometimes",[]) | ComplexTypePrimitiveCollectionBuilder ValueGeneratedOnUpdateSometimes() |
ComplexTypePrimitiveCollectionBuilder1 class · extends ComplexTypePrimitiveCollectionBuilder
Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePrimitiveCollectionBuilder`1 · assembly Microsoft.EntityFrameworkCore
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
HasValueGenerator | HasValueGenerator(NULL) | ComplexTypePrimitiveCollectionBuilder<TProperty> HasValueGenerator<TGenerator>() |
HasValueGeneratorFactory | HasValueGeneratorFactory(NULL) | ComplexTypePrimitiveCollectionBuilder<TProperty> HasValueGeneratorFactory<TFactory>() |
Members of the base class are inherited.
ComplexTypePropertyBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder · assembly Microsoft.EntityFrameworkCore
Constructors
new ComplexTypePropertyBuilder(IMutableProperty property) |
Ring: new ComplexTypePropertyBuilder(args) uses one constructor; the others are chosen by the parameter names: new ComplexTypePropertyBuilder().@New([ :param = value ]) or dnNew("ComplexTypePropertyBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IMutableProperty | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
HasAnnotation | callMethod("HasAnnotation",[p1,p2]) | ComplexTypePropertyBuilder HasAnnotation(string annotation, object value) |
HasConversion | HasConversion(NULL)HasConversion(value)HasConversion([ :conversionType = … ])HasConversion([ :converter = … ])HasConversion([ :valueComparer = … ])HasConversion([ :valueComparer = …, :providerComparer = … ]) | ComplexTypePropertyBuilder HasConversion<TConversion>()ComplexTypePropertyBuilder HasConversion(Type conversionType)ComplexTypePropertyBuilder HasConversion(ValueConverter converter)ComplexTypePropertyBuilder HasConversion<TConversion>(ValueComparer valueComparer)ComplexTypePropertyBuilder HasConversion<TConversion>(ValueComparer valueComparer, ValueComparer providerComparer)ComplexTypePropertyBuilder HasConversion(Type conversionType, ValueComparer valueComparer)ComplexTypePropertyBuilder HasConversion(Type conversionType, ValueComparer valueComparer, ValueComparer providerComparer)ComplexTypePropertyBuilder HasConversion(ValueConverter converter, ValueComparer valueComparer)ComplexTypePropertyBuilder HasConversion(ValueConverter converter, ValueComparer valueComparer, ValueComparer providerComparer)ComplexTypePropertyBuilder HasConversion<TConversion, TComparer>()ComplexTypePropertyBuilder HasConversion<TConversion, TComparer, TProviderComparer>()ComplexTypePropertyBuilder HasConversion(Type conversionType, Type comparerType)ComplexTypePropertyBuilder HasConversion(Type conversionType, Type comparerType, Type providerComparerType) |
HasField | callMethod("HasField",[p1]) | ComplexTypePropertyBuilder HasField(string fieldName) |
HasMaxLength | callMethod("HasMaxLength",[p1]) | ComplexTypePropertyBuilder HasMaxLength(int maxLength) |
HasPrecision | HasPrecision(value)HasPrecision([ :precision = … ])HasPrecision([ :precision = …, :scale = … ]) | ComplexTypePropertyBuilder HasPrecision(int precision, int scale)ComplexTypePropertyBuilder HasPrecision(int precision) |
HasSentinel | callMethod("HasSentinel",[p1]) | ComplexTypePropertyBuilder HasSentinel(object sentinel) |
HasValueGenerator | HasValueGenerator(NULL)HasValueGenerator(value)HasValueGenerator([ :valueGeneratorType = … ]) | ComplexTypePropertyBuilder HasValueGenerator<TGenerator>()ComplexTypePropertyBuilder HasValueGenerator(Type valueGeneratorType) |
HasValueGeneratorFactory | HasValueGeneratorFactory(NULL)HasValueGeneratorFactory(value)HasValueGeneratorFactory([ :valueGeneratorFactoryType = … ]) | ComplexTypePropertyBuilder HasValueGeneratorFactory<TFactory>()ComplexTypePropertyBuilder HasValueGeneratorFactory(Type valueGeneratorFactoryType) |
IsConcurrencyToken | IsConcurrencyToken(value)IsConcurrencyToken([ :concurrencyToken = … ]) | ComplexTypePropertyBuilder IsConcurrencyToken(bool concurrencyToken = …) |
IsRequired | IsRequired(value)IsRequired([ :required = … ]) | ComplexTypePropertyBuilder IsRequired(bool required = …) |
IsRowVersion | callMethod("IsRowVersion",[]) | ComplexTypePropertyBuilder IsRowVersion() |
IsUnicode | IsUnicode(value)IsUnicode([ :unicode = … ]) | ComplexTypePropertyBuilder IsUnicode(bool unicode = …) |
ToString | callMethod("ToString",[]) | string ToString() |
UsePropertyAccessMode | callMethod("UsePropertyAccessMode",[p1]) | ComplexTypePropertyBuilder UsePropertyAccessMode(PropertyAccessMode propertyAccessMode) |
ValueGeneratedNever | callMethod("ValueGeneratedNever",[]) | ComplexTypePropertyBuilder ValueGeneratedNever() |
ValueGeneratedOnAdd | callMethod("ValueGeneratedOnAdd",[]) | ComplexTypePropertyBuilder ValueGeneratedOnAdd() |
ValueGeneratedOnAddOrUpdate | callMethod("ValueGeneratedOnAddOrUpdate",[]) | ComplexTypePropertyBuilder ValueGeneratedOnAddOrUpdate() |
ValueGeneratedOnUpdate | callMethod("ValueGeneratedOnUpdate",[]) | ComplexTypePropertyBuilder ValueGeneratedOnUpdate() |
ValueGeneratedOnUpdateSometimes | callMethod("ValueGeneratedOnUpdateSometimes",[]) | ComplexTypePropertyBuilder ValueGeneratedOnUpdateSometimes() |
ComplexTypePropertyBuilder1 class · extends ComplexTypePropertyBuilder
Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePropertyBuilder`1 · assembly Microsoft.EntityFrameworkCore
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
HasConversion | HasConversion(NULL)HasConversion(value)HasConversion([ :converter = … ])HasConversion([ :valueComparer = … ])HasConversion([ :convertToProviderExpression = …, :convertFromProviderExpression = … ])HasConversion([ :valueComparer = …, :providerComparer = … ]) | ComplexTypePropertyBuilder<TProperty> HasConversion<TConversion>()ComplexTypePropertyBuilder<TProperty> HasConversion<TProvider>(Expression<Func<TProperty, TProvider>> convertToProviderExpression, Expression<Func<TProvider, TProperty>> convertFromProviderExpression)ComplexTypePropertyBuilder<TProperty> HasConversion<TProvider>(ValueConverter<TProperty, TProvider> converter)ComplexTypePropertyBuilder<TProperty> HasConversion<TConversion>(ValueComparer valueComparer)ComplexTypePropertyBuilder<TProperty> HasConversion<TConversion>(ValueComparer valueComparer, ValueComparer providerComparer)ComplexTypePropertyBuilder<TProperty> HasConversion<TProvider>(Expression<Func<TProperty, TProvider>> convertToProviderExpression, Expression<Func<TProvider, TProperty>> convertFromProviderExpression, ValueComparer valueComparer)ComplexTypePropertyBuilder<TProperty> HasConversion<TProvider>(Expression<Func<TProperty, TProvider>> convertToProviderExpression, Expression<Func<TProvider, TProperty>> convertFromProviderExpression, ValueComparer valueComparer, ValueComparer providerComparer)ComplexTypePropertyBuilder<TProperty> HasConversion<TProvider>(ValueConverter<TProperty, TProvider> converter, ValueComparer valueComparer)ComplexTypePropertyBuilder<TProperty> HasConversion<TProvider>(ValueConverter<TProperty, TProvider> converter, ValueComparer valueComparer, ValueComparer providerComparer)ComplexTypePropertyBuilder<TProperty> HasConversion<TConversion, TComparer>()ComplexTypePropertyBuilder<TProperty> HasConversion<TConversion, TComparer, TProviderComparer>() |
HasValueGenerator | HasValueGenerator(NULL) | ComplexTypePropertyBuilder<TProperty> HasValueGenerator<TGenerator>() |
HasValueGeneratorFactory | HasValueGeneratorFactory(NULL) | ComplexTypePropertyBuilder<TProperty> HasValueGeneratorFactory<TFactory>() |
Members of the base class are inherited.
ConventionSetBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.ConventionSetBuilder · assembly Microsoft.EntityFrameworkCore
Constructors
new ConventionSetBuilder(ConventionSet conventionSet, IServiceProvider serviceProvider) |
Ring: new ConventionSetBuilder(args) uses one constructor; the others are chosen by the parameter names: new ConventionSetBuilder().@New([ :param = value ]) or dnNew("ConventionSetBuilder",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1) | void Add(Func<IServiceProvider, IConvention> conventionFactory) |
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
Remove | callMethod("Remove",[])callMethod("Remove",[p1]) | void Remove(Type conventionType)void Remove<TImplementaion>() |
Replace | Replace(p1) | void Replace<TImplementation>(Func<IServiceProvider, TImplementation> conventionFactory) |
ToString | callMethod("ToString",[]) | string ToString() |
DataBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.DataBuilder · assembly Microsoft.EntityFrameworkCore
Constructors
new DataBuilder() |
Ring: new DataBuilder(args) uses one constructor; the others are chosen by the parameter names: new DataBuilder().@New([ :param = value ]) or dnNew("DataBuilder",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
ToString | callMethod("ToString",[]) | string ToString() |
DataBuilder1 class · extends DataBuilder
Microsoft.EntityFrameworkCore.Metadata.Builders.DataBuilder`1 · assembly Microsoft.EntityFrameworkCore
Members of the base class are inherited.
DbFunctionBuilder class · extends DbFunctionBuilderBase
Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionBuilder · assembly Microsoft.EntityFrameworkCore.Relational
Constructors
new DbFunctionBuilder(IMutableDbFunction function) |
Ring: new DbFunctionBuilder(args) uses one constructor; the others are chosen by the parameter names: new DbFunctionBuilder().@New([ :param = value ]) or dnNew("DbFunctionBuilder",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
HasAnnotation | callMethod("HasAnnotation",[p1,p2]) | DbFunctionBuilder HasAnnotation(string annotation, object value) |
HasName | callMethod("HasName",[p1]) | DbFunctionBuilder HasName(string name) |
HasParameter | HasParameter([ :name = …, :buildAction = … ]) | DbFunctionBuilder HasParameter(string name, Action<DbFunctionParameterBuilder> buildAction) |
HasSchema | callMethod("HasSchema",[p1]) | DbFunctionBuilder HasSchema(string schema) |
HasStoreType | callMethod("HasStoreType",[p1]) | DbFunctionBuilder HasStoreType(string storeType) |
HasTranslation | callMethod("HasTranslation",[p1]) | DbFunctionBuilder HasTranslation(Func<IReadOnlyList<SqlExpression>, SqlExpression> translation) |
IsBuiltIn | IsBuiltIn(value)IsBuiltIn([ :builtIn = … ]) | DbFunctionBuilder IsBuiltIn(bool builtIn = …) |
IsNullable | IsNullable(value)IsNullable([ :nullable = … ]) | DbFunctionBuilderBase IsNullable(bool nullable = …) |
Members of the base class are inherited.
DbFunctionBuilderBase class abstract
Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionBuilderBase · assembly Microsoft.EntityFrameworkCore.Relational
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IMutableDbFunction | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
HasName | callMethod("HasName",[p1]) | DbFunctionBuilderBase HasName(string name) |
HasParameter | HasParameter(value)HasParameter([ :name = … ])HasParameter([ :name = …, :buildAction = … ]) | DbFunctionParameterBuilder HasParameter(string name)DbFunctionBuilderBase HasParameter(string name, Action<DbFunctionParameterBuilder> buildAction) |
HasSchema | callMethod("HasSchema",[p1]) | DbFunctionBuilderBase HasSchema(string schema) |
IsBuiltIn | IsBuiltIn(value)IsBuiltIn([ :builtIn = … ]) | DbFunctionBuilderBase IsBuiltIn(bool builtIn = …) |
ToString | callMethod("ToString",[]) | string ToString() |
DbFunctionParameterBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionParameterBuilder · assembly Microsoft.EntityFrameworkCore.Relational
Constructors
new DbFunctionParameterBuilder(IMutableDbFunctionParameter parameter) |
Ring: new DbFunctionParameterBuilder(args) uses one constructor; the others are chosen by the parameter names: new DbFunctionParameterBuilder().@New([ :param = value ]) or dnNew("DbFunctionParameterBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IMutableDbFunctionParameter | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
HasStoreType | callMethod("HasStoreType",[p1]) | DbFunctionParameterBuilder HasStoreType(string storeType) |
PropagatesNullability | PropagatesNullability(value)PropagatesNullability([ :propagatesNullability = … ]) | DbFunctionParameterBuilder PropagatesNullability(bool propagatesNullability = …) |
ToString | callMethod("ToString",[]) | string ToString() |
DiscriminatorBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.DiscriminatorBuilder · assembly Microsoft.EntityFrameworkCore
Constructors
new DiscriminatorBuilder(IMutableEntityType entityType) |
Ring: new DiscriminatorBuilder(args) uses one constructor; the others are chosen by the parameter names: new DiscriminatorBuilder().@New([ :param = value ]) or dnNew("DiscriminatorBuilder",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
HasValue | HasValue(value)HasValue([ :value = … ])HasValue([ :entityType = …, :value = … ])HasValue([ :entityTypeName = …, :value = … ]) | DiscriminatorBuilder HasValue(object value)DiscriminatorBuilder HasValue<TEntity>(object value)DiscriminatorBuilder HasValue(Type entityType, object value)DiscriminatorBuilder HasValue(string entityTypeName, object value) |
IsComplete | IsComplete(value)IsComplete([ :complete = … ]) | DiscriminatorBuilder IsComplete(bool complete = …) |
ToString | callMethod("ToString",[]) | string ToString() |
DiscriminatorBuilder1 class
Microsoft.EntityFrameworkCore.Metadata.Builders.DiscriminatorBuilder`1 · assembly Microsoft.EntityFrameworkCore
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
HasValue | HasValue(value)HasValue([ :value = … ]) | DiscriminatorBuilder<TDiscriminator> HasValue<TEntity>(TDiscriminator value) |
ElementTypeBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.ElementTypeBuilder · assembly Microsoft.EntityFrameworkCore
Constructors
new ElementTypeBuilder(IMutableElementType elementType) |
Ring: new ElementTypeBuilder(args) uses one constructor; the others are chosen by the parameter names: new ElementTypeBuilder().@New([ :param = value ]) or dnNew("ElementTypeBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IMutableElementType | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
HasAnnotation | callMethod("HasAnnotation",[p1,p2]) | ElementTypeBuilder HasAnnotation(string annotation, object value) |
HasConversion | HasConversion(NULL)HasConversion(value)HasConversion([ :conversionType = … ])HasConversion([ :converter = … ])HasConversion([ :valueComparer = … ])HasConversion([ :conversionType = …, :valueComparer = … ]) | ElementTypeBuilder HasConversion<TConversion>()ElementTypeBuilder HasConversion(Type conversionType)ElementTypeBuilder HasConversion(ValueConverter converter)ElementTypeBuilder HasConversion<TConversion>(ValueComparer valueComparer)ElementTypeBuilder HasConversion(Type conversionType, ValueComparer valueComparer)ElementTypeBuilder HasConversion(ValueConverter converter, ValueComparer valueComparer)ElementTypeBuilder HasConversion<TConversion, TComparer>()ElementTypeBuilder HasConversion(Type conversionType, Type comparerType) |
HasMaxLength | callMethod("HasMaxLength",[p1]) | ElementTypeBuilder HasMaxLength(int maxLength) |
HasPrecision | HasPrecision(value)HasPrecision([ :precision = … ])HasPrecision([ :precision = …, :scale = … ]) | ElementTypeBuilder HasPrecision(int precision, int scale)ElementTypeBuilder HasPrecision(int precision) |
IsRequired | IsRequired(value)IsRequired([ :required = … ]) | ElementTypeBuilder IsRequired(bool required = …) |
IsUnicode | IsUnicode(value)IsUnicode([ :unicode = … ]) | ElementTypeBuilder IsUnicode(bool unicode = …) |
ToString | callMethod("ToString",[]) | string ToString() |
EntityTypeBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder · assembly Microsoft.EntityFrameworkCore
Constructors
new EntityTypeBuilder(IMutableEntityType entityType) |
Ring: new EntityTypeBuilder(args) uses one constructor; the others are chosen by the parameter names: new EntityTypeBuilder().@New([ :param = value ]) or dnNew("EntityTypeBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IMutableEntityType | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ComplexProperty | ComplexProperty(value)ComplexProperty([ :propertyName = … ])ComplexProperty([ :propertyName = …, :complexTypeName = … ])ComplexProperty([ :propertyType = …, :propertyName = … ])ComplexProperty([ :propertyName = …, :buildAction = … ]) | ComplexPropertyBuilder ComplexProperty(string propertyName)ComplexPropertyBuilder<TProperty> ComplexProperty<TProperty>(string propertyName)ComplexPropertyBuilder<TProperty> ComplexProperty<TProperty>(string propertyName, string complexTypeName)ComplexPropertyBuilder ComplexProperty(Type propertyType, string propertyName)ComplexPropertyBuilder ComplexProperty(Type propertyType, string propertyName, string complexTypeName)EntityTypeBuilder ComplexProperty(string propertyName, Action<ComplexPropertyBuilder> buildAction)EntityTypeBuilder ComplexProperty<TProperty>(string propertyName, Action<ComplexPropertyBuilder<TProperty>> buildAction)EntityTypeBuilder ComplexProperty<TProperty>(string propertyName, string complexTypeName, Action<ComplexPropertyBuilder<TProperty>> buildAction)EntityTypeBuilder ComplexProperty(Type propertyType, string propertyName, Action<ComplexPropertyBuilder> buildAction)EntityTypeBuilder ComplexProperty(Type propertyType, string propertyName, string complexTypeName, Action<ComplexPropertyBuilder> buildAction) |
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
HasAlternateKey | callMethod("HasAlternateKey",[p1]) | KeyBuilder HasAlternateKey(string[] propertyNames) |
HasAnnotation | callMethod("HasAnnotation",[p1,p2]) | EntityTypeBuilder HasAnnotation(string annotation, object value) |
HasBaseType | callMethod("HasBaseType",[p1]) | EntityTypeBuilder HasBaseType(string name)EntityTypeBuilder HasBaseType(Type entityType) |
HasChangeTrackingStrategy | callMethod("HasChangeTrackingStrategy",[p1]) | EntityTypeBuilder HasChangeTrackingStrategy(ChangeTrackingStrategy changeTrackingStrategy) |
HasData | callMethod("HasData",[p1]) | DataBuilder HasData(object[] data)DataBuilder HasData(IEnumerable<object> data) |
HasDiscriminator | HasDiscriminator(NULL)HasDiscriminator(value)HasDiscriminator([ :name = … ])HasDiscriminator([ :name = …, :type = … ]) | DiscriminatorBuilder HasDiscriminator()DiscriminatorBuilder HasDiscriminator(string name, Type type)DiscriminatorBuilder<TDiscriminator> HasDiscriminator<TDiscriminator>(string name) |
HasIndex | HasIndex(value)HasIndex([ :propertyNames = … ])HasIndex([ :propertyNames = …, :name = … ]) | IndexBuilder HasIndex(string[] propertyNames)IndexBuilder HasIndex(string[] propertyNames, string name) |
HasKey | callMethod("HasKey",[p1]) | KeyBuilder HasKey(string[] propertyNames) |
HasMany | HasMany(value)HasMany([ :navigationName = … ])HasMany([ :relatedTypeName = …, :navigationName = … ])HasMany([ :relatedType = …, :navigationName = … ]) | CollectionNavigationBuilder HasMany(string relatedTypeName, string navigationName)CollectionNavigationBuilder HasMany(string navigationName)CollectionNavigationBuilder HasMany(Type relatedType, string navigationName = …) |
HasNoDiscriminator | callMethod("HasNoDiscriminator",[]) | EntityTypeBuilder HasNoDiscriminator() |
HasNoKey | callMethod("HasNoKey",[]) | EntityTypeBuilder HasNoKey() |
HasOne | HasOne(value)HasOne([ :navigationName = … ])HasOne([ :relatedTypeName = …, :navigationName = … ])HasOne([ :relatedType = …, :navigationName = … ]) | ReferenceNavigationBuilder HasOne(string relatedTypeName, string navigationName)ReferenceNavigationBuilder HasOne(Type relatedType, string navigationName = …)ReferenceNavigationBuilder HasOne(string navigationName) |
HasQueryFilter | callMethod("HasQueryFilter",[p1]) | EntityTypeBuilder HasQueryFilter(LambdaExpression filter) |
HasTrigger | HasTrigger(p1,p2) | static TriggerBuilder HasTrigger(IMutableEntityType entityType, string modelName) |
Ignore | callMethod("Ignore",[p1]) | EntityTypeBuilder Ignore(string propertyName) |
IndexerProperty | IndexerProperty(value)IndexerProperty([ :propertyName = … ])IndexerProperty([ :propertyType = …, :propertyName = … ]) | PropertyBuilder<TProperty> IndexerProperty<TProperty>(string propertyName)PropertyBuilder IndexerProperty(Type propertyType, string propertyName) |
Navigation | callMethod("Navigation",[p1]) | NavigationBuilder Navigation(string navigationName) |
OwnsMany | OwnsMany([ :ownedTypeName = …, :navigationName = … ])OwnsMany([ :ownedType = …, :navigationName = … ])OwnsMany([ :ownedTypeName = …, :ownedType = …, :navigationName = … ])OwnsMany([ :ownedTypeName = …, :navigationName = …, :buildAction = … ]) | OwnedNavigationBuilder OwnsMany(string ownedTypeName, string navigationName)OwnedNavigationBuilder OwnsMany(string ownedTypeName, Type ownedType, string navigationName)OwnedNavigationBuilder OwnsMany(Type ownedType, string navigationName)EntityTypeBuilder OwnsMany(string ownedTypeName, string navigationName, Action<OwnedNavigationBuilder> buildAction)EntityTypeBuilder OwnsMany(string ownedTypeName, Type ownedType, string navigationName, Action<OwnedNavigationBuilder> buildAction)EntityTypeBuilder OwnsMany(Type ownedType, string navigationName, Action<OwnedNavigationBuilder> buildAction) |
OwnsOne | OwnsOne([ :ownedTypeName = …, :navigationName = … ])OwnsOne([ :ownedType = …, :navigationName = … ])OwnsOne([ :ownedTypeName = …, :ownedType = …, :navigationName = … ])OwnsOne([ :ownedTypeName = …, :navigationName = …, :buildAction = … ]) | OwnedNavigationBuilder OwnsOne(string ownedTypeName, string navigationName)OwnedNavigationBuilder OwnsOne(string ownedTypeName, Type ownedType, string navigationName)OwnedNavigationBuilder OwnsOne(Type ownedType, string navigationName)EntityTypeBuilder OwnsOne(string ownedTypeName, string navigationName, Action<OwnedNavigationBuilder> buildAction)EntityTypeBuilder OwnsOne(string ownedTypeName, Type ownedType, string navigationName, Action<OwnedNavigationBuilder> buildAction)EntityTypeBuilder OwnsOne(Type ownedType, string navigationName, Action<OwnedNavigationBuilder> buildAction) |
PrimitiveCollection | PrimitiveCollection(value)PrimitiveCollection([ :propertyName = … ])PrimitiveCollection([ :propertyType = …, :propertyName = … ]) | PrimitiveCollectionBuilder PrimitiveCollection(string propertyName)PrimitiveCollectionBuilder<TProperty> PrimitiveCollection<TProperty>(string propertyName)PrimitiveCollectionBuilder PrimitiveCollection(Type propertyType, string propertyName) |
Property | Property(value)Property([ :propertyName = … ])Property([ :propertyType = …, :propertyName = … ]) | PropertyBuilder Property(string propertyName)PropertyBuilder<TProperty> Property<TProperty>(string propertyName)PropertyBuilder Property(Type propertyType, string propertyName) |
ToString | callMethod("ToString",[]) | string ToString() |
UsePropertyAccessMode | callMethod("UsePropertyAccessMode",[p1]) | EntityTypeBuilder UsePropertyAccessMode(PropertyAccessMode propertyAccessMode) |
EntityTypeBuilder1 class · extends EntityTypeBuilder
Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder`1 · assembly Microsoft.EntityFrameworkCore
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ComplexProperty | ComplexProperty(value)ComplexProperty([ :propertyExpression = … ])ComplexProperty([ :propertyName = …, :buildAction = … ])ComplexProperty([ :propertyExpression = …, :complexTypeName = … ])ComplexProperty([ :propertyExpression = …, :buildAction = … ]) | EntityTypeBuilder<TEntity> ComplexProperty<TProperty>(string propertyName, Action<ComplexPropertyBuilder<TProperty>> buildAction)EntityTypeBuilder<TEntity> ComplexProperty<TProperty>(string propertyName, string complexTypeName, Action<ComplexPropertyBuilder<TProperty>> buildAction)ComplexPropertyBuilder<TProperty> ComplexProperty<TProperty>(Expression<Func<TEntity, TProperty>> propertyExpression)ComplexPropertyBuilder<TProperty> ComplexProperty<TProperty>(Expression<Func<TEntity, TProperty>> propertyExpression, string complexTypeName)EntityTypeBuilder<TEntity> ComplexProperty<TProperty>(Expression<Func<TEntity, TProperty>> propertyExpression, Action<ComplexPropertyBuilder<TProperty>> buildAction)EntityTypeBuilder<TEntity> ComplexProperty<TProperty>(Expression<Func<TEntity, TProperty>> propertyExpression, string complexTypeName, Action<ComplexPropertyBuilder<TProperty>> buildAction) |
HasBaseType | HasBaseType(NULL) | EntityTypeBuilder<TEntity> HasBaseType<TBaseType>() |
HasDiscriminator | HasDiscriminator(value)HasDiscriminator([ :propertyExpression = … ]) | DiscriminatorBuilder<TDiscriminator> HasDiscriminator<TDiscriminator>(Expression<Func<TEntity, TDiscriminator>> propertyExpression) |
HasMany | HasMany(value)HasMany([ :navigationName = … ])HasMany([ :navigationExpression = … ]) | CollectionNavigationBuilder<TEntity, TRelatedEntity> HasMany<TRelatedEntity>(string navigationName)CollectionNavigationBuilder<TEntity, TRelatedEntity> HasMany<TRelatedEntity>(Expression<Func<TEntity, IEnumerable<TRelatedEntity>>> navigationExpression = …) |
HasOne | HasOne(value)HasOne([ :navigationName = … ])HasOne([ :navigationExpression = … ]) | ReferenceNavigationBuilder<TEntity, TRelatedEntity> HasOne<TRelatedEntity>(string navigationName)ReferenceNavigationBuilder<TEntity, TRelatedEntity> HasOne<TRelatedEntity>(Expression<Func<TEntity, TRelatedEntity>> navigationExpression = …) |
Navigation | callMethod("Navigation",[p1]) | NavigationBuilder<TEntity, TNavigation> Navigation<TNavigation>(Expression<Func<TEntity, TNavigation>> navigationExpression)NavigationBuilder<TEntity, TNavigation> Navigation<TNavigation>(Expression<Func<TEntity, IEnumerable<TNavigation>>> navigationExpression) |
OwnsMany | OwnsMany(value)OwnsMany([ :navigationName = … ])OwnsMany([ :navigationExpression = … ])OwnsMany([ :ownedTypeName = …, :navigationName = … ])OwnsMany([ :ownedTypeName = …, :navigationExpression = … ]) | OwnedNavigationBuilder<TEntity, TRelatedEntity> OwnsMany<TRelatedEntity>(string navigationName)OwnedNavigationBuilder<TEntity, TRelatedEntity> OwnsMany<TRelatedEntity>(string ownedTypeName, string navigationName)OwnedNavigationBuilder<TEntity, TRelatedEntity> OwnsMany<TRelatedEntity>(Expression<Func<TEntity, IEnumerable<TRelatedEntity>>> navigationExpression)OwnedNavigationBuilder<TEntity, TRelatedEntity> OwnsMany<TRelatedEntity>(string ownedTypeName, Expression<Func<TEntity, IEnumerable<TRelatedEntity>>> navigationExpression)EntityTypeBuilder<TEntity> OwnsMany<TRelatedEntity>(string navigationName, Action<OwnedNavigationBuilder<TEntity, TRelatedEntity>> buildAction)EntityTypeBuilder<TEntity> OwnsMany<TRelatedEntity>(string ownedTypeName, string navigationName, Action<OwnedNavigationBuilder<TEntity, TRelatedEntity>> buildAction)EntityTypeBuilder<TEntity> OwnsMany<TRelatedEntity>(Expression<Func<TEntity, IEnumerable<TRelatedEntity>>> navigationExpression, Action<OwnedNavigationBuilder<TEntity, TRelatedEntity>> buildAction)EntityTypeBuilder<TEntity> OwnsMany<TRelatedEntity>(string ownedTypeName, Expression<Func<TEntity, IEnumerable<TRelatedEntity>>> navigationExpression, Action<OwnedNavigationBuilder<TEntity, TRelatedEntity>> buildAction) |
OwnsOne | OwnsOne(value)OwnsOne([ :navigationName = … ])OwnsOne([ :navigationExpression = … ])OwnsOne([ :ownedTypeName = …, :navigationName = … ])OwnsOne([ :ownedTypeName = …, :navigationExpression = … ]) | OwnedNavigationBuilder<TEntity, TRelatedEntity> OwnsOne<TRelatedEntity>(string navigationName)OwnedNavigationBuilder<TEntity, TRelatedEntity> OwnsOne<TRelatedEntity>(string ownedTypeName, string navigationName)OwnedNavigationBuilder<TEntity, TRelatedEntity> OwnsOne<TRelatedEntity>(Expression<Func<TEntity, TRelatedEntity>> navigationExpression)OwnedNavigationBuilder<TEntity, TRelatedEntity> OwnsOne<TRelatedEntity>(string ownedTypeName, Expression<Func<TEntity, TRelatedEntity>> navigationExpression)EntityTypeBuilder<TEntity> OwnsOne<TRelatedEntity>(string navigationName, Action<OwnedNavigationBuilder<TEntity, TRelatedEntity>> buildAction)EntityTypeBuilder<TEntity> OwnsOne<TRelatedEntity>(string ownedTypeName, string navigationName, Action<OwnedNavigationBuilder<TEntity, TRelatedEntity>> buildAction)EntityTypeBuilder<TEntity> OwnsOne<TRelatedEntity>(Expression<Func<TEntity, TRelatedEntity>> navigationExpression, Action<OwnedNavigationBuilder<TEntity, TRelatedEntity>> buildAction)EntityTypeBuilder<TEntity> OwnsOne<TRelatedEntity>(string ownedTypeName, Expression<Func<TEntity, TRelatedEntity>> navigationExpression, Action<OwnedNavigationBuilder<TEntity, TRelatedEntity>> buildAction) |
PrimitiveCollection | PrimitiveCollection(value)PrimitiveCollection([ :propertyExpression = … ]) | PrimitiveCollectionBuilder<TProperty> PrimitiveCollection<TProperty>(Expression<Func<TEntity, TProperty>> propertyExpression) |
Property | Property(value)Property([ :propertyExpression = … ]) | PropertyBuilder<TProperty> Property<TProperty>(Expression<Func<TEntity, TProperty>> propertyExpression) |
Members of the base class are inherited.
IConventionAnnotatableBuilder interface
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionAnnotatableBuilder · assembly Microsoft.EntityFrameworkCore
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IConventionAnnotatable | read | o.Metadata |
ModelBuilder | IConventionModelBuilder | read | o.ModelBuilder |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanRemoveAnnotation | callMethod("CanRemoveAnnotation",[p1,p2]) | bool CanRemoveAnnotation(string name, bool fromDataAnnotation = …) |
CanSetAnnotation | CanSetAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | bool CanSetAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasAnnotation | HasAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionAnnotatableBuilder HasAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasNoAnnotation | HasNoAnnotation([ :name = …, :fromDataAnnotation = … ]) | IConventionAnnotatableBuilder HasNoAnnotation(string name, bool fromDataAnnotation = …) |
HasNonNullAnnotation | HasNonNullAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionAnnotatableBuilder HasNonNullAnnotation(string name, object value, bool fromDataAnnotation = …) |
IConventionCheckConstraintBuilder interface
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionCheckConstraintBuilder · assembly Microsoft.EntityFrameworkCore.Relational
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IConventionCheckConstraint | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanSetName | callMethod("CanSetName",[p1,p2]) | bool CanSetName(string name, bool fromDataAnnotation = …) |
HasAnnotation | HasAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionCheckConstraintBuilder HasAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasName | HasName([ :name = …, :fromDataAnnotation = … ]) | IConventionCheckConstraintBuilder HasName(string name, bool fromDataAnnotation = …) |
HasNoAnnotation | HasNoAnnotation([ :name = …, :fromDataAnnotation = … ]) | IConventionCheckConstraintBuilder HasNoAnnotation(string name, bool fromDataAnnotation = …) |
HasNonNullAnnotation | HasNonNullAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionCheckConstraintBuilder HasNonNullAnnotation(string name, object value, bool fromDataAnnotation = …) |
IConventionComplexPropertyBuilder interface
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder · assembly Microsoft.EntityFrameworkCore
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IConventionComplexProperty | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanSetIsRequired | callMethod("CanSetIsRequired",[p1,p2]) | bool CanSetIsRequired(bool? required, bool fromDataAnnotation = …) |
IsRequired | IsRequired([ :required = …, :fromDataAnnotation = … ]) | IConventionComplexPropertyBuilder IsRequired(bool? required, bool fromDataAnnotation = …) |
IConventionComplexTypeBuilder interface
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexTypeBuilder · assembly Microsoft.EntityFrameworkCore
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IConventionComplexType | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
HasAnnotation | HasAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionComplexTypeBuilder HasAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasChangeTrackingStrategy | HasChangeTrackingStrategy([ :changeTrackingStrategy = …, :fromDataAnnotation = … ]) | IConventionComplexTypeBuilder HasChangeTrackingStrategy(ChangeTrackingStrategy? changeTrackingStrategy, bool fromDataAnnotation = …) |
HasNoAnnotation | HasNoAnnotation([ :name = …, :fromDataAnnotation = … ]) | IConventionComplexTypeBuilder HasNoAnnotation(string name, bool fromDataAnnotation = …) |
HasNoComplexProperty | HasNoComplexProperty([ :complexProperty = …, :fromDataAnnotation = … ]) | IConventionComplexTypeBuilder HasNoComplexProperty(IConventionComplexProperty complexProperty, bool fromDataAnnotation = …) |
HasNonNullAnnotation | HasNonNullAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionComplexTypeBuilder HasNonNullAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasNoProperty | HasNoProperty([ :property = …, :fromDataAnnotation = … ]) | IConventionComplexTypeBuilder HasNoProperty(IConventionProperty property, bool fromDataAnnotation = …) |
Ignore | Ignore([ :memberName = …, :fromDataAnnotation = … ]) | IConventionComplexTypeBuilder Ignore(string memberName, bool fromDataAnnotation = …) |
RemoveUnusedImplicitProperties | callMethod("RemoveUnusedImplicitProperties",[p1]) | IConventionComplexTypeBuilder RemoveUnusedImplicitProperties(IReadOnlyList<IConventionProperty> properties) |
UsePropertyAccessMode | UsePropertyAccessMode([ :propertyAccessMode = …, :fromDataAnnotation = … ]) | IConventionComplexTypeBuilder UsePropertyAccessMode(PropertyAccessMode? propertyAccessMode, bool fromDataAnnotation = …) |
IConventionDbFunctionBuilder interface
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDbFunctionBuilder · assembly Microsoft.EntityFrameworkCore.Relational
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IConventionDbFunction | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanSetIsBuiltIn | callMethod("CanSetIsBuiltIn",[p1,p2]) | bool CanSetIsBuiltIn(bool builtIn, bool fromDataAnnotation = …) |
CanSetIsNullable | callMethod("CanSetIsNullable",[p1,p2]) | bool CanSetIsNullable(bool nullable, bool fromDataAnnotation = …) |
CanSetName | callMethod("CanSetName",[p1,p2]) | bool CanSetName(string name, bool fromDataAnnotation = …) |
CanSetSchema | callMethod("CanSetSchema",[p1,p2]) | bool CanSetSchema(string schema, bool fromDataAnnotation = …) |
CanSetStoreType | callMethod("CanSetStoreType",[p1,p2]) | bool CanSetStoreType(string storeType, bool fromDataAnnotation = …) |
CanSetTranslation | callMethod("CanSetTranslation",[p1,p2]) | bool CanSetTranslation(Func<IReadOnlyList<SqlExpression>, SqlExpression> translation, bool fromDataAnnotation = …) |
CanSetTypeMapping | callMethod("CanSetTypeMapping",[p1,p2]) | bool CanSetTypeMapping(RelationalTypeMapping typeMapping, bool fromDataAnnotation = …) |
HasAnnotation | HasAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionDbFunctionBuilder HasAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasName | HasName([ :name = …, :fromDataAnnotation = … ]) | IConventionDbFunctionBuilder HasName(string name, bool fromDataAnnotation = …) |
HasNoAnnotation | HasNoAnnotation([ :name = …, :fromDataAnnotation = … ]) | IConventionDbFunctionBuilder HasNoAnnotation(string name, bool fromDataAnnotation = …) |
HasNonNullAnnotation | HasNonNullAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionDbFunctionBuilder HasNonNullAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasParameter | HasParameter([ :name = …, :fromDataAnnotation = … ]) | IConventionDbFunctionParameterBuilder HasParameter(string name, bool fromDataAnnotation = …) |
HasSchema | HasSchema([ :schema = …, :fromDataAnnotation = … ]) | IConventionDbFunctionBuilder HasSchema(string schema, bool fromDataAnnotation = …) |
HasStoreType | HasStoreType([ :storeType = …, :fromDataAnnotation = … ]) | IConventionDbFunctionBuilder HasStoreType(string storeType, bool fromDataAnnotation = …) |
HasTranslation | HasTranslation([ :translation = …, :fromDataAnnotation = … ]) | IConventionDbFunctionBuilder HasTranslation(Func<IReadOnlyList<SqlExpression>, SqlExpression> translation, bool fromDataAnnotation = …) |
HasTypeMapping | HasTypeMapping([ :typeMapping = …, :fromDataAnnotation = … ]) | IConventionDbFunctionBuilder HasTypeMapping(RelationalTypeMapping typeMapping, bool fromDataAnnotation = …) |
IsBuiltIn | IsBuiltIn([ :builtIn = …, :fromDataAnnotation = … ]) | IConventionDbFunctionBuilder IsBuiltIn(bool builtIn, bool fromDataAnnotation = …) |
IsNullable | IsNullable([ :nullable = …, :fromDataAnnotation = … ]) | IConventionDbFunctionBuilder IsNullable(bool nullable, bool fromDataAnnotation = …) |
IConventionDbFunctionParameterBuilder interface
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDbFunctionParameterBuilder · assembly Microsoft.EntityFrameworkCore.Relational
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IConventionDbFunctionParameter | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanSetStoreType | callMethod("CanSetStoreType",[p1,p2]) | bool CanSetStoreType(string storeType, bool fromDataAnnotation = …) |
CanSetTypeMapping | callMethod("CanSetTypeMapping",[p1,p2]) | bool CanSetTypeMapping(RelationalTypeMapping typeMapping, bool fromDataAnnotation = …) |
HasAnnotation | HasAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionDbFunctionParameterBuilder HasAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasNoAnnotation | HasNoAnnotation([ :name = …, :fromDataAnnotation = … ]) | IConventionDbFunctionParameterBuilder HasNoAnnotation(string name, bool fromDataAnnotation = …) |
HasNonNullAnnotation | HasNonNullAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionDbFunctionParameterBuilder HasNonNullAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasStoreType | HasStoreType([ :storeType = …, :fromDataAnnotation = … ]) | IConventionDbFunctionParameterBuilder HasStoreType(string storeType, bool fromDataAnnotation = …) |
HasTypeMapping | HasTypeMapping([ :typeMapping = …, :fromDataAnnotation = … ]) | IConventionDbFunctionParameterBuilder HasTypeMapping(RelationalTypeMapping typeMapping, bool fromDataAnnotation = …) |
IConventionDiscriminatorBuilder interface
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDiscriminatorBuilder · assembly Microsoft.EntityFrameworkCore
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
EntityType | IConventionEntityType | read | o.EntityType |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanSetIsComplete | callMethod("CanSetIsComplete",[p1,p2]) | bool CanSetIsComplete(bool complete, bool fromDataAnnotation = …) |
CanSetValue | callMethod("CanSetValue",[p1,p2])callMethod("CanSetValue",[p1,p2,p3]) | bool CanSetValue(object value, bool fromDataAnnotation = …)bool CanSetValue(IConventionEntityType entityType, object value, bool fromDataAnnotation = …) |
HasValue | HasValue([ :value = …, :fromDataAnnotation = … ])HasValue([ :entityType = …, :value = …, :fromDataAnnotation = … ]) | IConventionDiscriminatorBuilder HasValue(object value, bool fromDataAnnotation = …)IConventionDiscriminatorBuilder HasValue(IConventionEntityType entityType, object value, bool fromDataAnnotation = …) |
IsComplete | IsComplete([ :complete = …, :fromDataAnnotation = … ]) | IConventionDiscriminatorBuilder IsComplete(bool complete, bool fromDataAnnotation = …) |
IConventionElementTypeBuilder interface
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionElementTypeBuilder · assembly Microsoft.EntityFrameworkCore
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IConventionElementType | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanSetConversion | callMethod("CanSetConversion",[p1,p2]) | bool CanSetConversion(ValueConverter converter, bool fromDataAnnotation = …)bool CanSetConversion(Type providerClrType, bool fromDataAnnotation = …) |
CanSetConverter | callMethod("CanSetConverter",[p1,p2]) | bool CanSetConverter(Type converterType, bool fromDataAnnotation = …) |
CanSetIsRequired | callMethod("CanSetIsRequired",[p1,p2]) | bool CanSetIsRequired(bool? required, bool fromDataAnnotation = …) |
CanSetIsUnicode | callMethod("CanSetIsUnicode",[p1,p2]) | bool CanSetIsUnicode(bool? unicode, bool fromDataAnnotation = …) |
CanSetMaxLength | callMethod("CanSetMaxLength",[p1,p2]) | bool CanSetMaxLength(int? maxLength, bool fromDataAnnotation = …) |
CanSetPrecision | callMethod("CanSetPrecision",[p1,p2]) | bool CanSetPrecision(int? precision, bool fromDataAnnotation = …) |
CanSetScale | callMethod("CanSetScale",[p1,p2]) | bool CanSetScale(int? scale, bool fromDataAnnotation = …) |
CanSetTypeMapping | callMethod("CanSetTypeMapping",[p1,p2]) | bool CanSetTypeMapping(CoreTypeMapping typeMapping, bool fromDataAnnotation = …) |
CanSetValueComparer | callMethod("CanSetValueComparer",[p1,p2]) | bool CanSetValueComparer(ValueComparer comparer, bool fromDataAnnotation = …)bool CanSetValueComparer(Type comparerType, bool fromDataAnnotation = …) |
HasAnnotation | HasAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionElementTypeBuilder HasAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasConversion | HasConversion([ :converter = …, :fromDataAnnotation = … ])HasConversion([ :providerClrType = …, :fromDataAnnotation = … ]) | IConventionElementTypeBuilder HasConversion(ValueConverter converter, bool fromDataAnnotation = …)IConventionElementTypeBuilder HasConversion(Type providerClrType, bool fromDataAnnotation = …) |
HasConverter | HasConverter([ :converterType = …, :fromDataAnnotation = … ]) | IConventionElementTypeBuilder HasConverter(Type converterType, bool fromDataAnnotation = …) |
HasMaxLength | HasMaxLength([ :maxLength = …, :fromDataAnnotation = … ]) | IConventionElementTypeBuilder HasMaxLength(int? maxLength, bool fromDataAnnotation = …) |
HasNoAnnotation | HasNoAnnotation([ :name = …, :fromDataAnnotation = … ]) | IConventionElementTypeBuilder HasNoAnnotation(string name, bool fromDataAnnotation = …) |
HasNonNullAnnotation | HasNonNullAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionElementTypeBuilder HasNonNullAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasPrecision | HasPrecision([ :precision = …, :fromDataAnnotation = … ]) | IConventionElementTypeBuilder HasPrecision(int? precision, bool fromDataAnnotation = …) |
HasScale | HasScale([ :scale = …, :fromDataAnnotation = … ]) | IConventionElementTypeBuilder HasScale(int? scale, bool fromDataAnnotation = …) |
HasTypeMapping | HasTypeMapping([ :typeMapping = …, :fromDataAnnotation = … ]) | IConventionElementTypeBuilder HasTypeMapping(CoreTypeMapping typeMapping, bool fromDataAnnotation = …) |
HasValueComparer | HasValueComparer([ :comparer = …, :fromDataAnnotation = … ])HasValueComparer([ :comparerType = …, :fromDataAnnotation = … ]) | IConventionElementTypeBuilder HasValueComparer(ValueComparer comparer, bool fromDataAnnotation = …)IConventionElementTypeBuilder HasValueComparer(Type comparerType, bool fromDataAnnotation = …) |
IsRequired | IsRequired([ :required = …, :fromDataAnnotation = … ]) | IConventionElementTypeBuilder IsRequired(bool? required, bool fromDataAnnotation = …) |
IsUnicode | IsUnicode([ :unicode = …, :fromDataAnnotation = … ]) | IConventionElementTypeBuilder IsUnicode(bool? unicode, bool fromDataAnnotation = …) |
IConventionEntityTypeBuilder interface
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder · assembly Microsoft.EntityFrameworkCore
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IConventionEntityType | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanHaveIndex | callMethod("CanHaveIndex",[p1,p2]) | bool CanHaveIndex(IReadOnlyList<string> propertyNames, bool fromDataAnnotation = …) |
CanHaveNavigation | callMethod("CanHaveNavigation",[p1,p2])callMethod("CanHaveNavigation",[p1,p2,p3]) | bool CanHaveNavigation(string navigationName, Type type, bool fromDataAnnotation = …)bool CanHaveNavigation(MemberInfo navigation, bool fromDataAnnotation = …) |
CanHaveServiceProperty | callMethod("CanHaveServiceProperty",[p1,p2]) | bool CanHaveServiceProperty(MemberInfo memberInfo, bool fromDataAnnotation = …) |
CanHaveSkipNavigation | callMethod("CanHaveSkipNavigation",[p1,p2])callMethod("CanHaveSkipNavigation",[p1,p2,p3]) | bool CanHaveSkipNavigation(string skipNavigationName, Type type, bool fromDataAnnotation = …)bool CanHaveSkipNavigation(MemberInfo navigation, bool fromDataAnnotation = …) |
CanHaveTrigger | callMethod("CanHaveTrigger",[p1,p2]) | bool CanHaveTrigger(string modelName, bool fromDataAnnotation = …) |
CanRemoveDiscriminator | callMethod("CanRemoveDiscriminator",[p1]) | bool CanRemoveDiscriminator(bool fromDataAnnotation = …) |
CanRemoveIndex | callMethod("CanRemoveIndex",[p1,p2]) | bool CanRemoveIndex(IConventionIndex index, bool fromDataAnnotation = …) |
CanRemoveKey | callMethod("CanRemoveKey",[p1])callMethod("CanRemoveKey",[p1,p2]) | bool CanRemoveKey(IConventionKey key, bool fromDataAnnotation = …)bool CanRemoveKey(bool fromDataAnnotation = …) |
CanRemoveNavigation | callMethod("CanRemoveNavigation",[p1,p2]) | bool CanRemoveNavigation(IConventionNavigation navigation, bool fromDataAnnotation = …) |
CanRemoveRelationship | callMethod("CanRemoveRelationship",[p1,p2]) | bool CanRemoveRelationship(IConventionForeignKey foreignKey, bool fromDataAnnotation = …) |
CanRemoveServiceProperty | callMethod("CanRemoveServiceProperty",[p1,p2]) | bool CanRemoveServiceProperty(IConventionServiceProperty serviceProperty, bool fromDataAnnotation = …) |
CanRemoveSkipNavigation | callMethod("CanRemoveSkipNavigation",[p1,p2]) | bool CanRemoveSkipNavigation(IConventionSkipNavigation skipNavigation, bool fromDataAnnotation = …) |
CanSetBaseType | callMethod("CanSetBaseType",[p1,p2]) | bool CanSetBaseType(IConventionEntityType baseEntityType, bool fromDataAnnotation = …) |
CanSetDefiningQuery | callMethod("CanSetDefiningQuery",[p1,p2]) | bool CanSetDefiningQuery(LambdaExpression query, bool fromDataAnnotation = …) |
CanSetDiscriminator | callMethod("CanSetDiscriminator",[p1,p2])callMethod("CanSetDiscriminator",[p1,p2,p3]) | bool CanSetDiscriminator(string name, bool fromDataAnnotation = …)bool CanSetDiscriminator(Type type, bool fromDataAnnotation = …)bool CanSetDiscriminator(string name, Type type, bool fromDataAnnotation = …)bool CanSetDiscriminator(MemberInfo memberInfo, bool fromDataAnnotation = …) |
CanSetPrimaryKey | callMethod("CanSetPrimaryKey",[p1,p2]) | bool CanSetPrimaryKey(IReadOnlyList<string> propertyNames, bool fromDataAnnotation = …)bool CanSetPrimaryKey(IReadOnlyList<IConventionProperty> properties, bool fromDataAnnotation = …) |
CanSetQueryFilter | callMethod("CanSetQueryFilter",[p1,p2]) | bool CanSetQueryFilter(LambdaExpression filter, bool fromDataAnnotation = …) |
GetTargetEntityTypeBuilder | GetTargetEntityTypeBuilder([ :targetClrType = …, :navigationInfo = …, :createIfMissing = …, :targetShouldBeOwned = …, :fromDataAnnotation = … ]) | IConventionEntityTypeBuilder GetTargetEntityTypeBuilder(Type targetClrType, MemberInfo navigationInfo, bool createIfMissing = …, bool? targetShouldBeOwned = …, bool fromDataAnnotation = …) |
HasAnnotation | HasAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionEntityTypeBuilder HasAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasBaseType | HasBaseType([ :baseEntityType = …, :fromDataAnnotation = … ]) | IConventionEntityTypeBuilder HasBaseType(IConventionEntityType baseEntityType, bool fromDataAnnotation = …) |
HasChangeTrackingStrategy | HasChangeTrackingStrategy([ :changeTrackingStrategy = …, :fromDataAnnotation = … ]) | IConventionEntityTypeBuilder HasChangeTrackingStrategy(ChangeTrackingStrategy? changeTrackingStrategy, bool fromDataAnnotation = …) |
HasDefiningQuery | HasDefiningQuery([ :query = …, :fromDataAnnotation = … ]) | IConventionEntityTypeBuilder HasDefiningQuery(LambdaExpression query, bool fromDataAnnotation = …) |
HasDiscriminator | HasDiscriminator(value)HasDiscriminator([ :fromDataAnnotation = … ])HasDiscriminator([ :type = …, :fromDataAnnotation = … ])HasDiscriminator([ :name = …, :fromDataAnnotation = … ])HasDiscriminator([ :memberInfo = …, :fromDataAnnotation = … ]) | IConventionDiscriminatorBuilder HasDiscriminator(bool fromDataAnnotation = …)IConventionDiscriminatorBuilder HasDiscriminator(Type type, bool fromDataAnnotation = …)IConventionDiscriminatorBuilder HasDiscriminator(string name, bool fromDataAnnotation = …)IConventionDiscriminatorBuilder HasDiscriminator(string name, Type type, bool fromDataAnnotation = …)IConventionDiscriminatorBuilder HasDiscriminator(MemberInfo memberInfo, bool fromDataAnnotation = …) |
HasIndex | HasIndex([ :propertyNames = …, :fromDataAnnotation = … ])HasIndex([ :properties = …, :fromDataAnnotation = … ])HasIndex([ :propertyNames = …, :name = …, :fromDataAnnotation = … ])HasIndex([ :properties = …, :name = …, :fromDataAnnotation = … ]) | IConventionIndexBuilder HasIndex(IReadOnlyList<string> propertyNames, bool fromDataAnnotation = …)IConventionIndexBuilder HasIndex(IReadOnlyList<string> propertyNames, string name, bool fromDataAnnotation = …)IConventionIndexBuilder HasIndex(IReadOnlyList<IConventionProperty> properties, bool fromDataAnnotation = …)IConventionIndexBuilder HasIndex(IReadOnlyList<IConventionProperty> properties, string name, bool fromDataAnnotation = …) |
HasKey | HasKey([ :properties = …, :fromDataAnnotation = … ]) | IConventionKeyBuilder HasKey(IReadOnlyList<IConventionProperty> properties, bool fromDataAnnotation = …) |
HasNoAnnotation | HasNoAnnotation([ :name = …, :fromDataAnnotation = … ]) | IConventionEntityTypeBuilder HasNoAnnotation(string name, bool fromDataAnnotation = …) |
HasNoComplexProperty | HasNoComplexProperty([ :complexProperty = …, :fromDataAnnotation = … ]) | IConventionEntityTypeBuilder HasNoComplexProperty(IConventionComplexProperty complexProperty, bool fromDataAnnotation = …) |
HasNoDiscriminator | HasNoDiscriminator(value)HasNoDiscriminator([ :fromDataAnnotation = … ]) | IConventionEntityTypeBuilder HasNoDiscriminator(bool fromDataAnnotation = …) |
HasNoIndex | HasNoIndex([ :properties = …, :fromDataAnnotation = … ])HasNoIndex([ :index = …, :fromDataAnnotation = … ]) | IConventionEntityTypeBuilder HasNoIndex(IReadOnlyList<IConventionProperty> properties, bool fromDataAnnotation = …)IConventionEntityTypeBuilder HasNoIndex(IConventionIndex index, bool fromDataAnnotation = …) |
HasNoKey | HasNoKey(value)HasNoKey([ :fromDataAnnotation = … ])HasNoKey([ :properties = …, :fromDataAnnotation = … ])HasNoKey([ :key = …, :fromDataAnnotation = … ]) | IConventionEntityTypeBuilder HasNoKey(IReadOnlyList<IConventionProperty> properties, bool fromDataAnnotation = …)IConventionEntityTypeBuilder HasNoKey(IConventionKey key, bool fromDataAnnotation = …)IConventionEntityTypeBuilder HasNoKey(bool fromDataAnnotation = …) |
HasNoNavigation | HasNoNavigation([ :navigation = …, :fromDataAnnotation = … ]) | IConventionEntityTypeBuilder HasNoNavigation(IConventionNavigation navigation, bool fromDataAnnotation = …) |
HasNonNullAnnotation | HasNonNullAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionEntityTypeBuilder HasNonNullAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasNoProperty | HasNoProperty([ :property = …, :fromDataAnnotation = … ]) | IConventionEntityTypeBuilder HasNoProperty(IConventionProperty property, bool fromDataAnnotation = …) |
HasNoRelationship | HasNoRelationship([ :foreignKey = …, :fromDataAnnotation = … ])HasNoRelationship([ :properties = …, :principalKey = …, :principalEntityType = …, :fromDataAnnotation = … ]) | IConventionEntityTypeBuilder HasNoRelationship(IReadOnlyList<IConventionProperty> properties, IConventionKey principalKey, IConventionEntityType principalEntityType, bool fromDataAnnotation = …)IConventionEntityTypeBuilder HasNoRelationship(IConventionForeignKey foreignKey, bool fromDataAnnotation = …) |
HasNoServiceProperty | HasNoServiceProperty([ :serviceProperty = …, :fromDataAnnotation = … ]) | IConventionEntityTypeBuilder HasNoServiceProperty(IConventionServiceProperty serviceProperty, bool fromDataAnnotation = …) |
HasNoSkipNavigation | HasNoSkipNavigation([ :skipNavigation = …, :fromDataAnnotation = … ]) | IConventionEntityTypeBuilder HasNoSkipNavigation(IConventionSkipNavigation skipNavigation, bool fromDataAnnotation = …) |
HasOwnership | HasOwnership([ :targetEntityType = …, :navigationName = …, :fromDataAnnotation = … ])HasOwnership([ :targetEntityType = …, :navigation = …, :fromDataAnnotation = … ])HasOwnership([ :targetEntityType = …, :navigationName = …, :inverseNavigationName = …, :fromDataAnnotation = … ])HasOwnership([ :targetEntityType = …, :navigation = …, :inverseNavigation = …, :fromDataAnnotation = … ]) | IConventionForeignKeyBuilder HasOwnership(Type targetEntityType, string navigationName, bool fromDataAnnotation = …)IConventionForeignKeyBuilder HasOwnership(IConventionEntityType targetEntityType, string navigationName, bool fromDataAnnotation = …)IConventionForeignKeyBuilder HasOwnership(Type targetEntityType, MemberInfo navigation, bool fromDataAnnotation = …)IConventionForeignKeyBuilder HasOwnership(IConventionEntityType targetEntityType, MemberInfo navigation, bool fromDataAnnotation = …)IConventionForeignKeyBuilder HasOwnership(Type targetEntityType, string navigationName, string inverseNavigationName, bool fromDataAnnotation = …)IConventionForeignKeyBuilder HasOwnership(IConventionEntityType targetEntityType, string navigationName, string inverseNavigationName, bool fromDataAnnotation = …)IConventionForeignKeyBuilder HasOwnership(Type targetEntityType, MemberInfo navigation, MemberInfo inverseNavigation, bool fromDataAnnotation = …)IConventionForeignKeyBuilder HasOwnership(IConventionEntityType targetEntityType, MemberInfo navigation, MemberInfo inverseNavigation, bool fromDataAnnotation = …) |
HasQueryFilter | HasQueryFilter([ :filter = …, :fromDataAnnotation = … ]) | IConventionEntityTypeBuilder HasQueryFilter(LambdaExpression filter, bool fromDataAnnotation = …) |
HasRelationship | HasRelationship([ :targetEntityType = …, :fromDataAnnotation = … ])HasRelationship([ :principalEntityType = …, :dependentProperties = …, :fromDataAnnotation = … ])HasRelationship([ :principalEntityType = …, :principalKey = …, :fromDataAnnotation = … ])HasRelationship([ :principalEntityType = …, :dependentProperties = …, :principalKey = …, :fromDataAnnotation = … ]) | IConventionForeignKeyBuilder HasRelationship(IConventionEntityType targetEntityType, bool fromDataAnnotation = …)IConventionForeignKeyBuilder HasRelationship(IConventionEntityType principalEntityType, IReadOnlyList<IConventionProperty> dependentProperties, bool fromDataAnnotation = …)IConventionForeignKeyBuilder HasRelationship(IConventionEntityType principalEntityType, IConventionKey principalKey, bool fromDataAnnotation = …)IConventionForeignKeyBuilder HasRelationship(IConventionEntityType principalEntityType, IReadOnlyList<IConventionProperty> dependentProperties, IConventionKey principalKey, bool fromDataAnnotation = …)IConventionForeignKeyBuilder HasRelationship(IConventionEntityType targetEntityType, string navigationName, bool setTargetAsPrincipal = …, bool fromDataAnnotation = …)IConventionForeignKeyBuilder HasRelationship(IConventionEntityType targetEntityType, MemberInfo navigation, bool setTargetAsPrincipal = …, bool fromDataAnnotation = …)IConventionForeignKeyBuilder HasRelationship(IConventionEntityType targetEntityType, string navigationName, string inverseNavigationName, bool setTargetAsPrincipal = …, bool fromDataAnnotation = …)IConventionForeignKeyBuilder HasRelationship(IConventionEntityType targetEntityType, MemberInfo navigation, MemberInfo inverseNavigation, bool setTargetAsPrincipal = …, bool fromDataAnnotation = …) |
HasSkipNavigation | HasSkipNavigation([ :navigation = …, :targetEntityType = …, :collection = …, :onDependent = …, :fromDataAnnotation = … ])HasSkipNavigation([ :navigation = …, :targetEntityType = …, :inverseNavigation = …, :collections = …, :onDependent = …, :fromDataAnnotation = … ])HasSkipNavigation([ :navigationName = …, :targetEntityType = …, :navigationType = …, :collection = …, :onDependent = …, :fromDataAnnotation = … ]) | IConventionSkipNavigationBuilder HasSkipNavigation(MemberInfo navigation, IConventionEntityType targetEntityType, MemberInfo inverseNavigation, bool? collections = …, bool? onDependent = …, bool fromDataAnnotation = …)IConventionSkipNavigationBuilder HasSkipNavigation(MemberInfo navigation, IConventionEntityType targetEntityType, bool? collection = …, bool? onDependent = …, bool fromDataAnnotation = …)IConventionSkipNavigationBuilder HasSkipNavigation(string navigationName, IConventionEntityType targetEntityType, Type navigationType = …, bool? collection = …, bool? onDependent = …, bool fromDataAnnotation = …) |
HasTrigger | HasTrigger([ :modelName = …, :fromDataAnnotation = … ]) | IConventionTriggerBuilder HasTrigger(string modelName, bool fromDataAnnotation = …) |
Ignore | Ignore([ :memberName = …, :fromDataAnnotation = … ]) | IConventionEntityTypeBuilder Ignore(string memberName, bool fromDataAnnotation = …) |
PrimaryKey | PrimaryKey([ :properties = …, :fromDataAnnotation = … ])PrimaryKey([ :propertyNames = …, :fromDataAnnotation = … ]) | IConventionKeyBuilder PrimaryKey(IReadOnlyList<IConventionProperty> properties, bool fromDataAnnotation = …)IConventionKeyBuilder PrimaryKey(IReadOnlyList<string> propertyNames, bool fromDataAnnotation = …) |
RemoveUnusedImplicitProperties | callMethod("RemoveUnusedImplicitProperties",[p1]) | IConventionEntityTypeBuilder RemoveUnusedImplicitProperties(IReadOnlyList<IConventionProperty> properties) |
ServiceProperty | ServiceProperty([ :memberInfo = …, :fromDataAnnotation = … ])ServiceProperty([ :serviceType = …, :memberInfo = …, :fromDataAnnotation = … ]) | IConventionServicePropertyBuilder ServiceProperty(MemberInfo memberInfo, bool fromDataAnnotation = …)IConventionServicePropertyBuilder ServiceProperty(Type serviceType, MemberInfo memberInfo, bool fromDataAnnotation = …) |
UsePropertyAccessMode | UsePropertyAccessMode([ :propertyAccessMode = …, :fromDataAnnotation = … ]) | IConventionEntityTypeBuilder UsePropertyAccessMode(PropertyAccessMode? propertyAccessMode, bool fromDataAnnotation = …) |
IConventionEntityTypeMappingFragmentBuilder interface
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeMappingFragmentBuilder · assembly Microsoft.EntityFrameworkCore.Relational
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IConventionEntityTypeMappingFragment | read | o.Metadata |
IConventionForeignKeyBuilder interface
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder · assembly Microsoft.EntityFrameworkCore
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IConventionForeignKey | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanInvert | callMethod("CanInvert",[p1,p2]) | bool CanInvert(IReadOnlyList<IConventionProperty> newForeignKeyProperties, bool fromDataAnnotation = …) |
CanSetEntityTypes | CanSetEntityTypes([ :principalEntityType = …, :dependentEntityType = …, :fromDataAnnotation = … ]) | bool CanSetEntityTypes(IConventionEntityType principalEntityType, IConventionEntityType dependentEntityType, bool fromDataAnnotation = …) |
CanSetForeignKey | callMethod("CanSetForeignKey",[p1,p2]) | bool CanSetForeignKey(IReadOnlyList<string> propertyNames, bool fromDataAnnotation = …)bool CanSetForeignKey(IReadOnlyList<IConventionProperty> properties, bool fromDataAnnotation = …) |
CanSetIsOwnership | callMethod("CanSetIsOwnership",[p1,p2]) | bool CanSetIsOwnership(bool? ownership, bool fromDataAnnotation = …) |
CanSetIsRequired | callMethod("CanSetIsRequired",[p1,p2]) | bool CanSetIsRequired(bool? required, bool fromDataAnnotation = …) |
CanSetIsRequiredDependent | callMethod("CanSetIsRequiredDependent",[p1,p2]) | bool CanSetIsRequiredDependent(bool? required, bool fromDataAnnotation = …) |
CanSetIsUnique | callMethod("CanSetIsUnique",[p1,p2]) | bool CanSetIsUnique(bool? unique, bool fromDataAnnotation = …) |
CanSetNavigation | CanSetNavigation([ :name = …, :pointsToPrincipal = …, :fromDataAnnotation = … ])CanSetNavigation([ :property = …, :pointsToPrincipal = …, :fromDataAnnotation = … ]) | bool CanSetNavigation(string name, bool pointsToPrincipal, bool fromDataAnnotation = …)bool CanSetNavigation(MemberInfo property, bool pointsToPrincipal, bool fromDataAnnotation = …) |
CanSetNavigations | CanSetNavigations([ :navigationToPrincipalName = …, :navigationToDependentName = …, :fromDataAnnotation = … ])CanSetNavigations([ :navigationToPrincipal = …, :navigationToDependent = …, :fromDataAnnotation = … ]) | bool CanSetNavigations(string navigationToPrincipalName, string navigationToDependentName, bool fromDataAnnotation = …)bool CanSetNavigations(MemberInfo navigationToPrincipal, MemberInfo navigationToDependent, bool fromDataAnnotation = …) |
CanSetOnDelete | callMethod("CanSetOnDelete",[p1,p2]) | bool CanSetOnDelete(DeleteBehavior? deleteBehavior, bool fromDataAnnotation = …) |
CanSetPrincipalKey | callMethod("CanSetPrincipalKey",[p1,p2]) | bool CanSetPrincipalKey(IReadOnlyList<string> propertyNames, bool fromDataAnnotation = …)bool CanSetPrincipalKey(IReadOnlyList<IConventionProperty> properties, bool fromDataAnnotation = …) |
HasAnnotation | HasAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionForeignKeyBuilder HasAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasEntityTypes | HasEntityTypes([ :principalEntityType = …, :dependentEntityType = …, :fromDataAnnotation = … ]) | IConventionForeignKeyBuilder HasEntityTypes(IConventionEntityType principalEntityType, IConventionEntityType dependentEntityType, bool fromDataAnnotation = …) |
HasForeignKey | HasForeignKey([ :propertyNames = …, :fromDataAnnotation = … ])HasForeignKey([ :properties = …, :fromDataAnnotation = … ]) | IConventionForeignKeyBuilder HasForeignKey(IReadOnlyList<string> propertyNames, bool fromDataAnnotation = …)IConventionForeignKeyBuilder HasForeignKey(IReadOnlyList<IConventionProperty> properties, bool fromDataAnnotation = …) |
HasNavigation | HasNavigation([ :name = …, :pointsToPrincipal = …, :fromDataAnnotation = … ])HasNavigation([ :property = …, :pointsToPrincipal = …, :fromDataAnnotation = … ]) | IConventionForeignKeyBuilder HasNavigation(string name, bool pointsToPrincipal, bool fromDataAnnotation = …)IConventionForeignKeyBuilder HasNavigation(MemberInfo property, bool pointsToPrincipal, bool fromDataAnnotation = …) |
HasNavigations | HasNavigations([ :navigationToPrincipalName = …, :navigationToDependentName = …, :fromDataAnnotation = … ])HasNavigations([ :navigationToPrincipal = …, :navigationToDependent = …, :fromDataAnnotation = … ]) | IConventionForeignKeyBuilder HasNavigations(string navigationToPrincipalName, string navigationToDependentName, bool fromDataAnnotation = …)IConventionForeignKeyBuilder HasNavigations(MemberInfo navigationToPrincipal, MemberInfo navigationToDependent, bool fromDataAnnotation = …) |
HasNoAnnotation | HasNoAnnotation([ :name = …, :fromDataAnnotation = … ]) | IConventionForeignKeyBuilder HasNoAnnotation(string name, bool fromDataAnnotation = …) |
HasNonNullAnnotation | HasNonNullAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionForeignKeyBuilder HasNonNullAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasPrincipalKey | HasPrincipalKey([ :propertyNames = …, :fromDataAnnotation = … ])HasPrincipalKey([ :properties = …, :fromDataAnnotation = … ]) | IConventionForeignKeyBuilder HasPrincipalKey(IReadOnlyList<string> propertyNames, bool fromDataAnnotation = …)IConventionForeignKeyBuilder HasPrincipalKey(IReadOnlyList<IConventionProperty> properties, bool fromDataAnnotation = …) |
IsOwnership | IsOwnership([ :ownership = …, :fromDataAnnotation = … ]) | IConventionForeignKeyBuilder IsOwnership(bool? ownership, bool fromDataAnnotation = …) |
IsRequired | IsRequired([ :required = …, :fromDataAnnotation = … ]) | IConventionForeignKeyBuilder IsRequired(bool? required, bool fromDataAnnotation = …) |
IsRequiredDependent | IsRequiredDependent([ :required = …, :fromDataAnnotation = … ]) | IConventionForeignKeyBuilder IsRequiredDependent(bool? required, bool fromDataAnnotation = …) |
IsUnique | IsUnique([ :unique = …, :fromDataAnnotation = … ]) | IConventionForeignKeyBuilder IsUnique(bool? unique, bool fromDataAnnotation = …) |
OnDelete | OnDelete([ :deleteBehavior = …, :fromDataAnnotation = … ]) | IConventionForeignKeyBuilder OnDelete(DeleteBehavior? deleteBehavior, bool fromDataAnnotation = …) |
IConventionIndexBuilder interface
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder · assembly Microsoft.EntityFrameworkCore
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IConventionIndex | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanSetIsDescending | callMethod("CanSetIsDescending",[p1,p2]) | bool CanSetIsDescending(IReadOnlyList<bool> descending, bool fromDataAnnotation = …) |
CanSetIsUnique | callMethod("CanSetIsUnique",[p1,p2]) | bool CanSetIsUnique(bool? unique, bool fromDataAnnotation = …) |
HasAnnotation | HasAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionIndexBuilder HasAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasNoAnnotation | HasNoAnnotation([ :name = …, :fromDataAnnotation = … ]) | IConventionIndexBuilder HasNoAnnotation(string name, bool fromDataAnnotation = …) |
HasNonNullAnnotation | HasNonNullAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionIndexBuilder HasNonNullAnnotation(string name, object value, bool fromDataAnnotation = …) |
IsDescending | IsDescending([ :descending = …, :fromDataAnnotation = … ]) | IConventionIndexBuilder IsDescending(IReadOnlyList<bool> descending, bool fromDataAnnotation = …) |
IsUnique | IsUnique([ :unique = …, :fromDataAnnotation = … ]) | IConventionIndexBuilder IsUnique(bool? unique, bool fromDataAnnotation = …) |
IConventionKeyBuilder interface
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionKeyBuilder · assembly Microsoft.EntityFrameworkCore
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IConventionKey | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
HasAnnotation | HasAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionKeyBuilder HasAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasNoAnnotation | HasNoAnnotation([ :name = …, :fromDataAnnotation = … ]) | IConventionKeyBuilder HasNoAnnotation(string name, bool fromDataAnnotation = …) |
HasNonNullAnnotation | HasNonNullAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionKeyBuilder HasNonNullAnnotation(string name, object value, bool fromDataAnnotation = …) |
IConventionModelBuilder interface
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder · assembly Microsoft.EntityFrameworkCore
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IConventionModel | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanHaveEntity | callMethod("CanHaveEntity",[p1,p2]) | bool CanHaveEntity(string name, bool fromDataAnnotation = …)bool CanHaveEntity(Type type, bool fromDataAnnotation = …) |
CanHaveSharedTypeEntity | CanHaveSharedTypeEntity([ :name = …, :type = …, :fromDataAnnotation = … ]) | bool CanHaveSharedTypeEntity(string name, Type type, bool fromDataAnnotation = …) |
CanIgnore | callMethod("CanIgnore",[p1,p2]) | bool CanIgnore(Type type, bool fromDataAnnotation = …)bool CanIgnore(string typeName, bool fromDataAnnotation = …) |
CanRemoveEntity | callMethod("CanRemoveEntity",[p1,p2]) | bool CanRemoveEntity(IConventionEntityType entityType, bool fromDataAnnotation = …) |
CanSetChangeTrackingStrategy | callMethod("CanSetChangeTrackingStrategy",[p1,p2]) | bool CanSetChangeTrackingStrategy(ChangeTrackingStrategy? changeTrackingStrategy, bool fromDataAnnotation = …) |
CanSetEmbeddedDiscriminatorName | callMethod("CanSetEmbeddedDiscriminatorName",[p1,p2]) | bool CanSetEmbeddedDiscriminatorName(string name, bool fromDataAnnotation = …) |
CanSetPropertyAccessMode | callMethod("CanSetPropertyAccessMode",[p1,p2]) | bool CanSetPropertyAccessMode(PropertyAccessMode? propertyAccessMode, bool fromDataAnnotation = …) |
ComplexType | ComplexType([ :type = …, :fromDataAnnotation = … ]) | IConventionModelBuilder ComplexType(Type type, bool fromDataAnnotation = …) |
Entity | Entity([ :name = …, :shouldBeOwned = …, :fromDataAnnotation = … ])Entity([ :type = …, :shouldBeOwned = …, :fromDataAnnotation = … ])Entity([ :name = …, :definingNavigationName = …, :definingEntityType = …, :fromDataAnnotation = … ])Entity([ :type = …, :definingNavigationName = …, :definingEntityType = …, :fromDataAnnotation = … ]) | IConventionEntityTypeBuilder Entity(string name, bool? shouldBeOwned = …, bool fromDataAnnotation = …)IConventionEntityTypeBuilder Entity(Type type, bool? shouldBeOwned = …, bool fromDataAnnotation = …)IConventionEntityTypeBuilder Entity(string name, string definingNavigationName, IConventionEntityType definingEntityType, bool fromDataAnnotation = …)IConventionEntityTypeBuilder Entity(Type type, string definingNavigationName, IConventionEntityType definingEntityType, bool fromDataAnnotation = …) |
HasAnnotation | HasAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionModelBuilder HasAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasChangeTrackingStrategy | HasChangeTrackingStrategy([ :changeTrackingStrategy = …, :fromDataAnnotation = … ]) | IConventionModelBuilder HasChangeTrackingStrategy(ChangeTrackingStrategy? changeTrackingStrategy, bool fromDataAnnotation = …) |
HasEmbeddedDiscriminatorName | HasEmbeddedDiscriminatorName([ :name = …, :fromDataAnnotation = … ]) | IConventionModelBuilder HasEmbeddedDiscriminatorName(string name, bool fromDataAnnotation = …) |
HasNoAnnotation | HasNoAnnotation([ :name = …, :fromDataAnnotation = … ]) | IConventionModelBuilder HasNoAnnotation(string name, bool fromDataAnnotation = …) |
HasNoEntityType | HasNoEntityType([ :entityType = …, :fromDataAnnotation = … ]) | IConventionModelBuilder HasNoEntityType(IConventionEntityType entityType, bool fromDataAnnotation = …) |
HasNonNullAnnotation | HasNonNullAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionModelBuilder HasNonNullAnnotation(string name, object value, bool fromDataAnnotation = …) |
Ignore | Ignore([ :type = …, :fromDataAnnotation = … ])Ignore([ :typeName = …, :fromDataAnnotation = … ]) | IConventionModelBuilder Ignore(Type type, bool fromDataAnnotation = …)IConventionModelBuilder Ignore(string typeName, bool fromDataAnnotation = …) |
IsIgnored | callMethod("IsIgnored",[p1,p2]) | bool IsIgnored(Type type, bool fromDataAnnotation = …)bool IsIgnored(string typeName, bool fromDataAnnotation = …) |
Owned | Owned([ :type = …, :fromDataAnnotation = … ]) | IConventionOwnedEntityTypeBuilder Owned(Type type, bool fromDataAnnotation = …) |
SharedTypeEntity | SharedTypeEntity([ :name = …, :type = …, :shouldBeOwned = …, :fromDataAnnotation = … ]) | IConventionEntityTypeBuilder SharedTypeEntity(string name, Type type, bool? shouldBeOwned = …, bool fromDataAnnotation = …) |
UsePropertyAccessMode | UsePropertyAccessMode([ :propertyAccessMode = …, :fromDataAnnotation = … ]) | IConventionModelBuilder UsePropertyAccessMode(PropertyAccessMode? propertyAccessMode, bool fromDataAnnotation = …) |
IConventionOwnedEntityTypeBuilder interface
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionOwnedEntityTypeBuilder · assembly Microsoft.EntityFrameworkCore
IConventionPropertyBaseBuilder interface
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBaseBuilder`1 · assembly Microsoft.EntityFrameworkCore
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IConventionPropertyBase | read | o.Metadata |
IConventionPropertyBuilder interface
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder · assembly Microsoft.EntityFrameworkCore
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IConventionProperty | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AfterSave | AfterSave([ :behavior = …, :fromDataAnnotation = … ]) | IConventionPropertyBuilder AfterSave(PropertySaveBehavior? behavior, bool fromDataAnnotation = …) |
BeforeSave | BeforeSave([ :behavior = …, :fromDataAnnotation = … ]) | IConventionPropertyBuilder BeforeSave(PropertySaveBehavior? behavior, bool fromDataAnnotation = …) |
CanSetAfterSave | callMethod("CanSetAfterSave",[p1,p2]) | bool CanSetAfterSave(PropertySaveBehavior? behavior, bool fromDataAnnotation = …) |
CanSetBeforeSave | callMethod("CanSetBeforeSave",[p1,p2]) | bool CanSetBeforeSave(PropertySaveBehavior? behavior, bool fromDataAnnotation = …) |
CanSetConversion | callMethod("CanSetConversion",[p1,p2]) | bool CanSetConversion(ValueConverter converter, bool fromDataAnnotation = …)bool CanSetConversion(Type providerClrType, bool fromDataAnnotation = …) |
CanSetConverter | callMethod("CanSetConverter",[p1,p2]) | bool CanSetConverter(Type converterType, bool fromDataAnnotation = …) |
CanSetElementType | callMethod("CanSetElementType",[p1,p2]) | bool CanSetElementType(Type elementType, bool fromDataAnnotation = …) |
CanSetIsConcurrencyToken | callMethod("CanSetIsConcurrencyToken",[p1,p2]) | bool CanSetIsConcurrencyToken(bool? concurrencyToken, bool fromDataAnnotation = …) |
CanSetIsRequired | callMethod("CanSetIsRequired",[p1,p2]) | bool CanSetIsRequired(bool? required, bool fromDataAnnotation = …) |
CanSetIsUnicode | callMethod("CanSetIsUnicode",[p1,p2]) | bool CanSetIsUnicode(bool? unicode, bool fromDataAnnotation = …) |
CanSetMaxLength | callMethod("CanSetMaxLength",[p1,p2]) | bool CanSetMaxLength(int? maxLength, bool fromDataAnnotation = …) |
CanSetPrecision | callMethod("CanSetPrecision",[p1,p2]) | bool CanSetPrecision(int? precision, bool fromDataAnnotation = …) |
CanSetProviderValueComparer | callMethod("CanSetProviderValueComparer",[p1,p2]) | bool CanSetProviderValueComparer(ValueComparer comparer, bool fromDataAnnotation = …)bool CanSetProviderValueComparer(Type comparerType, bool fromDataAnnotation = …) |
CanSetScale | callMethod("CanSetScale",[p1,p2]) | bool CanSetScale(int? scale, bool fromDataAnnotation = …) |
CanSetSentinel | callMethod("CanSetSentinel",[p1,p2]) | bool CanSetSentinel(object sentinel, bool fromDataAnnotation = …) |
CanSetTypeMapping | callMethod("CanSetTypeMapping",[p1,p2]) | bool CanSetTypeMapping(CoreTypeMapping typeMapping, bool fromDataAnnotation = …) |
CanSetValueComparer | callMethod("CanSetValueComparer",[p1,p2]) | bool CanSetValueComparer(ValueComparer comparer, bool fromDataAnnotation = …)bool CanSetValueComparer(Type comparerType, bool fromDataAnnotation = …) |
CanSetValueGenerated | callMethod("CanSetValueGenerated",[p1,p2]) | bool CanSetValueGenerated(ValueGenerated? valueGenerated, bool fromDataAnnotation = …) |
CanSetValueGenerator | callMethod("CanSetValueGenerator",[p1,p2]) | bool CanSetValueGenerator(Func<IProperty, ITypeBase, ValueGenerator> factory, bool fromDataAnnotation = …) |
CanSetValueGeneratorFactory | callMethod("CanSetValueGeneratorFactory",[p1,p2]) | bool CanSetValueGeneratorFactory(Type valueGeneratorFactoryType, bool fromDataAnnotation = …) |
HasConversion | HasConversion([ :converter = …, :fromDataAnnotation = … ])HasConversion([ :providerClrType = …, :fromDataAnnotation = … ]) | IConventionPropertyBuilder HasConversion(ValueConverter converter, bool fromDataAnnotation = …)IConventionPropertyBuilder HasConversion(Type providerClrType, bool fromDataAnnotation = …) |
HasConverter | HasConverter([ :converterType = …, :fromDataAnnotation = … ]) | IConventionPropertyBuilder HasConverter(Type converterType, bool fromDataAnnotation = …) |
HasMaxLength | HasMaxLength([ :maxLength = …, :fromDataAnnotation = … ]) | IConventionPropertyBuilder HasMaxLength(int? maxLength, bool fromDataAnnotation = …) |
HasPrecision | HasPrecision([ :precision = …, :fromDataAnnotation = … ]) | IConventionPropertyBuilder HasPrecision(int? precision, bool fromDataAnnotation = …) |
HasProviderValueComparer | HasProviderValueComparer([ :comparer = …, :fromDataAnnotation = … ])HasProviderValueComparer([ :comparerType = …, :fromDataAnnotation = … ]) | IConventionPropertyBuilder HasProviderValueComparer(ValueComparer comparer, bool fromDataAnnotation = …)IConventionPropertyBuilder HasProviderValueComparer(Type comparerType, bool fromDataAnnotation = …) |
HasScale | HasScale([ :scale = …, :fromDataAnnotation = … ]) | IConventionPropertyBuilder HasScale(int? scale, bool fromDataAnnotation = …) |
HasSentinel | HasSentinel([ :sentinel = …, :fromDataAnnotation = … ]) | IConventionPropertyBuilder HasSentinel(object sentinel, bool fromDataAnnotation = …) |
HasTypeMapping | HasTypeMapping([ :typeMapping = …, :fromDataAnnotation = … ]) | IConventionPropertyBuilder HasTypeMapping(CoreTypeMapping typeMapping, bool fromDataAnnotation = …) |
HasValueComparer | HasValueComparer([ :comparer = …, :fromDataAnnotation = … ])HasValueComparer([ :comparerType = …, :fromDataAnnotation = … ]) | IConventionPropertyBuilder HasValueComparer(ValueComparer comparer, bool fromDataAnnotation = …)IConventionPropertyBuilder HasValueComparer(Type comparerType, bool fromDataAnnotation = …) |
HasValueGenerator | HasValueGenerator([ :valueGeneratorType = …, :fromDataAnnotation = … ])HasValueGenerator([ :factory = …, :fromDataAnnotation = … ]) | IConventionPropertyBuilder HasValueGenerator(Type valueGeneratorType, bool fromDataAnnotation = …)IConventionPropertyBuilder HasValueGenerator(Func<IProperty, ITypeBase, ValueGenerator> factory, bool fromDataAnnotation = …) |
HasValueGeneratorFactory | HasValueGeneratorFactory([ :valueGeneratorFactoryType = …, :fromDataAnnotation = … ]) | IConventionPropertyBuilder HasValueGeneratorFactory(Type valueGeneratorFactoryType, bool fromDataAnnotation = …) |
IsConcurrencyToken | IsConcurrencyToken([ :concurrencyToken = …, :fromDataAnnotation = … ]) | IConventionPropertyBuilder IsConcurrencyToken(bool? concurrencyToken, bool fromDataAnnotation = …) |
IsRequired | IsRequired([ :required = …, :fromDataAnnotation = … ]) | IConventionPropertyBuilder IsRequired(bool? required, bool fromDataAnnotation = …) |
IsUnicode | IsUnicode([ :unicode = …, :fromDataAnnotation = … ]) | IConventionPropertyBuilder IsUnicode(bool? unicode, bool fromDataAnnotation = …) |
SetElementType | SetElementType([ :elementType = …, :fromDataAnnotation = … ]) | IConventionElementTypeBuilder SetElementType(Type elementType, bool fromDataAnnotation = …) |
ValueGenerated | ValueGenerated([ :valueGenerated = …, :fromDataAnnotation = … ]) | IConventionPropertyBuilder ValueGenerated(ValueGenerated? valueGenerated, bool fromDataAnnotation = …) |
IConventionRelationalPropertyOverridesBuilder interface
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationalPropertyOverridesBuilder · assembly Microsoft.EntityFrameworkCore.Relational
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IConventionRelationalPropertyOverrides | read | o.Metadata |
IConventionSequenceBuilder interface
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSequenceBuilder · assembly Microsoft.EntityFrameworkCore.Relational
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IConventionSequence | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanSetIncrementsBy | callMethod("CanSetIncrementsBy",[p1,p2]) | bool CanSetIncrementsBy(int? increment, bool fromDataAnnotation = …) |
CanSetIsCyclic | callMethod("CanSetIsCyclic",[p1,p2]) | bool CanSetIsCyclic(bool? cyclic, bool fromDataAnnotation = …) |
CanSetMax | callMethod("CanSetMax",[p1,p2]) | bool CanSetMax(long? maximum, bool fromDataAnnotation = …) |
CanSetMin | callMethod("CanSetMin",[p1,p2]) | bool CanSetMin(long? minimum, bool fromDataAnnotation = …) |
CanSetStartsAt | callMethod("CanSetStartsAt",[p1,p2]) | bool CanSetStartsAt(long? startValue, bool fromDataAnnotation = …) |
CanSetType | callMethod("CanSetType",[p1,p2]) | bool CanSetType(Type type, bool fromDataAnnotation = …) |
HasAnnotation | HasAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionSequenceBuilder HasAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasMax | HasMax([ :maximum = …, :fromDataAnnotation = … ]) | IConventionSequenceBuilder HasMax(long? maximum, bool fromDataAnnotation = …) |
HasMin | HasMin([ :minimum = …, :fromDataAnnotation = … ]) | IConventionSequenceBuilder HasMin(long? minimum, bool fromDataAnnotation = …) |
HasNoAnnotation | HasNoAnnotation([ :name = …, :fromDataAnnotation = … ]) | IConventionSequenceBuilder HasNoAnnotation(string name, bool fromDataAnnotation = …) |
HasNonNullAnnotation | HasNonNullAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionSequenceBuilder HasNonNullAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasType | HasType([ :type = …, :fromDataAnnotation = … ]) | IConventionSequenceBuilder HasType(Type type, bool fromDataAnnotation = …) |
IncrementsBy | IncrementsBy([ :increment = …, :fromDataAnnotation = … ]) | IConventionSequenceBuilder IncrementsBy(int? increment, bool fromDataAnnotation = …) |
IsCyclic | IsCyclic([ :cyclic = …, :fromDataAnnotation = … ]) | IConventionSequenceBuilder IsCyclic(bool? cyclic, bool fromDataAnnotation = …) |
StartsAt | StartsAt([ :startValue = …, :fromDataAnnotation = … ]) | IConventionSequenceBuilder StartsAt(long? startValue, bool fromDataAnnotation = …) |
IConventionServicePropertyBuilder interface
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionServicePropertyBuilder · assembly Microsoft.EntityFrameworkCore
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IConventionServiceProperty | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanSetParameterBinding | callMethod("CanSetParameterBinding",[p1,p2]) | bool CanSetParameterBinding(ServiceParameterBinding parameterBinding, bool fromDataAnnotation = …) |
HasParameterBinding | HasParameterBinding([ :parameterBinding = …, :fromDataAnnotation = … ]) | IConventionServicePropertyBuilder HasParameterBinding(ServiceParameterBinding parameterBinding, bool fromDataAnnotation = …) |
IConventionStoredProcedureBuilder interface
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionStoredProcedureBuilder · assembly Microsoft.EntityFrameworkCore.Relational
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IConventionStoredProcedure | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanHaveOriginalValueParameter | callMethod("CanHaveOriginalValueParameter",[p1,p2]) | bool CanHaveOriginalValueParameter(string propertyName, bool fromDataAnnotation = …) |
CanHaveParameter | callMethod("CanHaveParameter",[p1,p2]) | bool CanHaveParameter(string propertyName, bool fromDataAnnotation = …) |
CanHaveResultColumn | callMethod("CanHaveResultColumn",[p1,p2]) | bool CanHaveResultColumn(string propertyName, bool fromDataAnnotation = …) |
CanHaveRowsAffectedParameter | callMethod("CanHaveRowsAffectedParameter",[p1]) | bool CanHaveRowsAffectedParameter(bool fromDataAnnotation = …) |
CanHaveRowsAffectedResultColumn | callMethod("CanHaveRowsAffectedResultColumn",[p1]) | bool CanHaveRowsAffectedResultColumn(bool fromDataAnnotation = …) |
CanSetName | callMethod("CanSetName",[p1,p2]) | bool CanSetName(string name, bool fromDataAnnotation = …) |
CanSetSchema | callMethod("CanSetSchema",[p1,p2]) | bool CanSetSchema(string schema, bool fromDataAnnotation = …) |
HasAnnotation | HasAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionStoredProcedureBuilder HasAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasName | HasName([ :name = …, :fromDataAnnotation = … ])HasName([ :name = …, :schema = …, :fromDataAnnotation = … ]) | IConventionStoredProcedureBuilder HasName(string name, bool fromDataAnnotation = …)IConventionStoredProcedureBuilder HasName(string name, string schema, bool fromDataAnnotation = …) |
HasNoAnnotation | HasNoAnnotation([ :name = …, :fromDataAnnotation = … ]) | IConventionStoredProcedureBuilder HasNoAnnotation(string name, bool fromDataAnnotation = …) |
HasNonNullAnnotation | HasNonNullAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionStoredProcedureBuilder HasNonNullAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasOriginalValueParameter | HasOriginalValueParameter([ :propertyName = …, :fromDataAnnotation = … ]) | IConventionStoredProcedureParameterBuilder HasOriginalValueParameter(string propertyName, bool fromDataAnnotation = …) |
HasParameter | HasParameter([ :propertyName = …, :fromDataAnnotation = … ]) | IConventionStoredProcedureParameterBuilder HasParameter(string propertyName, bool fromDataAnnotation = …) |
HasResultColumn | HasResultColumn([ :propertyName = …, :fromDataAnnotation = … ]) | IConventionStoredProcedureResultColumnBuilder HasResultColumn(string propertyName, bool fromDataAnnotation = …) |
HasRowsAffectedParameter | HasRowsAffectedParameter(value)HasRowsAffectedParameter([ :fromDataAnnotation = … ]) | IConventionStoredProcedureParameterBuilder HasRowsAffectedParameter(bool fromDataAnnotation = …) |
HasRowsAffectedResultColumn | HasRowsAffectedResultColumn(value)HasRowsAffectedResultColumn([ :fromDataAnnotation = … ]) | IConventionStoredProcedureResultColumnBuilder HasRowsAffectedResultColumn(bool fromDataAnnotation = …) |
HasSchema | HasSchema([ :schema = …, :fromDataAnnotation = … ]) | IConventionStoredProcedureBuilder HasSchema(string schema, bool fromDataAnnotation = …) |
IConventionStoredProcedureParameterBuilder interface
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionStoredProcedureParameterBuilder · assembly Microsoft.EntityFrameworkCore.Relational
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IConventionStoredProcedureParameter | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanSetDirection | callMethod("CanSetDirection",[p1,p2]) | bool CanSetDirection(ParameterDirection direction, bool fromDataAnnotation = …) |
CanSetName | callMethod("CanSetName",[p1,p2]) | bool CanSetName(string name, bool fromDataAnnotation = …) |
HasAnnotation | HasAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionStoredProcedureParameterBuilder HasAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasDirection | HasDirection([ :direction = …, :fromDataAnnotation = … ]) | IConventionStoredProcedureParameterBuilder HasDirection(ParameterDirection direction, bool fromDataAnnotation = …) |
HasName | HasName([ :name = …, :fromDataAnnotation = … ]) | IConventionStoredProcedureParameterBuilder HasName(string name, bool fromDataAnnotation = …) |
HasNoAnnotation | HasNoAnnotation([ :name = …, :fromDataAnnotation = … ]) | IConventionStoredProcedureParameterBuilder HasNoAnnotation(string name, bool fromDataAnnotation = …) |
HasNonNullAnnotation | HasNonNullAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionStoredProcedureParameterBuilder HasNonNullAnnotation(string name, object value, bool fromDataAnnotation = …) |
IConventionStoredProcedureResultColumnBuilder interface
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionStoredProcedureResultColumnBuilder · assembly Microsoft.EntityFrameworkCore.Relational
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IConventionStoredProcedureResultColumn | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanSetName | callMethod("CanSetName",[p1,p2]) | bool CanSetName(string name, bool fromDataAnnotation = …) |
HasAnnotation | HasAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionStoredProcedureResultColumnBuilder HasAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasName | HasName([ :name = …, :fromDataAnnotation = … ]) | IConventionStoredProcedureResultColumnBuilder HasName(string name, bool fromDataAnnotation = …) |
HasNoAnnotation | HasNoAnnotation([ :name = …, :fromDataAnnotation = … ]) | IConventionStoredProcedureResultColumnBuilder HasNoAnnotation(string name, bool fromDataAnnotation = …) |
HasNonNullAnnotation | HasNonNullAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionStoredProcedureResultColumnBuilder HasNonNullAnnotation(string name, object value, bool fromDataAnnotation = …) |
IConventionTriggerBuilder interface
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionTriggerBuilder · assembly Microsoft.EntityFrameworkCore
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IConventionTrigger | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
HasAnnotation | HasAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionTriggerBuilder HasAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasNoAnnotation | HasNoAnnotation([ :name = …, :fromDataAnnotation = … ]) | IConventionTriggerBuilder HasNoAnnotation(string name, bool fromDataAnnotation = …) |
HasNonNullAnnotation | HasNonNullAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionTriggerBuilder HasNonNullAnnotation(string name, object value, bool fromDataAnnotation = …) |
IConventionTypeBaseBuilder interface
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionTypeBaseBuilder · assembly Microsoft.EntityFrameworkCore
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IConventionTypeBase | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CanHaveComplexIndexerProperty | CanHaveComplexIndexerProperty([ :propertyType = …, :propertyName = …, :complexType = …, :fromDataAnnotation = … ]) | bool CanHaveComplexIndexerProperty(Type propertyType, string propertyName, Type complexType, bool fromDataAnnotation = …) |
CanHaveComplexProperty | callMethod("CanHaveComplexProperty",[p1,p2,p3])callMethod("CanHaveComplexProperty",[p1,p2,p3,p4]) | bool CanHaveComplexProperty(Type propertyType, string propertyName, Type complexType = …, bool fromDataAnnotation = …)bool CanHaveComplexProperty(MemberInfo memberInfo, Type complexType = …, bool fromDataAnnotation = …) |
CanHaveIndexerProperty | CanHaveIndexerProperty([ :propertyType = …, :propertyName = …, :fromDataAnnotation = … ]) | bool CanHaveIndexerProperty(Type propertyType, string propertyName, bool fromDataAnnotation = …) |
CanHaveProperty | callMethod("CanHaveProperty",[p1,p2])callMethod("CanHaveProperty",[p1,p2,p3]) | bool CanHaveProperty(Type propertyType, string propertyName, bool fromDataAnnotation = …)bool CanHaveProperty(MemberInfo memberInfo, bool fromDataAnnotation = …) |
CanIgnore | callMethod("CanIgnore",[p1,p2]) | bool CanIgnore(string memberName, bool fromDataAnnotation = …) |
CanRemoveComplexProperty | callMethod("CanRemoveComplexProperty",[p1,p2]) | bool CanRemoveComplexProperty(IConventionComplexProperty complexProperty, bool fromDataAnnotation = …) |
CanRemoveProperty | callMethod("CanRemoveProperty",[p1,p2]) | bool CanRemoveProperty(IConventionProperty property, bool fromDataAnnotation = …) |
CanSetChangeTrackingStrategy | callMethod("CanSetChangeTrackingStrategy",[p1,p2]) | bool CanSetChangeTrackingStrategy(ChangeTrackingStrategy? changeTrackingStrategy, bool fromDataAnnotation = …) |
CanSetPropertyAccessMode | callMethod("CanSetPropertyAccessMode",[p1,p2]) | bool CanSetPropertyAccessMode(PropertyAccessMode? propertyAccessMode, bool fromDataAnnotation = …) |
ComplexIndexerProperty | ComplexIndexerProperty([ :propertyType = …, :propertyName = …, :complexType = …, :fromDataAnnotation = … ]) | IConventionComplexPropertyBuilder ComplexIndexerProperty(Type propertyType, string propertyName, Type complexType, bool fromDataAnnotation = …) |
ComplexProperty | ComplexProperty([ :memberInfo = …, :complexType = …, :fromDataAnnotation = … ])ComplexProperty([ :propertyType = …, :propertyName = …, :complexType = …, :fromDataAnnotation = … ]) | IConventionComplexPropertyBuilder ComplexProperty(Type propertyType, string propertyName, Type complexType = …, bool fromDataAnnotation = …)IConventionComplexPropertyBuilder ComplexProperty(MemberInfo memberInfo, Type complexType = …, bool fromDataAnnotation = …) |
CreateUniqueProperty | callMethod("CreateUniqueProperty",[p1,p2,p3]) | IConventionPropertyBuilder CreateUniqueProperty(Type propertyType, string basePropertyName, bool required) |
GetOrCreateProperties | GetOrCreateProperties([ :propertyNames = …, :fromDataAnnotation = … ])GetOrCreateProperties([ :memberInfos = …, :fromDataAnnotation = … ]) | IReadOnlyList<IConventionProperty> GetOrCreateProperties(IReadOnlyList<string> propertyNames, bool fromDataAnnotation = …)IReadOnlyList<IConventionProperty> GetOrCreateProperties(IEnumerable<MemberInfo> memberInfos, bool fromDataAnnotation = …) |
HasAnnotation | HasAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionTypeBaseBuilder HasAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasChangeTrackingStrategy | HasChangeTrackingStrategy([ :changeTrackingStrategy = …, :fromDataAnnotation = … ]) | IConventionTypeBaseBuilder HasChangeTrackingStrategy(ChangeTrackingStrategy? changeTrackingStrategy, bool fromDataAnnotation = …) |
HasNoAnnotation | HasNoAnnotation([ :name = …, :fromDataAnnotation = … ]) | IConventionTypeBaseBuilder HasNoAnnotation(string name, bool fromDataAnnotation = …) |
HasNoComplexProperty | HasNoComplexProperty([ :complexProperty = …, :fromDataAnnotation = … ]) | IConventionTypeBaseBuilder HasNoComplexProperty(IConventionComplexProperty complexProperty, bool fromDataAnnotation = …) |
HasNonNullAnnotation | HasNonNullAnnotation([ :name = …, :value = …, :fromDataAnnotation = … ]) | IConventionTypeBaseBuilder HasNonNullAnnotation(string name, object value, bool fromDataAnnotation = …) |
HasNoProperty | HasNoProperty([ :property = …, :fromDataAnnotation = … ]) | IConventionTypeBaseBuilder HasNoProperty(IConventionProperty property, bool fromDataAnnotation = …) |
Ignore | Ignore([ :memberName = …, :fromDataAnnotation = … ]) | IConventionTypeBaseBuilder Ignore(string memberName, bool fromDataAnnotation = …) |
IndexerProperty | IndexerProperty([ :propertyType = …, :propertyName = …, :fromDataAnnotation = … ]) | IConventionPropertyBuilder IndexerProperty(Type propertyType, string propertyName, bool fromDataAnnotation = …) |
IsIgnored | callMethod("IsIgnored",[p1,p2]) | bool IsIgnored(string memberName, bool fromDataAnnotation = …) |
Property | Property([ :memberInfo = …, :fromDataAnnotation = … ])Property([ :propertyType = …, :propertyName = …, :setTypeConfigurationSource = …, :fromDataAnnotation = … ]) | IConventionPropertyBuilder Property(Type propertyType, string propertyName, bool setTypeConfigurationSource = …, bool fromDataAnnotation = …)IConventionPropertyBuilder Property(MemberInfo memberInfo, bool fromDataAnnotation = …) |
RemoveUnusedImplicitProperties | callMethod("RemoveUnusedImplicitProperties",[p1]) | IConventionTypeBaseBuilder RemoveUnusedImplicitProperties(IReadOnlyList<IConventionProperty> properties) |
UsePropertyAccessMode | UsePropertyAccessMode([ :propertyAccessMode = …, :fromDataAnnotation = … ]) | IConventionTypeBaseBuilder UsePropertyAccessMode(PropertyAccessMode? propertyAccessMode, bool fromDataAnnotation = …) |
IndexBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder · assembly Microsoft.EntityFrameworkCore
Constructors
new IndexBuilder(IMutableIndex index) |
Ring: new IndexBuilder(args) uses one constructor; the others are chosen by the parameter names: new IndexBuilder().@New([ :param = value ]) or dnNew("IndexBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IMutableIndex | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
HasAnnotation | callMethod("HasAnnotation",[p1,p2]) | IndexBuilder HasAnnotation(string annotation, object value) |
IsDescending | callMethod("IsDescending",[p1]) | IndexBuilder IsDescending(bool[] descending) |
IsUnique | IsUnique(value)IsUnique([ :unique = … ]) | IndexBuilder IsUnique(bool unique = …) |
ToString | callMethod("ToString",[]) | string ToString() |
IndexBuilder1 class · extends IndexBuilder
Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder`1 · assembly Microsoft.EntityFrameworkCore
Members of the base class are inherited.
InvertibleRelationshipBuilderBase class abstract
Microsoft.EntityFrameworkCore.Metadata.Builders.InvertibleRelationshipBuilderBase · assembly Microsoft.EntityFrameworkCore
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IMutableForeignKey | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
ToString | callMethod("ToString",[]) | string ToString() |
KeyBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.KeyBuilder · assembly Microsoft.EntityFrameworkCore
Constructors
new KeyBuilder(IMutableKey key) |
Ring: new KeyBuilder(args) uses one constructor; the others are chosen by the parameter names: new KeyBuilder().@New([ :param = value ]) or dnNew("KeyBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IMutableKey | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
HasAnnotation | callMethod("HasAnnotation",[p1,p2]) | KeyBuilder HasAnnotation(string annotation, object value) |
ToString | callMethod("ToString",[]) | string ToString() |
KeyBuilder1 class · extends KeyBuilder
Microsoft.EntityFrameworkCore.Metadata.Builders.KeyBuilder`1 · assembly Microsoft.EntityFrameworkCore
Members of the base class are inherited.
OwnedEntityTypeBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedEntityTypeBuilder · assembly Microsoft.EntityFrameworkCore
Constructors
new OwnedEntityTypeBuilder() |
Ring: new OwnedEntityTypeBuilder(args) uses one constructor; the others are chosen by the parameter names: new OwnedEntityTypeBuilder().@New([ :param = value ]) or dnNew("OwnedEntityTypeBuilder",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
ToString | callMethod("ToString",[]) | string ToString() |
OwnedEntityTypeBuilder1 class · extends OwnedEntityTypeBuilder
Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedEntityTypeBuilder`1 · assembly Microsoft.EntityFrameworkCore
Members of the base class are inherited.
OwnershipBuilder class · extends RelationshipBuilderBase
Microsoft.EntityFrameworkCore.Metadata.Builders.OwnershipBuilder · assembly Microsoft.EntityFrameworkCore
Constructors
new OwnershipBuilder(IMutableEntityType principalEntityType, IMutableEntityType dependentEntityType, IMutableForeignKey foreignKey) |
Ring: new OwnershipBuilder(args) uses one constructor; the others are chosen by the parameter names: new OwnershipBuilder().@New([ :param = value ]) or dnNew("OwnershipBuilder",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
HasAnnotation | callMethod("HasAnnotation",[p1,p2]) | OwnershipBuilder HasAnnotation(string annotation, object value) |
HasForeignKey | callMethod("HasForeignKey",[p1]) | OwnershipBuilder HasForeignKey(string[] foreignKeyPropertyNames) |
HasPrincipalKey | callMethod("HasPrincipalKey",[p1]) | OwnershipBuilder HasPrincipalKey(string[] keyPropertyNames) |
Members of the base class are inherited.
OwnershipBuilder2 class · extends OwnershipBuilder
Microsoft.EntityFrameworkCore.Metadata.Builders.OwnershipBuilder`2 · assembly Microsoft.EntityFrameworkCore
Members of the base class are inherited.
PrimitiveCollectionBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.PrimitiveCollectionBuilder · assembly Microsoft.EntityFrameworkCore
Constructors
new PrimitiveCollectionBuilder(IMutableProperty property) |
Ring: new PrimitiveCollectionBuilder(args) uses one constructor; the others are chosen by the parameter names: new PrimitiveCollectionBuilder().@New([ :param = value ]) or dnNew("PrimitiveCollectionBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IMutableProperty | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ElementType | ElementType(NULL)ElementType(value)ElementType([ :builderAction = … ]) | ElementTypeBuilder ElementType()PrimitiveCollectionBuilder ElementType(Action<ElementTypeBuilder> builderAction) |
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
HasAnnotation | callMethod("HasAnnotation",[p1,p2]) | PrimitiveCollectionBuilder HasAnnotation(string annotation, object value) |
HasField | callMethod("HasField",[p1]) | PrimitiveCollectionBuilder HasField(string fieldName) |
HasMaxLength | callMethod("HasMaxLength",[p1]) | PrimitiveCollectionBuilder HasMaxLength(int maxLength) |
HasSentinel | callMethod("HasSentinel",[p1]) | PrimitiveCollectionBuilder HasSentinel(object sentinel) |
HasValueGenerator | HasValueGenerator(NULL)HasValueGenerator(value)HasValueGenerator([ :valueGeneratorType = … ]) | PrimitiveCollectionBuilder HasValueGenerator<TGenerator>()PrimitiveCollectionBuilder HasValueGenerator(Type valueGeneratorType) |
HasValueGeneratorFactory | HasValueGeneratorFactory(NULL)HasValueGeneratorFactory(value)HasValueGeneratorFactory([ :valueGeneratorFactoryType = … ]) | PrimitiveCollectionBuilder HasValueGeneratorFactory<TFactory>()PrimitiveCollectionBuilder HasValueGeneratorFactory(Type valueGeneratorFactoryType) |
IsConcurrencyToken | IsConcurrencyToken(value)IsConcurrencyToken([ :concurrencyToken = … ]) | PrimitiveCollectionBuilder IsConcurrencyToken(bool concurrencyToken = …) |
IsRequired | IsRequired(value)IsRequired([ :required = … ]) | PrimitiveCollectionBuilder IsRequired(bool required = …) |
IsUnicode | IsUnicode(value)IsUnicode([ :unicode = … ]) | PrimitiveCollectionBuilder IsUnicode(bool unicode = …) |
ToString | callMethod("ToString",[]) | string ToString() |
UsePropertyAccessMode | callMethod("UsePropertyAccessMode",[p1]) | PrimitiveCollectionBuilder UsePropertyAccessMode(PropertyAccessMode propertyAccessMode) |
ValueGeneratedNever | callMethod("ValueGeneratedNever",[]) | PrimitiveCollectionBuilder ValueGeneratedNever() |
ValueGeneratedOnAdd | callMethod("ValueGeneratedOnAdd",[]) | PrimitiveCollectionBuilder ValueGeneratedOnAdd() |
ValueGeneratedOnAddOrUpdate | callMethod("ValueGeneratedOnAddOrUpdate",[]) | PrimitiveCollectionBuilder ValueGeneratedOnAddOrUpdate() |
ValueGeneratedOnUpdate | callMethod("ValueGeneratedOnUpdate",[]) | PrimitiveCollectionBuilder ValueGeneratedOnUpdate() |
ValueGeneratedOnUpdateSometimes | callMethod("ValueGeneratedOnUpdateSometimes",[]) | PrimitiveCollectionBuilder ValueGeneratedOnUpdateSometimes() |
PrimitiveCollectionBuilder1 class · extends PrimitiveCollectionBuilder
Microsoft.EntityFrameworkCore.Metadata.Builders.PrimitiveCollectionBuilder`1 · assembly Microsoft.EntityFrameworkCore
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
HasValueGenerator | HasValueGenerator(NULL) | PrimitiveCollectionBuilder<TProperty> HasValueGenerator<TGenerator>() |
HasValueGeneratorFactory | HasValueGeneratorFactory(NULL) | PrimitiveCollectionBuilder<TProperty> HasValueGeneratorFactory<TFactory>() |
Members of the base class are inherited.
PropertiesConfigurationBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertiesConfigurationBuilder · assembly Microsoft.EntityFrameworkCore
Constructors
new PropertiesConfigurationBuilder(PropertyConfiguration property) |
Ring: new PropertiesConfigurationBuilder(args) uses one constructor; the others are chosen by the parameter names: new PropertiesConfigurationBuilder().@New([ :param = value ]) or dnNew("PropertiesConfigurationBuilder",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AreUnicode | AreUnicode(value)AreUnicode([ :unicode = … ]) | PropertiesConfigurationBuilder AreUnicode(bool unicode = …) |
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
HaveAnnotation | callMethod("HaveAnnotation",[p1,p2]) | PropertiesConfigurationBuilder HaveAnnotation(string annotation, object value) |
HaveConversion | HaveConversion(NULL)HaveConversion(value)HaveConversion([ :conversionType = … ])HaveConversion([ :conversionType = …, :comparerType = … ])HaveConversion([ :conversionType = …, :comparerType = …, :providerComparerType = … ]) | PropertiesConfigurationBuilder HaveConversion<TConversion>()PropertiesConfigurationBuilder HaveConversion(Type conversionType)PropertiesConfigurationBuilder HaveConversion<TConversion, TComparer>()PropertiesConfigurationBuilder HaveConversion<TConversion, TComparer, TProviderComparer>()PropertiesConfigurationBuilder HaveConversion(Type conversionType, Type comparerType)PropertiesConfigurationBuilder HaveConversion(Type conversionType, Type comparerType, Type providerComparerType) |
HaveMaxLength | callMethod("HaveMaxLength",[p1]) | PropertiesConfigurationBuilder HaveMaxLength(int maxLength) |
HavePrecision | HavePrecision(value)HavePrecision([ :precision = … ])HavePrecision([ :precision = …, :scale = … ]) | PropertiesConfigurationBuilder HavePrecision(int precision, int scale)PropertiesConfigurationBuilder HavePrecision(int precision) |
HaveSentinel | callMethod("HaveSentinel",[p1]) | PropertiesConfigurationBuilder HaveSentinel(object sentinel) |
ToString | callMethod("ToString",[]) | string ToString() |
PropertiesConfigurationBuilder1 class · extends PropertiesConfigurationBuilder
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertiesConfigurationBuilder`1 · assembly Microsoft.EntityFrameworkCore
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
HaveConversion | HaveConversion(NULL) | PropertiesConfigurationBuilder<TProperty> HaveConversion<TConversion>()PropertiesConfigurationBuilder<TProperty> HaveConversion<TConversion, TComparer>() |
Members of the base class are inherited.
PropertyBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder · assembly Microsoft.EntityFrameworkCore
Constructors
new PropertyBuilder(IMutableProperty property) |
Ring: new PropertyBuilder(args) uses one constructor; the others are chosen by the parameter names: new PropertyBuilder().@New([ :param = value ]) or dnNew("PropertyBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IMutableProperty | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
HasAnnotation | callMethod("HasAnnotation",[p1,p2]) | PropertyBuilder HasAnnotation(string annotation, object value) |
HasConversion | HasConversion(NULL)HasConversion(value)HasConversion([ :conversionType = … ])HasConversion([ :converter = … ])HasConversion([ :valueComparer = … ])HasConversion([ :valueComparer = …, :providerComparer = … ]) | PropertyBuilder HasConversion<TConversion>()PropertyBuilder HasConversion(Type conversionType)PropertyBuilder HasConversion(ValueConverter converter)PropertyBuilder HasConversion<TConversion>(ValueComparer valueComparer)PropertyBuilder HasConversion<TConversion>(ValueComparer valueComparer, ValueComparer providerComparer)PropertyBuilder HasConversion(Type conversionType, ValueComparer valueComparer)PropertyBuilder HasConversion(Type conversionType, ValueComparer valueComparer, ValueComparer providerComparer)PropertyBuilder HasConversion(ValueConverter converter, ValueComparer valueComparer)PropertyBuilder HasConversion(ValueConverter converter, ValueComparer valueComparer, ValueComparer providerComparer)PropertyBuilder HasConversion<TConversion, TComparer>()PropertyBuilder HasConversion<TConversion, TComparer, TProviderComparer>()PropertyBuilder HasConversion(Type conversionType, Type comparerType)PropertyBuilder HasConversion(Type conversionType, Type comparerType, Type providerComparerType) |
HasField | callMethod("HasField",[p1]) | PropertyBuilder HasField(string fieldName) |
HasMaxLength | callMethod("HasMaxLength",[p1]) | PropertyBuilder HasMaxLength(int maxLength) |
HasPrecision | HasPrecision(value)HasPrecision([ :precision = … ])HasPrecision([ :precision = …, :scale = … ]) | PropertyBuilder HasPrecision(int precision, int scale)PropertyBuilder HasPrecision(int precision) |
HasSentinel | callMethod("HasSentinel",[p1]) | PropertyBuilder HasSentinel(object sentinel) |
HasValueGenerator | HasValueGenerator(NULL)HasValueGenerator(value)HasValueGenerator([ :valueGeneratorType = … ])HasValueGenerator([ :factory = … ]) | PropertyBuilder HasValueGenerator<TGenerator>()PropertyBuilder HasValueGenerator(Type valueGeneratorType)PropertyBuilder HasValueGenerator(Func<IProperty, ITypeBase, ValueGenerator> factory) |
HasValueGeneratorFactory | HasValueGeneratorFactory(NULL)HasValueGeneratorFactory(value)HasValueGeneratorFactory([ :valueGeneratorFactoryType = … ]) | PropertyBuilder HasValueGeneratorFactory<TFactory>()PropertyBuilder HasValueGeneratorFactory(Type valueGeneratorFactoryType) |
IsConcurrencyToken | IsConcurrencyToken(value)IsConcurrencyToken([ :concurrencyToken = … ]) | PropertyBuilder IsConcurrencyToken(bool concurrencyToken = …) |
IsRequired | IsRequired(value)IsRequired([ :required = … ]) | PropertyBuilder IsRequired(bool required = …) |
IsRowVersion | callMethod("IsRowVersion",[]) | PropertyBuilder IsRowVersion() |
IsUnicode | IsUnicode(value)IsUnicode([ :unicode = … ]) | PropertyBuilder IsUnicode(bool unicode = …) |
ToString | callMethod("ToString",[]) | string ToString() |
UsePropertyAccessMode | callMethod("UsePropertyAccessMode",[p1]) | PropertyBuilder UsePropertyAccessMode(PropertyAccessMode propertyAccessMode) |
ValueGeneratedNever | callMethod("ValueGeneratedNever",[]) | PropertyBuilder ValueGeneratedNever() |
ValueGeneratedOnAdd | callMethod("ValueGeneratedOnAdd",[]) | PropertyBuilder ValueGeneratedOnAdd() |
ValueGeneratedOnAddOrUpdate | callMethod("ValueGeneratedOnAddOrUpdate",[]) | PropertyBuilder ValueGeneratedOnAddOrUpdate() |
ValueGeneratedOnUpdate | callMethod("ValueGeneratedOnUpdate",[]) | PropertyBuilder ValueGeneratedOnUpdate() |
ValueGeneratedOnUpdateSometimes | callMethod("ValueGeneratedOnUpdateSometimes",[]) | PropertyBuilder ValueGeneratedOnUpdateSometimes() |
PropertyBuilder1 class · extends PropertyBuilder
Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder`1 · assembly Microsoft.EntityFrameworkCore
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
HasConversion | HasConversion(NULL)HasConversion(value)HasConversion([ :converter = … ])HasConversion([ :valueComparer = … ])HasConversion([ :convertToProviderExpression = …, :convertFromProviderExpression = … ])HasConversion([ :valueComparer = …, :providerComparer = … ]) | PropertyBuilder<TProperty> HasConversion<TConversion>()PropertyBuilder<TProperty> HasConversion<TProvider>(Expression<Func<TProperty, TProvider>> convertToProviderExpression, Expression<Func<TProvider, TProperty>> convertFromProviderExpression)PropertyBuilder<TProperty> HasConversion<TProvider>(ValueConverter<TProperty, TProvider> converter)PropertyBuilder<TProperty> HasConversion<TConversion>(ValueComparer valueComparer)PropertyBuilder<TProperty> HasConversion<TConversion>(ValueComparer valueComparer, ValueComparer providerComparer)PropertyBuilder<TProperty> HasConversion<TProvider>(Expression<Func<TProperty, TProvider>> convertToProviderExpression, Expression<Func<TProvider, TProperty>> convertFromProviderExpression, ValueComparer valueComparer)PropertyBuilder<TProperty> HasConversion<TProvider>(Expression<Func<TProperty, TProvider>> convertToProviderExpression, Expression<Func<TProvider, TProperty>> convertFromProviderExpression, ValueComparer valueComparer, ValueComparer providerComparer)PropertyBuilder<TProperty> HasConversion<TProvider>(ValueConverter<TProperty, TProvider> converter, ValueComparer valueComparer)PropertyBuilder<TProperty> HasConversion<TProvider>(ValueConverter<TProperty, TProvider> converter, ValueComparer valueComparer, ValueComparer providerComparer)PropertyBuilder<TProperty> HasConversion<TConversion, TComparer>()PropertyBuilder<TProperty> HasConversion<TConversion, TComparer, TProviderComparer>() |
HasValueGenerator | HasValueGenerator(NULL) | PropertyBuilder<TProperty> HasValueGenerator<TGenerator>() |
HasValueGeneratorFactory | HasValueGeneratorFactory(NULL) | PropertyBuilder<TProperty> HasValueGeneratorFactory<TFactory>() |
Members of the base class are inherited.
ReferenceCollectionBuilder class · extends RelationshipBuilderBase
Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilder · assembly Microsoft.EntityFrameworkCore
Constructors
new ReferenceCollectionBuilder(IMutableEntityType principalEntityType, IMutableEntityType dependentEntityType, IMutableForeignKey foreignKey) |
Ring: new ReferenceCollectionBuilder(args) uses one constructor; the others are chosen by the parameter names: new ReferenceCollectionBuilder().@New([ :param = value ]) or dnNew("ReferenceCollectionBuilder",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
HasAnnotation | callMethod("HasAnnotation",[p1,p2]) | ReferenceCollectionBuilder HasAnnotation(string annotation, object value) |
HasForeignKey | callMethod("HasForeignKey",[p1]) | ReferenceCollectionBuilder HasForeignKey(string[] foreignKeyPropertyNames) |
HasPrincipalKey | callMethod("HasPrincipalKey",[p1]) | ReferenceCollectionBuilder HasPrincipalKey(string[] keyPropertyNames) |
IsRequired | IsRequired(value)IsRequired([ :required = … ]) | ReferenceCollectionBuilder IsRequired(bool required = …) |
OnDelete | callMethod("OnDelete",[p1]) | ReferenceCollectionBuilder OnDelete(DeleteBehavior deleteBehavior) |
Members of the base class are inherited.
ReferenceCollectionBuilder2 class · extends ReferenceCollectionBuilder
Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceCollectionBuilder`2 · assembly Microsoft.EntityFrameworkCore
Members of the base class are inherited.
ReferenceReferenceBuilder class · extends InvertibleRelationshipBuilderBase
Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceReferenceBuilder · assembly Microsoft.EntityFrameworkCore
Constructors
new ReferenceReferenceBuilder(IMutableEntityType declaringEntityType, IMutableEntityType relatedEntityType, IMutableForeignKey foreignKey) |
Ring: new ReferenceReferenceBuilder(args) uses one constructor; the others are chosen by the parameter names: new ReferenceReferenceBuilder().@New([ :param = value ]) or dnNew("ReferenceReferenceBuilder",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
HasAnnotation | callMethod("HasAnnotation",[p1,p2]) | ReferenceReferenceBuilder HasAnnotation(string annotation, object value) |
HasForeignKey | callMethod("HasForeignKey",[p1,p2]) | ReferenceReferenceBuilder HasForeignKey(string dependentEntityTypeName, string[] foreignKeyPropertyNames)ReferenceReferenceBuilder HasForeignKey(Type dependentEntityType, string[] foreignKeyPropertyNames) |
HasPrincipalKey | callMethod("HasPrincipalKey",[p1,p2]) | ReferenceReferenceBuilder HasPrincipalKey(string principalEntityTypeName, string[] keyPropertyNames)ReferenceReferenceBuilder HasPrincipalKey(Type principalEntityType, string[] keyPropertyNames) |
IsRequired | IsRequired(value)IsRequired([ :required = … ]) | ReferenceReferenceBuilder IsRequired(bool required = …) |
OnDelete | callMethod("OnDelete",[p1]) | ReferenceReferenceBuilder OnDelete(DeleteBehavior deleteBehavior) |
Members of the base class are inherited.
ReferenceReferenceBuilder2 class · extends ReferenceReferenceBuilder
Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceReferenceBuilder`2 · assembly Microsoft.EntityFrameworkCore
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
HasForeignKey | HasForeignKey(value)HasForeignKey([ :foreignKeyPropertyNames = … ])HasForeignKey([ :foreignKeyExpression = … ]) | ReferenceReferenceBuilder<TEntity, TRelatedEntity> HasForeignKey<TDependentEntity>(string[] foreignKeyPropertyNames)ReferenceReferenceBuilder<TEntity, TRelatedEntity> HasForeignKey<TDependentEntity>(Expression<Func<TDependentEntity, object>> foreignKeyExpression) |
HasPrincipalKey | HasPrincipalKey(value)HasPrincipalKey([ :keyPropertyNames = … ])HasPrincipalKey([ :keyExpression = … ]) | ReferenceReferenceBuilder<TEntity, TRelatedEntity> HasPrincipalKey<TPrincipalEntity>(string[] keyPropertyNames)ReferenceReferenceBuilder<TEntity, TRelatedEntity> HasPrincipalKey<TPrincipalEntity>(Expression<Func<TPrincipalEntity, object>> keyExpression) |
Members of the base class are inherited.
RelationshipBuilderBase class abstract
Microsoft.EntityFrameworkCore.Metadata.Builders.RelationshipBuilderBase · assembly Microsoft.EntityFrameworkCore
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IMutableForeignKey | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
ToString | callMethod("ToString",[]) | string ToString() |
SequenceBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.SequenceBuilder · assembly Microsoft.EntityFrameworkCore.Relational
Constructors
new SequenceBuilder(IMutableSequence sequence) |
Ring: new SequenceBuilder(args) uses one constructor; the others are chosen by the parameter names: new SequenceBuilder().@New([ :param = value ]) or dnNew("SequenceBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IMutableSequence | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
HasAnnotation | callMethod("HasAnnotation",[p1,p2]) | SequenceBuilder HasAnnotation(string annotation, object value) |
HasMax | callMethod("HasMax",[p1]) | SequenceBuilder HasMax(long maximum) |
HasMin | callMethod("HasMin",[p1]) | SequenceBuilder HasMin(long minimum) |
IncrementsBy | callMethod("IncrementsBy",[p1]) | SequenceBuilder IncrementsBy(int increment) |
IsCyclic | IsCyclic(value)IsCyclic([ :cyclic = … ]) | SequenceBuilder IsCyclic(bool cyclic = …) |
StartsAt | callMethod("StartsAt",[p1]) | SequenceBuilder StartsAt(long startValue) |
ToString | callMethod("ToString",[]) | string ToString() |
SplitTableBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.SplitTableBuilder · assembly Microsoft.EntityFrameworkCore.Relational
Constructors
new SplitTableBuilder(ref StoreObjectIdentifier storeObject, EntityTypeBuilder entityTypeBuilder) |
Ring: new SplitTableBuilder(args) uses one constructor; the others are chosen by the parameter names: new SplitTableBuilder().@New([ :param = value ]) or dnNew("SplitTableBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Name | string | read | o.Name |
Schema | string | read | o.Schema |
MappingFragment | IMutableEntityTypeMappingFragment | read | o.MappingFragment |
Metadata | IMutableEntityType | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
ExcludeFromMigrations | ExcludeFromMigrations(value)ExcludeFromMigrations([ :excluded = … ]) | SplitTableBuilder ExcludeFromMigrations(bool excluded = …) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
HasAnnotation | callMethod("HasAnnotation",[p1,p2]) | SplitTableBuilder HasAnnotation(string annotation, object value) |
HasTrigger | callMethod("HasTrigger",[p1]) | TableTriggerBuilder HasTrigger(string modelName) |
Property | callMethod("Property",[p1]) | ColumnBuilder Property(string propertyName)ColumnBuilder<TProperty> Property<TProperty>(string propertyName) |
ToString | callMethod("ToString",[]) | string ToString() |
SplitTableBuilder1 class · extends SplitTableBuilder
Microsoft.EntityFrameworkCore.Metadata.Builders.SplitTableBuilder`1 · assembly Microsoft.EntityFrameworkCore.Relational
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Property | callMethod("Property",[p1]) | ColumnBuilder<TProperty> Property<TProperty>(Expression<Func<TEntity, TProperty>> propertyExpression) |
Members of the base class are inherited.
SplitViewBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.SplitViewBuilder · assembly Microsoft.EntityFrameworkCore.Relational
Constructors
new SplitViewBuilder(ref StoreObjectIdentifier storeObject, EntityTypeBuilder entityTypeBuilder) |
Ring: new SplitViewBuilder(args) uses one constructor; the others are chosen by the parameter names: new SplitViewBuilder().@New([ :param = value ]) or dnNew("SplitViewBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Name | string | read | o.Name |
Schema | string | read | o.Schema |
MappingFragment | IMutableEntityTypeMappingFragment | read | o.MappingFragment |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
HasAnnotation | callMethod("HasAnnotation",[p1,p2]) | SplitViewBuilder HasAnnotation(string annotation, object value) |
Property | callMethod("Property",[p1]) | ViewColumnBuilder Property(string propertyName)ViewColumnBuilder<TProperty> Property<TProperty>(string propertyName) |
ToString | callMethod("ToString",[]) | string ToString() |
SplitViewBuilder1 class · extends SplitViewBuilder
Microsoft.EntityFrameworkCore.Metadata.Builders.SplitViewBuilder`1 · assembly Microsoft.EntityFrameworkCore.Relational
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Property | callMethod("Property",[p1]) | ViewColumnBuilder<TProperty> Property<TProperty>(Expression<Func<TEntity, TProperty>> propertyExpression) |
Members of the base class are inherited.
StoredProcedureBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder · assembly Microsoft.EntityFrameworkCore.Relational
Constructors
new StoredProcedureBuilder(IMutableStoredProcedure sproc, EntityTypeBuilder entityTypeBuilder) |
Ring: new StoredProcedureBuilder(args) uses one constructor; the others are chosen by the parameter names: new StoredProcedureBuilder().@New([ :param = value ]) or dnNew("StoredProcedureBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IMutableStoredProcedure | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
HasAnnotation | callMethod("HasAnnotation",[p1,p2]) | StoredProcedureBuilder HasAnnotation(string annotation, object value) |
HasOriginalValueParameter | HasOriginalValueParameter(value)HasOriginalValueParameter([ :propertyName = … ])HasOriginalValueParameter([ :propertyName = …, :buildAction = … ]) | StoredProcedureBuilder HasOriginalValueParameter(string propertyName)StoredProcedureBuilder HasOriginalValueParameter(string propertyName, Action<StoredProcedureParameterBuilder> buildAction) |
HasParameter | HasParameter(value)HasParameter([ :propertyName = … ])HasParameter([ :propertyName = …, :buildAction = … ]) | StoredProcedureBuilder HasParameter(string propertyName)StoredProcedureBuilder HasParameter(string propertyName, Action<StoredProcedureParameterBuilder> buildAction) |
HasResultColumn | HasResultColumn(value)HasResultColumn([ :propertyName = … ])HasResultColumn([ :propertyName = …, :buildAction = … ]) | StoredProcedureBuilder HasResultColumn(string propertyName)StoredProcedureBuilder HasResultColumn(string propertyName, Action<StoredProcedureResultColumnBuilder> buildAction) |
HasRowsAffectedParameter | HasRowsAffectedParameter(NULL)HasRowsAffectedParameter(value)HasRowsAffectedParameter([ :buildAction = … ]) | StoredProcedureBuilder HasRowsAffectedParameter()StoredProcedureBuilder HasRowsAffectedParameter(Action<StoredProcedureParameterBuilder> buildAction) |
HasRowsAffectedResultColumn | HasRowsAffectedResultColumn(NULL)HasRowsAffectedResultColumn(value)HasRowsAffectedResultColumn([ :buildAction = … ]) | StoredProcedureBuilder HasRowsAffectedResultColumn()StoredProcedureBuilder HasRowsAffectedResultColumn(Action<StoredProcedureResultColumnBuilder> buildAction) |
HasRowsAffectedReturnValue | HasRowsAffectedReturnValue(value)HasRowsAffectedReturnValue([ :rowsAffectedReturned = … ]) | StoredProcedureBuilder HasRowsAffectedReturnValue(bool rowsAffectedReturned = …) |
StoredProcedureBuilder1 class · extends StoredProcedureBuilder
Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureBuilder`1 · assembly Microsoft.EntityFrameworkCore.Relational
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
HasOriginalValueParameter | HasOriginalValueParameter(value)HasOriginalValueParameter([ :propertyExpression = … ])HasOriginalValueParameter([ :propertyExpression = …, :buildAction = … ]) | StoredProcedureBuilder<TEntity> HasOriginalValueParameter<TProperty>(Expression<Func<TEntity, TProperty>> propertyExpression)StoredProcedureBuilder<TEntity> HasOriginalValueParameter<TDerivedEntity, TProperty>(Expression<Func<TDerivedEntity, TProperty>> propertyExpression)StoredProcedureBuilder<TEntity> HasOriginalValueParameter<TProperty>(Expression<Func<TEntity, TProperty>> propertyExpression, Action<StoredProcedureParameterBuilder> buildAction)StoredProcedureBuilder<TEntity> HasOriginalValueParameter<TDerivedEntity, TProperty>(Expression<Func<TDerivedEntity, TProperty>> propertyExpression, Action<StoredProcedureParameterBuilder> buildAction) |
HasParameter | HasParameter(value)HasParameter([ :propertyExpression = … ])HasParameter([ :propertyExpression = …, :buildAction = … ]) | StoredProcedureBuilder<TEntity> HasParameter<TProperty>(Expression<Func<TEntity, TProperty>> propertyExpression)StoredProcedureBuilder<TEntity> HasParameter<TDerivedEntity, TProperty>(Expression<Func<TDerivedEntity, TProperty>> propertyExpression)StoredProcedureBuilder<TEntity> HasParameter<TProperty>(Expression<Func<TEntity, TProperty>> propertyExpression, Action<StoredProcedureParameterBuilder> buildAction)StoredProcedureBuilder<TEntity> HasParameter<TDerivedEntity, TProperty>(Expression<Func<TDerivedEntity, TProperty>> propertyExpression, Action<StoredProcedureParameterBuilder> buildAction) |
HasResultColumn | HasResultColumn(value)HasResultColumn([ :propertyExpression = … ])HasResultColumn([ :propertyExpression = …, :buildAction = … ]) | StoredProcedureBuilder<TEntity> HasResultColumn<TProperty>(Expression<Func<TEntity, TProperty>> propertyExpression)StoredProcedureBuilder<TEntity> HasResultColumn<TDerivedEntity, TProperty>(Expression<Func<TDerivedEntity, TProperty>> propertyExpression)StoredProcedureBuilder<TEntity> HasResultColumn<TProperty>(Expression<Func<TEntity, TProperty>> propertyExpression, Action<StoredProcedureResultColumnBuilder> buildAction)StoredProcedureBuilder<TEntity> HasResultColumn<TDerivedEntity, TProperty>(Expression<Func<TDerivedEntity, TProperty>> propertyExpression, Action<StoredProcedureResultColumnBuilder> buildAction) |
Members of the base class are inherited.
StoredProcedureParameterBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureParameterBuilder · assembly Microsoft.EntityFrameworkCore.Relational
Constructors
new StoredProcedureParameterBuilder(InternalStoredProcedureParameterBuilder builder, PropertyBuilder propertyBuilder) |
Ring: new StoredProcedureParameterBuilder(args) uses one constructor; the others are chosen by the parameter names: new StoredProcedureParameterBuilder().@New([ :param = value ]) or dnNew("StoredProcedureParameterBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IMutableStoredProcedureParameter | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
HasAnnotation | callMethod("HasAnnotation",[p1,p2]) | StoredProcedureParameterBuilder HasAnnotation(string annotation, object value) |
HasName | callMethod("HasName",[p1]) | StoredProcedureParameterBuilder HasName(string name) |
IsInputOutput | callMethod("IsInputOutput",[]) | StoredProcedureParameterBuilder IsInputOutput() |
IsOutput | callMethod("IsOutput",[]) | StoredProcedureParameterBuilder IsOutput() |
ToString | callMethod("ToString",[]) | string ToString() |
StoredProcedureResultColumnBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.StoredProcedureResultColumnBuilder · assembly Microsoft.EntityFrameworkCore.Relational
Constructors
new StoredProcedureResultColumnBuilder(InternalStoredProcedureResultColumnBuilder builder, PropertyBuilder propertyBuilder) |
Ring: new StoredProcedureResultColumnBuilder(args) uses one constructor; the others are chosen by the parameter names: new StoredProcedureResultColumnBuilder().@New([ :param = value ]) or dnNew("StoredProcedureResultColumnBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IMutableStoredProcedureResultColumn | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
HasAnnotation | callMethod("HasAnnotation",[p1,p2]) | StoredProcedureResultColumnBuilder HasAnnotation(string annotation, object value) |
HasName | callMethod("HasName",[p1]) | StoredProcedureResultColumnBuilder HasName(string name) |
ToString | callMethod("ToString",[]) | string ToString() |
TableBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder · assembly Microsoft.EntityFrameworkCore.Relational
Constructors
new TableBuilder(ref StoreObjectIdentifier? storeObject, EntityTypeBuilder entityTypeBuilder) |
Ring: new TableBuilder(args) uses one constructor; the others are chosen by the parameter names: new TableBuilder().@New([ :param = value ]) or dnNew("TableBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Name | string | read | o.Name |
Schema | string | read | o.Schema |
Metadata | IMutableEntityType | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
ExcludeFromMigrations | ExcludeFromMigrations(value)ExcludeFromMigrations([ :excluded = … ]) | TableBuilder ExcludeFromMigrations(bool excluded = …) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
HasCheckConstraint | callMethod("HasCheckConstraint",[p1,p2]) | CheckConstraintBuilder HasCheckConstraint(string name, string sql) |
HasComment | callMethod("HasComment",[p1]) | TableBuilder HasComment(string comment) |
HasTrigger | callMethod("HasTrigger",[p1]) | TableTriggerBuilder HasTrigger(string modelName) |
Property | callMethod("Property",[p1]) | ColumnBuilder Property(string propertyName)ColumnBuilder<TProperty> Property<TProperty>(string propertyName) |
ToString | callMethod("ToString",[]) | string ToString() |
TableBuilder1 class · extends TableBuilder
Microsoft.EntityFrameworkCore.Metadata.Builders.TableBuilder`1 · assembly Microsoft.EntityFrameworkCore.Relational
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Property | callMethod("Property",[p1]) | ColumnBuilder<TProperty> Property<TProperty>(Expression<Func<TEntity, TProperty>> propertyExpression) |
Members of the base class are inherited.
TableTriggerBuilder class · extends TriggerBuilder
Microsoft.EntityFrameworkCore.Metadata.Builders.TableTriggerBuilder · assembly Microsoft.EntityFrameworkCore.Relational
Constructors
new TableTriggerBuilder(IMutableTrigger trigger) |
Ring: new TableTriggerBuilder(args) uses one constructor; the others are chosen by the parameter names: new TableTriggerBuilder().@New([ :param = value ]) or dnNew("TableTriggerBuilder",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
HasAnnotation | callMethod("HasAnnotation",[p1,p2]) | TableTriggerBuilder HasAnnotation(string annotation, object value) |
HasDatabaseName | callMethod("HasDatabaseName",[p1]) | TableTriggerBuilder HasDatabaseName(string name) |
ToString | callMethod("ToString",[]) | string ToString() |
Members of the base class are inherited.
TableValuedFunctionBuilder class · extends DbFunctionBuilderBase
Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder · assembly Microsoft.EntityFrameworkCore.Relational
Constructors
new TableValuedFunctionBuilder(IMutableDbFunction function, EntityTypeBuilder entityTypeBuilder) |
Ring: new TableValuedFunctionBuilder(args) uses one constructor; the others are chosen by the parameter names: new TableValuedFunctionBuilder().@New([ :param = value ]) or dnNew("TableValuedFunctionBuilder",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
HasAnnotation | callMethod("HasAnnotation",[p1,p2]) | TableValuedFunctionBuilder HasAnnotation(string annotation, object value) |
HasName | callMethod("HasName",[p1]) | TableValuedFunctionBuilder HasName(string name) |
HasParameter | HasParameter([ :name = …, :buildAction = … ]) | TableValuedFunctionBuilder HasParameter(string name, Action<DbFunctionParameterBuilder> buildAction) |
HasSchema | callMethod("HasSchema",[p1]) | TableValuedFunctionBuilder HasSchema(string schema) |
IsBuiltIn | IsBuiltIn(value)IsBuiltIn([ :builtIn = … ]) | TableValuedFunctionBuilder IsBuiltIn(bool builtIn = …) |
Members of the base class are inherited.
TableValuedFunctionBuilder1 class · extends TableValuedFunctionBuilder
Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder`1 · assembly Microsoft.EntityFrameworkCore.Relational
Members of the base class are inherited.
TriggerBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.TriggerBuilder · assembly Microsoft.EntityFrameworkCore
Constructors
new TriggerBuilder(IMutableTrigger trigger) |
Ring: new TriggerBuilder(args) uses one constructor; the others are chosen by the parameter names: new TriggerBuilder().@New([ :param = value ]) or dnNew("TriggerBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Metadata | IMutableTrigger | read | o.Metadata |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
HasAnnotation | callMethod("HasAnnotation",[p1,p2]) | TriggerBuilder HasAnnotation(string annotation, object value) |
ToString | callMethod("ToString",[]) | string ToString() |
TypeMappingConfigurationBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.TypeMappingConfigurationBuilder · assembly Microsoft.EntityFrameworkCore
Constructors
new TypeMappingConfigurationBuilder(PropertyConfiguration scalar) |
Ring: new TypeMappingConfigurationBuilder(args) uses one constructor; the others are chosen by the parameter names: new TypeMappingConfigurationBuilder().@New([ :param = value ]) or dnNew("TypeMappingConfigurationBuilder",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
HasAnnotation | callMethod("HasAnnotation",[p1,p2]) | TypeMappingConfigurationBuilder HasAnnotation(string annotation, object value) |
HasConversion | HasConversion(NULL)HasConversion(value)HasConversion([ :conversionType = … ]) | TypeMappingConfigurationBuilder HasConversion<TConversion>()TypeMappingConfigurationBuilder HasConversion(Type conversionType) |
HasMaxLength | callMethod("HasMaxLength",[p1]) | TypeMappingConfigurationBuilder HasMaxLength(int maxLength) |
HasPrecision | HasPrecision(value)HasPrecision([ :precision = … ])HasPrecision([ :precision = …, :scale = … ]) | TypeMappingConfigurationBuilder HasPrecision(int precision, int scale)TypeMappingConfigurationBuilder HasPrecision(int precision) |
HasSentinel | callMethod("HasSentinel",[p1]) | TypeMappingConfigurationBuilder HasSentinel(object sentinel) |
IsUnicode | IsUnicode(value)IsUnicode([ :unicode = … ]) | TypeMappingConfigurationBuilder IsUnicode(bool unicode = …) |
ToString | callMethod("ToString",[]) | string ToString() |
TypeMappingConfigurationBuilder1 class · extends TypeMappingConfigurationBuilder
Microsoft.EntityFrameworkCore.Metadata.Builders.TypeMappingConfigurationBuilder`1 · assembly Microsoft.EntityFrameworkCore
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
HasConversion | HasConversion(NULL) | TypeMappingConfigurationBuilder<TProperty> HasConversion<TConversion>() |
Members of the base class are inherited.
ViewBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.ViewBuilder · assembly Microsoft.EntityFrameworkCore.Relational
Constructors
new ViewBuilder(ref StoreObjectIdentifier storeObject, EntityTypeBuilder entityTypeBuilder) |
Ring: new ViewBuilder(args) uses one constructor; the others are chosen by the parameter names: new ViewBuilder().@New([ :param = value ]) or dnNew("ViewBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Name | string | read | o.Name |
Schema | string | read | o.Schema |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
Property | callMethod("Property",[p1]) | ViewColumnBuilder Property(string propertyName)ViewColumnBuilder<TProperty> Property<TProperty>(string propertyName) |
ToString | callMethod("ToString",[]) | string ToString() |
ViewBuilder1 class · extends ViewBuilder
Microsoft.EntityFrameworkCore.Metadata.Builders.ViewBuilder`1 · assembly Microsoft.EntityFrameworkCore.Relational
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Property | callMethod("Property",[p1]) | ViewColumnBuilder<TProperty> Property<TProperty>(Expression<Func<TEntity, TProperty>> propertyExpression) |
Members of the base class are inherited.
ViewColumnBuilder class
Microsoft.EntityFrameworkCore.Metadata.Builders.ViewColumnBuilder · assembly Microsoft.EntityFrameworkCore.Relational
Constructors
new ViewColumnBuilder(ref StoreObjectIdentifier storeObject, PropertyBuilder propertyBuilder) |
Ring: new ViewColumnBuilder(args) uses one constructor; the others are chosen by the parameter names: new ViewColumnBuilder().@New([ :param = value ]) or dnNew("ViewColumnBuilder",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Overrides | IMutableRelationalPropertyOverrides | read | o.Overrides |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
HasAnnotation | callMethod("HasAnnotation",[p1,p2]) | ViewColumnBuilder HasAnnotation(string annotation, object value) |
HasColumnName | callMethod("HasColumnName",[p1]) | ViewColumnBuilder HasColumnName(string name) |
ToString | callMethod("ToString",[]) | string ToString() |
ViewColumnBuilder1 class · extends ViewColumnBuilder
Microsoft.EntityFrameworkCore.Metadata.Builders.ViewColumnBuilder`1 · assembly Microsoft.EntityFrameworkCore.Relational
Members of the base class are inherited.