ObjectMaterializedEventHandler-Delegat
[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]
Delegat für das ObjectMaterialized-Ereignis.
Namespace: System.Data.Entity.Core.Objects
Assembly: EntityFramework (in EntityFramework.dll)
Syntax
'Declaration
<SuppressMessageAttribute("Microsoft.Design", "CA1003:UseGenericEventHandlerInstances")> _
Public Delegate Sub ObjectMaterializedEventHandler ( _
sender As Object, _
e As ObjectMaterializedEventArgs _
)
'Usage
Dim instance As New ObjectMaterializedEventHandler(AddressOf HandlerMethod)
[SuppressMessageAttribute("Microsoft.Design", "CA1003:UseGenericEventHandlerInstances")]
public delegate void ObjectMaterializedEventHandler(
Object sender,
ObjectMaterializedEventArgs e
)
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1003:UseGenericEventHandlerInstances")]
public delegate void ObjectMaterializedEventHandler(
Object^ sender,
ObjectMaterializedEventArgs^ e
)
[<SuppressMessageAttribute("Microsoft.Design", "CA1003:UseGenericEventHandlerInstances")>]
type ObjectMaterializedEventHandler =
delegate of
sender:Object *
e:ObjectMaterializedEventArgs -> unit
JScript supports the use of delegates, but not the declaration of new ones.
Parameter
- sender
Typ: System.Object