MetaForeignKeyColumn.GetFilterExpression Method (String)

.NET Framework (current version)
 
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 the alternate name that is mapped to a foreign key.

Namespace:   System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

public string GetFilterExpression(
	string foreignKeyName
)

Parameters

foreignKeyName
Type: System.String

The name of the foreign key.

Return Value

Type: System.String

The alternate name that is mapped to the foreign key.

This method returns the alternate name that is used in a filtering expression instead of the actual foreign-key name. If an alternate name does not exist, the method returns the actual name of the foreign key.

.NET Framework
Available since 4.0
Return to top
Show: