RuntimeEntityType 构造函数

定义

重载

RuntimeEntityType(String, Type, Boolean, RuntimeModel, RuntimeEntityType, String, ChangeTrackingStrategy, PropertyInfo, Boolean)

这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,而无需通知。 仅应在代码中非常谨慎地直接使用它,并且知道在更新到新的 Entity Framework Core 版本时这样做可能会导致应用程序失败。

RuntimeEntityType(String, Type, Boolean, RuntimeModel, RuntimeEntityType, String, ChangeTrackingStrategy, PropertyInfo, Boolean, Object)

这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,而无需通知。 仅应在代码中非常谨慎地直接使用它,并且知道在更新到新的 Entity Framework Core 版本时这样做可能会导致应用程序失败。

RuntimeEntityType(String, Type, Boolean, RuntimeModel, RuntimeEntityType, String, ChangeTrackingStrategy, PropertyInfo, Boolean)

这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,而无需通知。 仅应在代码中非常谨慎地直接使用它,并且知道在更新到新的 Entity Framework Core 版本时这样做可能会导致应用程序失败。

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public RuntimeEntityType (string name, Type type, bool sharedClrType, Microsoft.EntityFrameworkCore.Metadata.RuntimeModel model, Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType? baseType, string? discriminatorProperty, Microsoft.EntityFrameworkCore.ChangeTrackingStrategy changeTrackingStrategy, System.Reflection.PropertyInfo? indexerPropertyInfo, bool propertyBag);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType : string * Type * bool * Microsoft.EntityFrameworkCore.Metadata.RuntimeModel * Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType * string * Microsoft.EntityFrameworkCore.ChangeTrackingStrategy * System.Reflection.PropertyInfo * bool -> Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType
Public Sub New (name As String, type As Type, sharedClrType As Boolean, model As RuntimeModel, baseType As RuntimeEntityType, discriminatorProperty As String, changeTrackingStrategy As ChangeTrackingStrategy, indexerPropertyInfo As PropertyInfo, propertyBag As Boolean)

参数

name
String
type
Type
sharedClrType
Boolean
model
RuntimeModel
discriminatorProperty
String
changeTrackingStrategy
ChangeTrackingStrategy
indexerPropertyInfo
PropertyInfo
propertyBag
Boolean
属性

适用于

RuntimeEntityType(String, Type, Boolean, RuntimeModel, RuntimeEntityType, String, ChangeTrackingStrategy, PropertyInfo, Boolean, Object)

这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,而无需通知。 仅应在代码中非常谨慎地直接使用它,并且知道在更新到新的 Entity Framework Core 版本时这样做可能会导致应用程序失败。

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public RuntimeEntityType (string name, Type type, bool sharedClrType, Microsoft.EntityFrameworkCore.Metadata.RuntimeModel model, Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType? baseType, string? discriminatorProperty, Microsoft.EntityFrameworkCore.ChangeTrackingStrategy changeTrackingStrategy, System.Reflection.PropertyInfo? indexerPropertyInfo, bool propertyBag, object? discriminatorValue);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType : string * Type * bool * Microsoft.EntityFrameworkCore.Metadata.RuntimeModel * Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType * string * Microsoft.EntityFrameworkCore.ChangeTrackingStrategy * System.Reflection.PropertyInfo * bool * obj -> Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType
Public Sub New (name As String, type As Type, sharedClrType As Boolean, model As RuntimeModel, baseType As RuntimeEntityType, discriminatorProperty As String, changeTrackingStrategy As ChangeTrackingStrategy, indexerPropertyInfo As PropertyInfo, propertyBag As Boolean, discriminatorValue As Object)

参数

name
String
type
Type
sharedClrType
Boolean
model
RuntimeModel
discriminatorProperty
String
changeTrackingStrategy
ChangeTrackingStrategy
indexerPropertyInfo
PropertyInfo
propertyBag
Boolean
discriminatorValue
Object
属性

适用于