RelationalNavigationJsonPropertyNameAttributeConvention 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
一种约定,用于根据 JsonPropertyNameAttribute 属性为映射到 json 的导航属性配置 JSON 元素名称。
[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })]
public class RelationalNavigationJsonPropertyNameAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.NavigationAttributeConventionBase<System.Text.Json.Serialization.JsonPropertyNameAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention
public class RelationalNavigationJsonPropertyNameAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.NavigationAttributeConventionBase<System.Text.Json.Serialization.JsonPropertyNameAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention
[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })>]
type RelationalNavigationJsonPropertyNameAttributeConvention = class
inherit NavigationAttributeConventionBase<JsonPropertyNameAttribute>
interface INavigationAddedConvention
interface IConvention
type RelationalNavigationJsonPropertyNameAttributeConvention = class
inherit NavigationAttributeConventionBase<JsonPropertyNameAttribute>
interface INavigationAddedConvention
interface IConvention
Public Class RelationalNavigationJsonPropertyNameAttributeConvention
Inherits NavigationAttributeConventionBase(Of JsonPropertyNameAttribute)
Implements INavigationAddedConvention
- 继承
-
RelationalNavigationJsonPropertyNameAttributeConvention
- 特性
- 实现
注解
有关详细信息和示例,请参阅 模型生成约定 。
构造函数
属性
| 名称 | 说明 |
|---|---|
| Dependencies |
此服务的依赖项。 (继承自 NavigationAttributeConventionBase<TAttribute>) |
| RelationalDependencies |
此服务的关系提供程序特定的依赖项。 |