RuntimeProperty 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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)
- Source:
- RuntimeProperty.cs
这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,而无需通知。 仅应在代码中非常谨慎地直接使用它,并且知道在更新到新的 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)
参数
- name
- String
- clrType
- Type
- propertyInfo
- PropertyInfo
- fieldInfo
- FieldInfo
- declaringEntityType
- RuntimeEntityType
- propertyAccessMode
- PropertyAccessMode
- nullable
- Boolean
- concurrencyToken
- Boolean
- valueGenerated
- ValueGenerated
- beforeSaveBehavior
- PropertySaveBehavior
- afterSaveBehavior
- PropertySaveBehavior
- providerClrType
- Type
- valueGeneratorFactory
- Func<IProperty,IEntityType,ValueGenerator>
- valueConverter
- ValueConverter
- valueComparer
- ValueComparer
- keyValueComparer
- ValueComparer
- typeMapping
- CoreTypeMapping
- 属性
适用于
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)
- Source:
- RuntimeProperty.cs
这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,而无需通知。 仅应在代码中非常谨慎地直接使用它,并且知道在更新到新的 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)
参数
- name
- String
- clrType
- Type
- propertyInfo
- PropertyInfo
- fieldInfo
- FieldInfo
- declaringEntityType
- RuntimeEntityType
- propertyAccessMode
- PropertyAccessMode
- nullable
- Boolean
- concurrencyToken
- Boolean
- valueGenerated
- ValueGenerated
- beforeSaveBehavior
- PropertySaveBehavior
- afterSaveBehavior
- PropertySaveBehavior
- providerClrType
- Type
- valueGeneratorFactory
- Func<IProperty,IEntityType,ValueGenerator>
- valueConverter
- ValueConverter
- valueComparer
- ValueComparer
- keyValueComparer
- ValueComparer
- providerValueComparer
- ValueComparer
- typeMapping
- CoreTypeMapping
- 属性
适用于
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)
- Source:
- RuntimeProperty.cs
- Source:
- RuntimeProperty.cs
这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,而无需通知。 仅应在代码中非常谨慎地直接使用它,并且知道在更新到新的 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)
参数
- name
- String
- clrType
- Type
- propertyInfo
- PropertyInfo
- fieldInfo
- FieldInfo
- declaringType
- RuntimeTypeBase
- propertyAccessMode
- PropertyAccessMode
- nullable
- Boolean
- concurrencyToken
- Boolean
- valueGenerated
- ValueGenerated
- beforeSaveBehavior
- PropertySaveBehavior
- afterSaveBehavior
- PropertySaveBehavior
- providerClrType
- Type
- valueGeneratorFactory
- Func<IProperty,ITypeBase,ValueGenerator>
- valueConverter
- ValueConverter
- valueComparer
- ValueComparer
- keyValueComparer
- ValueComparer
- providerValueComparer
- ValueComparer
- jsonValueReaderWriter
- JsonValueReaderWriter
- typeMapping
- CoreTypeMapping
- sentinel
- Object
- 属性