EdmFunctions.Left(DbExpression, DbExpression) Yöntem

Tanım

DbFunctionExpression Bir dize ve tamsayı sayısal sonuç türüne sahip olması gereken belirtilen bağımsız değişkenlerle kurallı 'Sol' işlevini çağıran bir oluşturur. İfadenin sonuç türü dizedir.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ Left(System::Data::Common::CommandTrees::DbExpression ^ stringArgument, System::Data::Common::CommandTrees::DbExpression ^ length);
public static System.Data.Common.CommandTrees.DbFunctionExpression Left (this System.Data.Common.CommandTrees.DbExpression stringArgument, System.Data.Common.CommandTrees.DbExpression length);
static member Left : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Left (stringArgument As DbExpression, length As DbExpression) As DbFunctionExpression

Parametreler

stringArgument
DbExpression

En soldaki alt dizenin ayıklandığı dizeyi belirten ifade.

length
DbExpression

içinden stringArgumentayıklanması gereken en soldaki alt dizenin uzunluğunu belirten ifade.

Döndürülenler

'den stringArgumenten soldaki uzunluk length alt dizesini döndüren yeni bir DbFunctionExpression.

Özel durumlar

stringArgument veya length şeklindedir null.

stringArgument geçersizdir.

Şunlara uygulanır