DbExpressionBuilder.As Method (DbExpression, 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 specified arguments as a key/value pair object.

Namespace:   System.Data.Common.CommandTrees.ExpressionBuilder
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public static KeyValuePair<string, DbExpression> As(
	this DbExpression value,
	string alias
)

Parameters

value
Type: System.Data.Common.CommandTrees.DbExpression

The value in the key/value pair.

alias
Type: System.String

The key in the key/value pair.

Return Value

Type: System.Collections.Generic.KeyValuePair<String, DbExpression>

A key/value pair object.

.NET Framework
Available since 4.5
Return to top
Show: