你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PersistableModelProxyAttribute Class

Definition

Attribute that indicates a proxy Type to use for reading a model. The proxy Type must implement IPersistableModel<T> and have a public or non-public parameterless constructor.

[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class PersistableModelProxyAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type PersistableModelProxyAttribute = class
    inherit Attribute
Public NotInheritable Class PersistableModelProxyAttribute
Inherits Attribute
Inheritance
PersistableModelProxyAttribute
Attributes

Constructors

PersistableModelProxyAttribute(Type)

Instantiates a new instance of the PersistableModelProxyAttribute class.

Properties

ProxyType

Gets the Type to create and call read on. The Type must have a public or non-public parameterless constructor. The Type must implement IPersistableModel<T> where T is the type of the abstract class.

Applies to