Condividi tramite


RuntimeProperty Costruttori

Definizione

Overload

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)

Si tratta di un'API interna che supporta l'infrastruttura Entity Framework Core e non è soggetta agli stessi standard di compatibilità delle API pubbliche. Può essere modificato o rimosso senza preavviso in alcuna versione. È consigliabile usarlo direttamente nel codice con estrema cautela e sapere che questa operazione può causare errori dell'applicazione durante l'aggiornamento a una nuova versione di 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)

Si tratta di un'API interna che supporta l'infrastruttura Entity Framework Core e non è soggetta agli stessi standard di compatibilità delle API pubbliche. Può essere modificato o rimosso senza preavviso in alcuna versione. È consigliabile usarlo direttamente nel codice con estrema cautela e sapere che questa operazione può causare errori dell'applicazione durante l'aggiornamento a una nuova versione di 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)

Si tratta di un'API interna che supporta l'infrastruttura Entity Framework Core e non è soggetta agli stessi standard di compatibilità delle API pubbliche. Può essere modificato o rimosso senza preavviso in alcuna versione. È consigliabile usarlo direttamente nel codice con estrema cautela e sapere che questa operazione può causare errori dell'applicazione durante l'aggiornamento a una nuova versione di 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)

Si tratta di un'API interna che supporta l'infrastruttura Entity Framework Core e non è soggetta agli stessi standard di compatibilità delle API pubbliche. Può essere modificato o rimosso senza preavviso in alcuna versione. È consigliabile usarlo direttamente nel codice con estrema cautela e sapere che questa operazione può causare errori dell'applicazione durante l'aggiornamento a una nuova versione di 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)

Parametri

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
Attributi

Si applica a

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)

Si tratta di un'API interna che supporta l'infrastruttura Entity Framework Core e non è soggetta agli stessi standard di compatibilità delle API pubbliche. Può essere modificato o rimosso senza preavviso in alcuna versione. È consigliabile usarlo direttamente nel codice con estrema cautela e sapere che questa operazione può causare errori dell'applicazione durante l'aggiornamento a una nuova versione di 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)

Parametri

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
Attributi

Si applica a

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)

Si tratta di un'API interna che supporta l'infrastruttura Entity Framework Core e non è soggetta agli stessi standard di compatibilità delle API pubbliche. Può essere modificato o rimosso senza preavviso in alcuna versione. È consigliabile usarlo direttamente nel codice con estrema cautela e sapere che questa operazione può causare errori dell'applicazione durante l'aggiornamento a una nuova versione di 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)

Parametri

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
Attributi

Si applica a