Udostępnij przez


EdmFunctions.Substring(DbExpression, DbExpression, DbExpression) Metoda

Definicja

Tworzy obiekt DbFunctionExpression , który wywołuje funkcję kanoniczną "Substring" z określonymi argumentami, które muszą mieć ciąg i typy wyników liczbowych liczbowych. Typ wyniku wyrażenia to ciąg.

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression Substring(this System.Data.Entity.Core.Common.CommandTrees.DbExpression stringArgument, System.Data.Entity.Core.Common.CommandTrees.DbExpression start, System.Data.Entity.Core.Common.CommandTrees.DbExpression length);
static member Substring : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Substring (stringArgument As DbExpression, start As DbExpression, length As DbExpression) As DbFunctionExpression

Parametry

stringArgument
DbExpression

Wyrażenie określające ciąg, z którego ma być wyodrębnione podciąg.

start
DbExpression

Wyrażenie określające indeks początkowy, z którego ma zostać wykonane podciąg.

length
DbExpression

Wyrażenie określające długość podciągów.

Zwraca

Nowa funkcja DbFunctionExpression, która zwraca podciąg długości od ciąguArgument rozpoczynający się od początku.

Dotyczy