在衍生類別中實作時,將衍生類別所需的附註加入至提供的模型結構描述。
命名空間: 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
)
參數
- storeSchema
型別:Microsoft.Data.Schema.SchemaModel.ModelSchema
要加入附註的 ModelSchema。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。