ModelTransformExtensionContext.Errors Property
A list of errors that can be shown in the Visual StudioError List when .edmx files are loaded or saved by the Entity Data Model Designer.
Namespace: Microsoft.Data.Entity.Design.Extensibility
Assembly: Microsoft.Data.Entity.Design.Extensibility (in Microsoft.Data.Entity.Design.Extensibility.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property Errors As List(Of ExtensionError)
Get
'Usage
Dim instance As ModelTransformExtensionContext
Dim value As List(Of ExtensionError)
value = instance.Errors
public abstract List<ExtensionError> Errors { get; }
public:
virtual property List<ExtensionError^>^ Errors {
List<ExtensionError^>^ get () abstract;
}
abstract function get Errors () : List<ExtensionError>
Property Value
Type: System.Collections.Generic.List<ExtensionError>
A list of errors that can be shown in the Visual StudioError List when .edmx files are loaded or saved by the Entity Data Model Designer.
Remarks
In a Visual Studio extension, errors defined in the Errors property can be shown in the Visual StudioError List when files are loaded or saved by the Entity Data Model Designer (Entity Designer). For information about customizing the file loading and saving functionality of the Entity Designer, see IEntityDesignerSerializer.
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.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ModelTransformExtensionContext Class
ModelTransformExtensionContext Members
Microsoft.Data.Entity.Design.Extensibility Namespace