ReferenceReferenceBuilder.ResolveEntityType 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ResolveEntityType(String) |
这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,而无需通知。 仅应在代码中非常谨慎地直接使用它,并且知道在更新到新的 Entity Framework Core 版本时这样做可能会导致应用程序失败。 |
ResolveEntityType(Type) |
这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,而无需通知。 仅应在代码中非常谨慎地直接使用它,并且知道在更新到新的 Entity Framework Core 版本时这样做可能会导致应用程序失败。 |
ResolveEntityType(String)
这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,而无需通知。 仅应在代码中非常谨慎地直接使用它,并且知道在更新到新的 Entity Framework Core 版本时这样做可能会导致应用程序失败。
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType ResolveEntityType (string entityTypeName);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType ResolveEntityType (string entityTypeName);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType? ResolveEntityType (string entityTypeName);
abstract member ResolveEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
override this.ResolveEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member ResolveEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
override this.ResolveEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
Protected Overridable Function ResolveEntityType (entityTypeName As String) As EntityType
参数
- entityTypeName
- String
返回
- 属性
适用于
ResolveEntityType(Type)
这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,而无需通知。 仅应在代码中非常谨慎地直接使用它,并且知道在更新到新的 Entity Framework Core 版本时这样做可能会导致应用程序失败。
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType ResolveEntityType (Type entityType);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType ResolveEntityType (Type entityType);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType? ResolveEntityType (Type entityType);
abstract member ResolveEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
override this.ResolveEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member ResolveEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
override this.ResolveEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
Protected Overridable Function ResolveEntityType (entityType As Type) As EntityType
参数
- entityType
- Type
返回
- 属性
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈