PropertyExtensionContext Class
Provides file and project information to Visual Studio extensions that add custom properties to objects visible in the Entity Data Model Designer or the Model Browser.
Namespace: Microsoft.Data.Entity.Design.Extensibility
Assembly: Microsoft.Data.Entity.Design.Extensibility (in Microsoft.Data.Entity.Design.Extensibility.dll)
Syntax
'Declaration
Public MustInherit Class PropertyExtensionContext _
Inherits ExtensionContext
'Usage
Dim instance As PropertyExtensionContext
public abstract class PropertyExtensionContext : ExtensionContext
public ref class PropertyExtensionContext abstract : public ExtensionContext
public abstract class PropertyExtensionContext extends ExtensionContext
Remarks
In a Visual Studio extension, the PropertyExtensionContext class is used when you want to add custom properties to objects that are visible in the Entity Data Model Designer or the Model Browser (such as entity types or associations). An instance of PropertyExtensionContext is passed to the CreateProperty() method, which adds custom properties to selected objects and makes the properties visible in the Visual StudioProperties window.
For more information about extending the functionality of the ADO.NET Entity Data Model Tools, see Extending the Entity Data Model Tools and ADO.NET Entity Data Model Designer Extension Starter Kit.
Inheritance Hierarchy
System.Object
Microsoft.Data.Entity.Design.Extensibility.ExtensionContext
Microsoft.Data.Entity.Design.Extensibility.PropertyExtensionContext
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
PropertyExtensionContext Members
Microsoft.Data.Entity.Design.Extensibility Namespace
Other Resources
Visual Studio Extensibility Developer Center