次の方法で共有


EntityKey.OnDeserialized メソッド

[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]

この EntityKey が逆シリアル化された後で呼び出します。

名前空間:  System.Data.Entity.Core
アセンブリ:  EntityFramework (EntityFramework.dll 内)

構文

'宣言
<SuppressMessageAttribute("Microsoft.Usage", "CA2238:ImplementSerializationMethodsCorrectly")> _
<BrowsableAttribute(False)> _
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _
<OnDeserializedAttribute> _
Public Sub OnDeserialized ( _
    context As StreamingContext _
)
'使用
Dim instance As EntityKey 
Dim context As StreamingContext

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

パラメーター

参照

参照

EntityKey クラス

System.Data.Entity.Core 名前空間