Partager via


RuntimeProperty Constructeurs

Définition

Surcharges

RuntimeProperty(String, Type, PropertyInfo, FieldInfo, RuntimeEntityType, PropertyAccessMode, Boolean, Boolean, ValueGenerated, PropertySaveBehavior, PropertySaveBehavior, Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Type, Func<IProperty,IEntityType,ValueGenerator>, ValueConverter, ValueComparer, ValueComparer, CoreTypeMapping)

Il s’agit d’une API interne qui prend en charge l’infrastructure Entity Framework Core et qui n’est pas soumise aux mêmes normes de compatibilité que les API publiques. Il peut être modifié ou supprimé sans préavis dans n’importe quelle version. Vous devez uniquement l’utiliser directement dans votre code avec une extrême prudence et en sachant que cela peut entraîner des échecs d’application lors de la mise à jour vers une nouvelle version d’Entity Framework Core.

RuntimeProperty(String, Type, PropertyInfo, FieldInfo, RuntimeEntityType, PropertyAccessMode, Boolean, Boolean, ValueGenerated, PropertySaveBehavior, PropertySaveBehavior, Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Type, Func<IProperty,IEntityType,ValueGenerator>, ValueConverter, ValueComparer, ValueComparer, ValueComparer, CoreTypeMapping)

Il s’agit d’une API interne qui prend en charge l’infrastructure Entity Framework Core et qui n’est pas soumise aux mêmes normes de compatibilité que les API publiques. Il peut être modifié ou supprimé sans préavis dans n’importe quelle version. Vous devez uniquement l’utiliser directement dans votre code avec une extrême prudence et en sachant que cela peut entraîner des échecs d’application lors de la mise à jour vers une nouvelle version d’Entity Framework Core.

RuntimeProperty(String, Type, PropertyInfo, FieldInfo, RuntimeTypeBase, PropertyAccessMode, Boolean, Boolean, ValueGenerated, PropertySaveBehavior, PropertySaveBehavior, Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Type, Func<IProperty,ITypeBase,ValueGenerator>, ValueConverter, ValueComparer, ValueComparer, ValueComparer, JsonValueReaderWriter, CoreTypeMapping, Object)

Il s’agit d’une API interne qui prend en charge l’infrastructure Entity Framework Core et qui n’est pas soumise aux mêmes normes de compatibilité que les API publiques. Il peut être modifié ou supprimé sans préavis dans n’importe quelle version. Vous devez uniquement l’utiliser directement dans votre code avec une extrême prudence et en sachant que cela peut entraîner des échecs d’application lors de la mise à jour vers une nouvelle version d’Entity Framework Core.

RuntimeProperty(String, Type, PropertyInfo, FieldInfo, RuntimeEntityType, PropertyAccessMode, Boolean, Boolean, ValueGenerated, PropertySaveBehavior, PropertySaveBehavior, Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Type, Func<IProperty,IEntityType,ValueGenerator>, ValueConverter, ValueComparer, ValueComparer, CoreTypeMapping)

Il s’agit d’une API interne qui prend en charge l’infrastructure Entity Framework Core et qui n’est pas soumise aux mêmes normes de compatibilité que les API publiques. Il peut être modifié ou supprimé sans préavis dans n’importe quelle version. Vous devez uniquement l’utiliser directement dans votre code avec une extrême prudence et en sachant que cela peut entraîner des échecs d’application lors de la mise à jour vers une nouvelle version d’Entity Framework Core.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public RuntimeProperty (string name, Type clrType, System.Reflection.PropertyInfo? propertyInfo, System.Reflection.FieldInfo? fieldInfo, Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType declaringEntityType, Microsoft.EntityFrameworkCore.PropertyAccessMode propertyAccessMode, bool nullable, bool concurrencyToken, Microsoft.EntityFrameworkCore.Metadata.ValueGenerated valueGenerated, Microsoft.EntityFrameworkCore.Metadata.PropertySaveBehavior beforeSaveBehavior, Microsoft.EntityFrameworkCore.Metadata.PropertySaveBehavior afterSaveBehavior, int? maxLength, bool? unicode, int? precision, int? scale, Type? providerClrType, Func<Microsoft.EntityFrameworkCore.Metadata.IProperty,Microsoft.EntityFrameworkCore.Metadata.IEntityType,Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator>? valueGeneratorFactory, Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter? valueConverter, Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer? valueComparer, Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer? keyValueComparer, Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping? typeMapping);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Metadata.RuntimeProperty : string * Type * System.Reflection.PropertyInfo * System.Reflection.FieldInfo * Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType * Microsoft.EntityFrameworkCore.PropertyAccessMode * bool * bool * Microsoft.EntityFrameworkCore.Metadata.ValueGenerated * Microsoft.EntityFrameworkCore.Metadata.PropertySaveBehavior * Microsoft.EntityFrameworkCore.Metadata.PropertySaveBehavior * Nullable<int> * Nullable<bool> * Nullable<int> * Nullable<int> * Type * Func<Microsoft.EntityFrameworkCore.Metadata.IProperty, Microsoft.EntityFrameworkCore.Metadata.IEntityType, Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator> * Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter * Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer * Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer * Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping -> Microsoft.EntityFrameworkCore.Metadata.RuntimeProperty
Public Sub New (name As String, clrType As Type, propertyInfo As PropertyInfo, fieldInfo As FieldInfo, declaringEntityType As RuntimeEntityType, propertyAccessMode As PropertyAccessMode, nullable As Boolean, concurrencyToken As Boolean, valueGenerated As ValueGenerated, beforeSaveBehavior As PropertySaveBehavior, afterSaveBehavior As PropertySaveBehavior, maxLength As Nullable(Of Integer), unicode As Nullable(Of Boolean), precision As Nullable(Of Integer), scale As Nullable(Of Integer), providerClrType As Type, valueGeneratorFactory As Func(Of IProperty, IEntityType, ValueGenerator), valueConverter As ValueConverter, valueComparer As ValueComparer, keyValueComparer As ValueComparer, typeMapping As CoreTypeMapping)

Paramètres

name
String
clrType
Type
propertyInfo
PropertyInfo
fieldInfo
FieldInfo
declaringEntityType
RuntimeEntityType
propertyAccessMode
PropertyAccessMode
nullable
Boolean
concurrencyToken
Boolean
valueGenerated
ValueGenerated
beforeSaveBehavior
PropertySaveBehavior
afterSaveBehavior
PropertySaveBehavior
maxLength
Nullable<Int32>
unicode
Nullable<Boolean>
precision
Nullable<Int32>
scale
Nullable<Int32>
providerClrType
Type
valueGeneratorFactory
Func<IProperty,IEntityType,ValueGenerator>
valueConverter
ValueConverter
valueComparer
ValueComparer
keyValueComparer
ValueComparer
typeMapping
CoreTypeMapping
Attributs

S’applique à

RuntimeProperty(String, Type, PropertyInfo, FieldInfo, RuntimeEntityType, PropertyAccessMode, Boolean, Boolean, ValueGenerated, PropertySaveBehavior, PropertySaveBehavior, Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Type, Func<IProperty,IEntityType,ValueGenerator>, ValueConverter, ValueComparer, ValueComparer, ValueComparer, CoreTypeMapping)

Il s’agit d’une API interne qui prend en charge l’infrastructure Entity Framework Core et qui n’est pas soumise aux mêmes normes de compatibilité que les API publiques. Il peut être modifié ou supprimé sans préavis dans n’importe quelle version. Vous devez uniquement l’utiliser directement dans votre code avec une extrême prudence et en sachant que cela peut entraîner des échecs d’application lors de la mise à jour vers une nouvelle version d’Entity Framework Core.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public RuntimeProperty (string name, Type clrType, System.Reflection.PropertyInfo? propertyInfo, System.Reflection.FieldInfo? fieldInfo, Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType declaringEntityType, Microsoft.EntityFrameworkCore.PropertyAccessMode propertyAccessMode, bool nullable, bool concurrencyToken, Microsoft.EntityFrameworkCore.Metadata.ValueGenerated valueGenerated, Microsoft.EntityFrameworkCore.Metadata.PropertySaveBehavior beforeSaveBehavior, Microsoft.EntityFrameworkCore.Metadata.PropertySaveBehavior afterSaveBehavior, int? maxLength, bool? unicode, int? precision, int? scale, Type? providerClrType, Func<Microsoft.EntityFrameworkCore.Metadata.IProperty,Microsoft.EntityFrameworkCore.Metadata.IEntityType,Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator>? valueGeneratorFactory, Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter? valueConverter, Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer? valueComparer, Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer? keyValueComparer, Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer? providerValueComparer, Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping? typeMapping);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Metadata.RuntimeProperty : string * Type * System.Reflection.PropertyInfo * System.Reflection.FieldInfo * Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType * Microsoft.EntityFrameworkCore.PropertyAccessMode * bool * bool * Microsoft.EntityFrameworkCore.Metadata.ValueGenerated * Microsoft.EntityFrameworkCore.Metadata.PropertySaveBehavior * Microsoft.EntityFrameworkCore.Metadata.PropertySaveBehavior * Nullable<int> * Nullable<bool> * Nullable<int> * Nullable<int> * Type * Func<Microsoft.EntityFrameworkCore.Metadata.IProperty, Microsoft.EntityFrameworkCore.Metadata.IEntityType, Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator> * Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter * Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer * Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer * Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer * Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping -> Microsoft.EntityFrameworkCore.Metadata.RuntimeProperty
Public Sub New (name As String, clrType As Type, propertyInfo As PropertyInfo, fieldInfo As FieldInfo, declaringEntityType As RuntimeEntityType, propertyAccessMode As PropertyAccessMode, nullable As Boolean, concurrencyToken As Boolean, valueGenerated As ValueGenerated, beforeSaveBehavior As PropertySaveBehavior, afterSaveBehavior As PropertySaveBehavior, maxLength As Nullable(Of Integer), unicode As Nullable(Of Boolean), precision As Nullable(Of Integer), scale As Nullable(Of Integer), providerClrType As Type, valueGeneratorFactory As Func(Of IProperty, IEntityType, ValueGenerator), valueConverter As ValueConverter, valueComparer As ValueComparer, keyValueComparer As ValueComparer, providerValueComparer As ValueComparer, typeMapping As CoreTypeMapping)

Paramètres

name
String
clrType
Type
propertyInfo
PropertyInfo
fieldInfo
FieldInfo
declaringEntityType
RuntimeEntityType
propertyAccessMode
PropertyAccessMode
nullable
Boolean
concurrencyToken
Boolean
valueGenerated
ValueGenerated
beforeSaveBehavior
PropertySaveBehavior
afterSaveBehavior
PropertySaveBehavior
maxLength
Nullable<Int32>
unicode
Nullable<Boolean>
precision
Nullable<Int32>
scale
Nullable<Int32>
providerClrType
Type
valueGeneratorFactory
Func<IProperty,IEntityType,ValueGenerator>
valueConverter
ValueConverter
valueComparer
ValueComparer
keyValueComparer
ValueComparer
providerValueComparer
ValueComparer
typeMapping
CoreTypeMapping
Attributs

S’applique à

RuntimeProperty(String, Type, PropertyInfo, FieldInfo, RuntimeTypeBase, PropertyAccessMode, Boolean, Boolean, ValueGenerated, PropertySaveBehavior, PropertySaveBehavior, Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Type, Func<IProperty,ITypeBase,ValueGenerator>, ValueConverter, ValueComparer, ValueComparer, ValueComparer, JsonValueReaderWriter, CoreTypeMapping, Object)

Il s’agit d’une API interne qui prend en charge l’infrastructure Entity Framework Core et qui n’est pas soumise aux mêmes normes de compatibilité que les API publiques. Il peut être modifié ou supprimé sans préavis dans n’importe quelle version. Vous devez uniquement l’utiliser directement dans votre code avec une extrême prudence et en sachant que cela peut entraîner des échecs d’application lors de la mise à jour vers une nouvelle version d’Entity Framework Core.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public RuntimeProperty (string name, Type clrType, System.Reflection.PropertyInfo? propertyInfo, System.Reflection.FieldInfo? fieldInfo, Microsoft.EntityFrameworkCore.Metadata.RuntimeTypeBase declaringType, Microsoft.EntityFrameworkCore.PropertyAccessMode propertyAccessMode, bool nullable, bool concurrencyToken, Microsoft.EntityFrameworkCore.Metadata.ValueGenerated valueGenerated, Microsoft.EntityFrameworkCore.Metadata.PropertySaveBehavior beforeSaveBehavior, Microsoft.EntityFrameworkCore.Metadata.PropertySaveBehavior afterSaveBehavior, int? maxLength, bool? unicode, int? precision, int? scale, Type? providerClrType, Func<Microsoft.EntityFrameworkCore.Metadata.IProperty,Microsoft.EntityFrameworkCore.Metadata.ITypeBase,Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator>? valueGeneratorFactory, Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter? valueConverter, Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer? valueComparer, Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer? keyValueComparer, Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer? providerValueComparer, Microsoft.EntityFrameworkCore.Storage.Json.JsonValueReaderWriter? jsonValueReaderWriter, Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping? typeMapping, object? sentinel);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Metadata.RuntimeProperty : string * Type * System.Reflection.PropertyInfo * System.Reflection.FieldInfo * Microsoft.EntityFrameworkCore.Metadata.RuntimeTypeBase * Microsoft.EntityFrameworkCore.PropertyAccessMode * bool * bool * Microsoft.EntityFrameworkCore.Metadata.ValueGenerated * Microsoft.EntityFrameworkCore.Metadata.PropertySaveBehavior * Microsoft.EntityFrameworkCore.Metadata.PropertySaveBehavior * Nullable<int> * Nullable<bool> * Nullable<int> * Nullable<int> * Type * Func<Microsoft.EntityFrameworkCore.Metadata.IProperty, Microsoft.EntityFrameworkCore.Metadata.ITypeBase, Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator> * Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter * Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer * Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer * Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer * Microsoft.EntityFrameworkCore.Storage.Json.JsonValueReaderWriter * Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping * obj -> Microsoft.EntityFrameworkCore.Metadata.RuntimeProperty
Public Sub New (name As String, clrType As Type, propertyInfo As PropertyInfo, fieldInfo As FieldInfo, declaringType As RuntimeTypeBase, propertyAccessMode As PropertyAccessMode, nullable As Boolean, concurrencyToken As Boolean, valueGenerated As ValueGenerated, beforeSaveBehavior As PropertySaveBehavior, afterSaveBehavior As PropertySaveBehavior, maxLength As Nullable(Of Integer), unicode As Nullable(Of Boolean), precision As Nullable(Of Integer), scale As Nullable(Of Integer), providerClrType As Type, valueGeneratorFactory As Func(Of IProperty, ITypeBase, ValueGenerator), valueConverter As ValueConverter, valueComparer As ValueComparer, keyValueComparer As ValueComparer, providerValueComparer As ValueComparer, jsonValueReaderWriter As JsonValueReaderWriter, typeMapping As CoreTypeMapping, sentinel As Object)

Paramètres

name
String
clrType
Type
propertyInfo
PropertyInfo
fieldInfo
FieldInfo
declaringType
RuntimeTypeBase
propertyAccessMode
PropertyAccessMode
nullable
Boolean
concurrencyToken
Boolean
valueGenerated
ValueGenerated
beforeSaveBehavior
PropertySaveBehavior
afterSaveBehavior
PropertySaveBehavior
maxLength
Nullable<Int32>
unicode
Nullable<Boolean>
precision
Nullable<Int32>
scale
Nullable<Int32>
providerClrType
Type
valueGeneratorFactory
Func<IProperty,ITypeBase,ValueGenerator>
valueConverter
ValueConverter
valueComparer
ValueComparer
keyValueComparer
ValueComparer
providerValueComparer
ValueComparer
jsonValueReaderWriter
JsonValueReaderWriter
typeMapping
CoreTypeMapping
sentinel
Object
Attributs

S’applique à