CSharpCodeHelper.AnonymousType Method
[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]
Gets the anonymous type lambda for the specified properties.
Namespace: Microsoft.Data.Entity.Design.CodeGeneration
Assembly: Microsoft.Data.Entity.Design (in Microsoft.Data.Entity.Design.dll)
Syntax
'Declaration
Protected Overrides Function AnonymousType ( _
properties As IEnumerable(Of String) _
) As String
'Usage
Dim properties As IEnumerable(Of String)
Dim returnValue As String
returnValue = Me.AnonymousType(properties)
protected override string AnonymousType(
IEnumerable<string> properties
)
protected:
virtual String^ AnonymousType(
IEnumerable<String^>^ properties
) override
abstract AnonymousType :
properties:IEnumerable<string> -> string
override AnonymousType :
properties:IEnumerable<string> -> string
protected override function AnonymousType(
properties : IEnumerable<String>
) : String
Parameters
- properties
Type: System.Collections.Generic.IEnumerable<String>
The properties.
Return Value
Type: System.String
The lambda.