Język

DbExpressionBuilder.Invoke Metoda

Definicja

Tworzy nową DbLambdaExpression reprezentację zastosowania określonej funkcji lambda do podanych argumentów.

Przeciążenia

Nazwa Opis
Invoke(EdmFunction, DbExpression[])

Tworzy nową DbFunctionExpression reprezentację wywołania określonej funkcji z podanymi argumentami.

Invoke(EdmFunction, IEnumerable<DbExpression>)

Tworzy nową DbFunctionExpression reprezentację wywołania określonej funkcji z podanymi argumentami.

Invoke(DbLambda, IEnumerable<DbExpression>)

Tworzy nową DbLambdaExpression reprezentację zastosowania określonej funkcji lambda do podanych argumentów.

Invoke(DbLambda, DbExpression[])

Tworzy nową DbLambdaExpression reprezentację zastosowania określonej funkcji lambda do podanych argumentów.

Invoke(EdmFunction, DbExpression[])

Tworzy nową DbFunctionExpression reprezentację wywołania określonej funkcji z podanymi argumentami.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ Invoke(System::Data::Metadata::Edm::EdmFunction ^ function, ... cli::array <System::Data::Common::CommandTrees::DbExpression ^> ^ arguments);
public static System.Data.Common.CommandTrees.DbFunctionExpression Invoke(this System.Data.Metadata.Edm.EdmFunction function, params System.Data.Common.CommandTrees.DbExpression[] arguments);
static member Invoke : System.Data.Metadata.Edm.EdmFunction * System.Data.Common.CommandTrees.DbExpression[] -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Invoke (function As EdmFunction, ParamArray arguments As DbExpression()) As DbFunctionExpression

Parametry

function
EdmFunction

Metadane funkcji do wywołania.

arguments
DbExpression[]

Wyrażenia, które dostarczają argumenty funkcji.

Zwraca

Nowa funkcja DbFunctionExpression reprezentująca wywołanie funkcji.

Wyjątki

function ma wartość null lub arguments ma wartość null lub zawiera wartość null.

Liczba parametrów arguments nie jest równa liczbie parametrów zadeklarowanych przez function, lub arguments zawiera wyrażenie, które ma typ wyniku, który nie jest równy lub promotable do odpowiedniego typu parametru funkcji.

Dotyczy

Invoke(EdmFunction, IEnumerable<DbExpression>)

Tworzy nową DbFunctionExpression reprezentację wywołania określonej funkcji z podanymi argumentami.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ Invoke(System::Data::Metadata::Edm::EdmFunction ^ function, System::Collections::Generic::IEnumerable<System::Data::Common::CommandTrees::DbExpression ^> ^ arguments);
public static System.Data.Common.CommandTrees.DbFunctionExpression Invoke(this System.Data.Metadata.Edm.EdmFunction function, System.Collections.Generic.IEnumerable<System.Data.Common.CommandTrees.DbExpression> arguments);
static member Invoke : System.Data.Metadata.Edm.EdmFunction * seq<System.Data.Common.CommandTrees.DbExpression> -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Invoke (function As EdmFunction, arguments As IEnumerable(Of DbExpression)) As DbFunctionExpression

Parametry

function
EdmFunction

Metadane funkcji do wywołania.

arguments
IEnumerable<DbExpression>

Lista wyrażeń, które dostarczają argumenty funkcji.

Zwraca

Nowa funkcja DbFunctionExpression reprezentująca wywołanie funkcji.

Wyjątki

function ma wartość null lub arguments ma wartość null lub zawiera wartość null.

Liczba parametrów arguments nie jest równa liczbie parametrów zadeklarowanych przez function, lub arguments zawiera wyrażenie, które ma typ wyniku, który nie jest równy lub promotable do odpowiedniego typu parametru funkcji.

Dotyczy

Invoke(DbLambda, IEnumerable<DbExpression>)

Tworzy nową DbLambdaExpression reprezentację zastosowania określonej funkcji lambda do podanych argumentów.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbLambdaExpression ^ Invoke(System::Data::Common::CommandTrees::DbLambda ^ lambda, System::Collections::Generic::IEnumerable<System::Data::Common::CommandTrees::DbExpression ^> ^ arguments);
public static System.Data.Common.CommandTrees.DbLambdaExpression Invoke(this System.Data.Common.CommandTrees.DbLambda lambda, System.Collections.Generic.IEnumerable<System.Data.Common.CommandTrees.DbExpression> arguments);
static member Invoke : System.Data.Common.CommandTrees.DbLambda * seq<System.Data.Common.CommandTrees.DbExpression> -> System.Data.Common.CommandTrees.DbLambdaExpression
<Extension()>
Public Function Invoke (lambda As DbLambda, arguments As IEnumerable(Of DbExpression)) As DbLambdaExpression

Parametry

lambda
DbLambda

Wystąpienie DbLambda reprezentujące funkcję Lambda do zastosowania.

arguments
IEnumerable<DbExpression>

Lista wyrażeń, które zawierają argumenty.

Zwraca

Nowa funkcja DbLambdaExpression reprezentująca aplikację funkcji lambda.

Wyjątki

lambda lub arguments ma wartość null.

arguments Liczba nie jest równa liczbie zmiennych zadeklarowanych przez lambdaelement lub arguments zawiera wyrażenie, które ma typ wyniku, który nie jest równy lub jest promotable dla odpowiedniego typu zmiennej.

Dotyczy

Invoke(DbLambda, DbExpression[])

Tworzy nową DbLambdaExpression reprezentację zastosowania określonej funkcji lambda do podanych argumentów.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbLambdaExpression ^ Invoke(System::Data::Common::CommandTrees::DbLambda ^ lambda, ... cli::array <System::Data::Common::CommandTrees::DbExpression ^> ^ arguments);
public static System.Data.Common.CommandTrees.DbLambdaExpression Invoke(this System.Data.Common.CommandTrees.DbLambda lambda, params System.Data.Common.CommandTrees.DbExpression[] arguments);
static member Invoke : System.Data.Common.CommandTrees.DbLambda * System.Data.Common.CommandTrees.DbExpression[] -> System.Data.Common.CommandTrees.DbLambdaExpression
<Extension()>
Public Function Invoke (lambda As DbLambda, ParamArray arguments As DbExpression()) As DbLambdaExpression

Parametry

lambda
DbLambda

Wystąpienie DbLambda reprezentujące funkcję Lambda do zastosowania.

arguments
DbExpression[]

Wyrażenia, które dostarczają argumenty.

Zwraca

Nowa funkcja DbLambdaExpression reprezentująca aplikację funkcji lambda.

Wyjątki

lambda lub arguments ma wartość null.

arguments Liczba nie jest równa liczbie zmiennych zadeklarowanych przez lambdaelement lub arguments zawiera wyrażenie, które ma typ wyniku, który nie jest równy lub jest promotable dla odpowiedniego typu zmiennej.

Dotyczy