IModelAnnotationRegister 接口
提供一个接口,当将其添加到类的继承时,需要一个方法来注册模型批注。
命名空间: Microsoft.Data.Schema.SchemaModel
程序集: Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)
语法
声明
<CLSCompliantAttribute(True)> _
Public Interface IModelAnnotationRegister _
Inherits IExtension
[CLSCompliantAttribute(true)]
public interface IModelAnnotationRegister : IExtension
[CLSCompliantAttribute(true)]
public interface class IModelAnnotationRegister : IExtension
[<CLSCompliantAttribute(true)>]
type IModelAnnotationRegister =
interface
interface IExtension
end
public interface IModelAnnotationRegister extends IExtension
IModelAnnotationRegister 类型公开以下成员。
方法
名称 | 说明 | |
---|---|---|
RegisterModelAnnotations | 在派生类中实现时,将派生类所需的批注添加到提供的模型架构。 |
页首