ToString Method
Collapse the table of content
Expand the table of content

EntityKeyMember.ToString Method ()

.NET Framework (current version)
 

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:
© 2016 Microsoft