Share via


EntityClassGenerator.OnTypeGenerated Event

Occurs when a type is generated.

Namespace:  System.Data.Services.Design
Assembly:  Microsoft.Data.Services.Design (in Microsoft.Data.Services.Design.dll)

Syntax

'Declaration
Public Event OnTypeGenerated As EventHandler(Of TypeGeneratedEventArgs)
'Usage
Dim instance As EntityClassGenerator 
Dim handler As EventHandler(Of TypeGeneratedEventArgs)

AddHandler instance.OnTypeGenerated, handler
public event EventHandler<TypeGeneratedEventArgs> OnTypeGenerated
public:
 event EventHandler<TypeGeneratedEventArgs^>^ OnTypeGenerated {
    void add (EventHandler<TypeGeneratedEventArgs^>^ value);
    void remove (EventHandler<TypeGeneratedEventArgs^>^ value);
}
member OnTypeGenerated : IEvent<EventHandler<TypeGeneratedEventArgs>,
    TypeGeneratedEventArgs>
JScript supports the use of events, but not the declaration of new ones.

See Also

Reference

EntityClassGenerator Class

System.Data.Services.Design Namespace