EntityDataSource.ContextType 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置控件使用ObjectContext的类型EntityDataSource。
public:
property Type ^ ContextType { Type ^ get(); void set(Type ^ value); };
public Type ContextType { get; set; }
member this.ContextType : Type with get, set
Public Property ContextType As Type
属性值
派生自 ObjectContext. 的对象。
实现
注解
ObjectContext可以从属性访问EntityDataSource控件使用的ContextType控件。 有关详细信息,请参阅对象上下文 Life-Cycle 管理(EntityDataSource)。