ICSharpHelper.Lambda 方法

定义

重载

Lambda(IEnumerable<IProperty>, String)

生成属性访问器 lambda。

Lambda(IReadOnlyList<String>, String)

生成属性访问器 lambda。

Lambda(IReadOnlyList<String>)

生成属性访问器 lambda。

Lambda(IEnumerable<IProperty>, String)

生成属性访问器 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

参数

properties
IEnumerable<IProperty>

属性。

lambdaIdentifier
String

要用于 lambda 中的参数的标识符。

返回

lambda。

适用于

Lambda(IReadOnlyList<String>, String)

生成属性访问器 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

参数

properties
IReadOnlyList<String>

属性名称。

lambdaIdentifier
String

要用于 lambda 中的参数的标识符。

返回

lambda。

适用于

Lambda(IReadOnlyList<String>)

生成属性访问器 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

参数

properties
IReadOnlyList<String>

属性名称。

返回

lambda。

适用于