ModelMetadataTypeAttribute 类

定义

此属性指定要与数据模型类关联的元数据类。

public ref class ModelMetadataTypeAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public class ModelMetadataTypeAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)>]
type ModelMetadataTypeAttribute = class
    inherit Attribute
Public Class ModelMetadataTypeAttribute
Inherits Attribute
继承
ModelMetadataTypeAttribute
派生
属性

构造函数

ModelMetadataTypeAttribute(Type)

初始化 ModelMetadataTypeAttribute 类的新实例。

属性

MetadataType

获取与数据模型类关联的元数据类的类型。

适用于