Partager via


EntityKey.OnDeserializing, méthode

[Cette page concerne Entity Framework version 6. La dernière version est disponible sous le nom de package 'Entity Framework' NuGet. Pour plus d'informations sur Entity Framework, consultez msdn.com/data/ef.]

Appelle une fois que cet EntityKey a été désérialisé.

Espace de noms :  System.Data.Entity.Core
Assembly :  EntityFramework (dans EntityFramework.dll)

Syntaxe

'Déclaration
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _
<SuppressMessageAttribute("Microsoft.Usage", "CA2238:ImplementSerializationMethodsCorrectly")> _
<BrowsableAttribute(False)> _
<OnDeserializingAttribute> _
Public Sub OnDeserializing ( _
    context As StreamingContext _
)
'Utilisation
Dim instance As EntityKey 
Dim context As StreamingContext

instance.OnDeserializing(context)
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[SuppressMessageAttribute("Microsoft.Usage", "CA2238:ImplementSerializationMethodsCorrectly")]
[BrowsableAttribute(false)]
[OnDeserializingAttribute]
public void OnDeserializing(
    StreamingContext context
)
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[SuppressMessageAttribute(L"Microsoft.Usage", L"CA2238:ImplementSerializationMethodsCorrectly")]
[BrowsableAttribute(false)]
[OnDeserializingAttribute]
public:
void OnDeserializing(
    StreamingContext context
)
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
[<SuppressMessageAttribute("Microsoft.Usage", "CA2238:ImplementSerializationMethodsCorrectly")>]
[<BrowsableAttribute(false)>]
[<OnDeserializingAttribute>]
member OnDeserializing : 
        context:StreamingContext -> unit
public function OnDeserializing(
    context : StreamingContext
)

Paramètres

Voir aussi

Référence

EntityKey Classe

Espace de noms System.Data.Entity.Core