共用方式為


IModelAnnotationRegister.RegisterModelAnnotations 方法

在衍生類別中實作時,將衍生類別所需的附註加入至提供的模型結構描述。

命名空間:  Microsoft.Data.Schema.SchemaModel
組件:  Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)

語法

'宣告
Sub RegisterModelAnnotations ( _
    storeSchema As ModelSchema _
)
void RegisterModelAnnotations(
    ModelSchema storeSchema
)
void RegisterModelAnnotations(
    ModelSchema^ storeSchema
)
abstract RegisterModelAnnotations : 
        storeSchema:ModelSchema -> unit 
function RegisterModelAnnotations(
    storeSchema : ModelSchema
)

參數

.NET Framework 安全性

請參閱

參考

IModelAnnotationRegister 介面

Microsoft.Data.Schema.SchemaModel 命名空間

ModelSchema