ICSharpHelper.Lambda Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Lambda(IReadOnlyList<String>, String) |
Generates a property accessor lambda. |
Lambda(IEnumerable<IProperty>, String) |
Generates a property accessor lambda. |
Lambda(IReadOnlyList<String>) |
Generates a property accessor lambda. |
Lambda(IReadOnlyList<String>, String)
- Source:
- ICSharpHelper.cs
- Source:
- ICSharpHelper.cs
- Source:
- ICSharpHelper.cs
- Source:
- ICSharpHelper.cs
- Source:
- ICSharpHelper.cs
Generates a property accessor lambda.
public string Lambda (System.Collections.Generic.IReadOnlyList<string> properties, string lambdaIdentifier = default);
public string Lambda (System.Collections.Generic.IReadOnlyList<string> properties, string? lambdaIdentifier = default);
abstract member Lambda : System.Collections.Generic.IReadOnlyList<string> * string -> string
Public Function Lambda (properties As IReadOnlyList(Of String), Optional lambdaIdentifier As String = Nothing) As String
Parameters
- properties
- IReadOnlyList<String>
The property names.
- lambdaIdentifier
- String
The identifier to use for parameter in the lambda.
Returns
The lambda.
Applies to
Lambda(IEnumerable<IProperty>, String)
- Source:
- ICSharpHelper.cs
- Source:
- ICSharpHelper.cs
- Source:
- ICSharpHelper.cs
- Source:
- ICSharpHelper.cs
- Source:
- ICSharpHelper.cs
Generates a property accessor lambda.
public virtual string Lambda (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IProperty> properties, string lambdaIdentifier = default);
public virtual string Lambda (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IProperty> properties, string? lambdaIdentifier = default);
abstract member Lambda : seq<Microsoft.EntityFrameworkCore.Metadata.IProperty> * string -> string
override this.Lambda : seq<Microsoft.EntityFrameworkCore.Metadata.IProperty> * string -> string
Public Overridable Function Lambda (properties As IEnumerable(Of IProperty), Optional lambdaIdentifier As String = Nothing) As String
Parameters
- properties
- IEnumerable<IProperty>
The properties.
- lambdaIdentifier
- String
The identifier to use for parameter in the lambda.
Returns
The lambda.
Applies to
Lambda(IReadOnlyList<String>)
Generates a property accessor lambda.
public string Lambda (System.Collections.Generic.IReadOnlyList<string> properties);
abstract member Lambda : System.Collections.Generic.IReadOnlyList<string> -> string
Public Function Lambda (properties As IReadOnlyList(Of String)) As String
Parameters
- properties
- IReadOnlyList<String>
The property names.
Returns
The lambda.
Applies to
Entity Framework