IComplexPropertyNullabilityChangedConvention 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示在复杂属性的可为 null 性发生更改时应执行的操作。
public interface IComplexPropertyNullabilityChangedConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention
type IComplexPropertyNullabilityChangedConvention = interface
interface IConvention
Public Interface IComplexPropertyNullabilityChangedConvention
Implements IConvention
- 实现
注解
有关详细信息和示例,请参阅 模型生成约定 。
方法
| 名称 | 说明 |
|---|---|
| ProcessComplexPropertyNullabilityChanged(IConventionComplexPropertyBuilder, IConventionContext<Nullable<Boolean>>) |
在复杂属性的可为 null 性更改后调用。 |