TypeGeneratedEventHandler Delegate

TypeGeneratedEventHandler Delegate


Represents the method that will handle the OnTypeGenerated event.

Namespace:   System.Data.Entity.Design
Assembly:  System.Data.Entity.Design (in System.Data.Entity.Design.dll)

public delegate void TypeGeneratedEventHandler(
	object sender,
	TypeGeneratedEventArgs e


Type: System.Object

The source of the event.

Type: System.Data.Entity.Design.TypeGeneratedEventArgs

The data for the event.

When you create a TypeGeneratedEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event-handler delegates, see NIB: Events and Delegates.

.NET Framework
Available since 3.5
Return to top
© 2015 Microsoft