EntityKeyMember.ToString Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns a string representation of the entity key.

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

public override string ToString()

Return Value

Type: System.String

A string representation of the entity key.

The ToString method returns a string in the format "[keyName, keyValue]".

.NET Framework
Available since 3.5
Return to top
Show: