提供介面,當這個介面加入至類別的繼承時,需要方法來註冊模型附註。
命名空間: 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 | 在衍生類別中實作時,將衍生類別所需的附註加入至提供的模型結構描述。 |
回頁首
.gif)