EdmFunctions.Substring(DbExpression, DbExpression, DbExpression) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Crea un oggetto DbFunctionExpression che richiama la funzione "Substring" canonica con gli argomenti specificati, che devono presentare tipi di risultato String e Integer numerico. Il tipo di risultato dell'espressione è stringa.
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
Parametri
- stringArgument
- DbExpression
Espressione che specifica la stringa da cui estrarre la sottostringa.
- start
- DbExpression
Espressione che specifica l'indice iniziale da utilizzare per il recupero della sottostringa.
- length
- DbExpression
Espressione che specifica la lunghezza della sottostringa.
Restituisce
Nuovo DbFunctionExpression che restituisce la sottostringa di lunghezza da stringArgument a partire dall'inizio.