DbExpression.Implicit 運算子

定義

將物件 DbExpression轉換為 。

多載

名稱 Description
Implicit(Nullable<Single> to DbExpression)

將可空的單精度浮點數 DbExpression轉換為 。

Implicit(Nullable<Int64> to DbExpression)

將可空的 64 位元無符號整數 DbExpression轉換為 。

Implicit(Nullable<Int32> to DbExpression)

將可空的 32 位元無符號整數 DbExpression轉換為 。

Implicit(Nullable<Int16> to DbExpression)

將可空的 16 位元無符號整數 DbExpression轉換為 。

Implicit(Nullable<Guid> to DbExpression)

將可GuidDbExpression空物件轉換為 。

Implicit(Nullable<Double> to DbExpression)

將可DoubleDbExpression空物件轉換為 。

Implicit(Nullable<Decimal> to DbExpression)

將可DecimalDbExpression空物件轉換為 。

Implicit(Nullable<DateTimeOffset> to DbExpression)

將可DateTimeOffsetDbExpression空物件轉換為 。

Implicit(Nullable<DateTime> to DbExpression)

將可DateTimeDbExpression空物件轉換為 。

Implicit(Nullable<Byte> to DbExpression)

將可空的 8 位元無符號整數 DbExpression轉換為 。

Implicit(Nullable<Boolean> to DbExpression)

將可空的布林物件 DbExpression轉換為 。

Implicit(DbGeometry to DbExpression)

將 DbGeometry 物件 DbExpression轉換為 。

Implicit(DbGeography to DbExpression)

將 DbGeography 物件 DbExpression轉換為 。

Implicit(Byte[] to DbExpression)

將一個 8 位元無符號整數陣列轉換為 DbExpression

Implicit(String to DbExpression)

將一組連續的 Unicode 字元轉換成 DbExpression

Implicit(Nullable<Single> to DbExpression)

將可空的單精度浮點數 DbExpression轉換為 。

public:
 static operator System::Data::Common::CommandTrees::DbExpression ^(Nullable<float> value);
public static implicit operator System.Data.Common.CommandTrees.DbExpression(float? value);
static member op_Implicit : Nullable<single> -> System.Data.Common.CommandTrees.DbExpression
Public Shared Widening Operator CType (value As Nullable(Of Single)) As DbExpression

參數

value
Nullable<Single>

單精度浮點數。

傳回

A DbExpression 代表一個單精度浮點數。

適用於

Implicit(Nullable<Int64> to DbExpression)

將可空的 64 位元無符號整數 DbExpression轉換為 。

public:
 static operator System::Data::Common::CommandTrees::DbExpression ^(Nullable<long> value);
public static implicit operator System.Data.Common.CommandTrees.DbExpression(long? value);
static member op_Implicit : Nullable<int64> -> System.Data.Common.CommandTrees.DbExpression
Public Shared Widening Operator CType (value As Nullable(Of Long)) As DbExpression

參數

value
Nullable<Int64>

一個可空的 64 位元無符號整數。

傳回

A DbExpression 代表可空的 64 位元無符號整數。

適用於

Implicit(Nullable<Int32> to DbExpression)

將可空的 32 位元無符號整數 DbExpression轉換為 。

public:
 static operator System::Data::Common::CommandTrees::DbExpression ^(Nullable<int> value);
public static implicit operator System.Data.Common.CommandTrees.DbExpression(int? value);
static member op_Implicit : Nullable<int> -> System.Data.Common.CommandTrees.DbExpression
Public Shared Widening Operator CType (value As Nullable(Of Integer)) As DbExpression

參數

value
Nullable<Int32>

一個可空的 32 位元無符號整數。

傳回

A DbExpression 代表可空的 32 位元無符號整數。

適用於

Implicit(Nullable<Int16> to DbExpression)

將可空的 16 位元無符號整數 DbExpression轉換為 。

public:
 static operator System::Data::Common::CommandTrees::DbExpression ^(Nullable<short> value);
public static implicit operator System.Data.Common.CommandTrees.DbExpression(short? value);
static member op_Implicit : Nullable<int16> -> System.Data.Common.CommandTrees.DbExpression
Public Shared Widening Operator CType (value As Nullable(Of Short)) As DbExpression

參數

value
Nullable<Int16>

一個可空的 16 位元無符號整數。

傳回

A DbExpression 代表可空的 16 位元無符號整數。

適用於

Implicit(Nullable<Guid> to DbExpression)

將可GuidDbExpression空物件轉換為 。

public:
 static operator System::Data::Common::CommandTrees::DbExpression ^(Nullable<Guid> value);
public static implicit operator System.Data.Common.CommandTrees.DbExpression(Guid? value);
static member op_Implicit : Nullable<Guid> -> System.Data.Common.CommandTrees.DbExpression
Public Shared Widening Operator CType (value As Nullable(Of Guid)) As DbExpression

參數

value
Nullable<Guid>

一個可 Guid 空的物件。

傳回

A DbExpression ,代表可 Guid 空化的物件。

適用於

Implicit(Nullable<Double> to DbExpression)

將可DoubleDbExpression空物件轉換為 。

public:
 static operator System::Data::Common::CommandTrees::DbExpression ^(Nullable<double> value);
public static implicit operator System.Data.Common.CommandTrees.DbExpression(double? value);
static member op_Implicit : Nullable<double> -> System.Data.Common.CommandTrees.DbExpression
Public Shared Widening Operator CType (value As Nullable(Of Double)) As DbExpression

參數

value
Nullable<Double>

Double 空除的物件。

傳回

A DbExpression ,代表可 Double 空化的物件。

適用於

Implicit(Nullable<Decimal> to DbExpression)

將可DecimalDbExpression空物件轉換為 。

public:
 static operator System::Data::Common::CommandTrees::DbExpression ^(Nullable<System::Decimal> value);
public static implicit operator System.Data.Common.CommandTrees.DbExpression(decimal? value);
static member op_Implicit : Nullable<decimal> -> System.Data.Common.CommandTrees.DbExpression
Public Shared Widening Operator CType (value As Nullable(Of Decimal)) As DbExpression

參數

value
Nullable<Decimal>

Decimal 空除的物件。

傳回

A DbExpression ,代表可 Decimal 空化的物件。

適用於

Implicit(Nullable<DateTimeOffset> to DbExpression)

將可DateTimeOffsetDbExpression空物件轉換為 。

public:
 static operator System::Data::Common::CommandTrees::DbExpression ^(Nullable<DateTimeOffset> value);
public static implicit operator System.Data.Common.CommandTrees.DbExpression(DateTimeOffset? value);
static member op_Implicit : Nullable<DateTimeOffset> -> System.Data.Common.CommandTrees.DbExpression
Public Shared Widening Operator CType (value As Nullable(Of DateTimeOffset)) As DbExpression

參數

value
Nullable<DateTimeOffset>

DateTime 空除的物件。

傳回

A DbExpression ,代表可 DateTime 空化的物件。

適用於

Implicit(Nullable<DateTime> to DbExpression)

將可DateTimeDbExpression空物件轉換為 。

public:
 static operator System::Data::Common::CommandTrees::DbExpression ^(Nullable<DateTime> value);
public static implicit operator System.Data.Common.CommandTrees.DbExpression(DateTime? value);
static member op_Implicit : Nullable<DateTime> -> System.Data.Common.CommandTrees.DbExpression
Public Shared Widening Operator CType (value As Nullable(Of DateTime)) As DbExpression

參數

value
Nullable<DateTime>

DateTime 空除的物件。

傳回

代表該物件的DateTimeADbExpression

適用於

Implicit(Nullable<Byte> to DbExpression)

將可空的 8 位元無符號整數 DbExpression轉換為 。

public:
 static operator System::Data::Common::CommandTrees::DbExpression ^(Nullable<System::Byte> value);
public static implicit operator System.Data.Common.CommandTrees.DbExpression(byte? value);
static member op_Implicit : Nullable<byte> -> System.Data.Common.CommandTrees.DbExpression
Public Shared Widening Operator CType (value As Nullable(Of Byte)) As DbExpression

參數

value
Nullable<Byte>

一個可空的 8 位元無符號整數。

傳回

A DbExpression 代表轉換後的 8 位元無符號整數。

適用於

Implicit(Nullable<Boolean> to DbExpression)

將可空的布林物件 DbExpression轉換為 。

public:
 static operator System::Data::Common::CommandTrees::DbExpression ^(Nullable<bool> value);
public static implicit operator System.Data.Common.CommandTrees.DbExpression(bool? value);
static member op_Implicit : Nullable<bool> -> System.Data.Common.CommandTrees.DbExpression
Public Shared Widening Operator CType (value As Nullable(Of Boolean)) As DbExpression

參數

value
Nullable<Boolean>

可空的布林物件。

傳回

DbExpression A代表已轉換的可空布林物件。

適用於

Implicit(DbGeometry to DbExpression)

將 DbGeometry 物件 DbExpression轉換為 。

public:
 static operator System::Data::Common::CommandTrees::DbExpression ^(System::Data::Spatial::DbGeometry ^ value);
public static implicit operator System.Data.Common.CommandTrees.DbExpression(System.Data.Spatial.DbGeometry value);
static member op_Implicit : System.Data.Spatial.DbGeometry -> System.Data.Common.CommandTrees.DbExpression
Public Shared Widening Operator CType (value As DbGeometry) As DbExpression

參數

value
DbGeometry

DbGeometry 物件。

傳回

DbExpression A 代表轉換後的 DbGeography 物件。

適用於

Implicit(DbGeography to DbExpression)

將 DbGeography 物件 DbExpression轉換為 。

public:
 static operator System::Data::Common::CommandTrees::DbExpression ^(System::Data::Spatial::DbGeography ^ value);
public static implicit operator System.Data.Common.CommandTrees.DbExpression(System.Data.Spatial.DbGeography value);
static member op_Implicit : System.Data.Spatial.DbGeography -> System.Data.Common.CommandTrees.DbExpression
Public Shared Widening Operator CType (value As DbGeography) As DbExpression

參數

value
DbGeography

DbGeography 物件。

傳回

DbExpression A 代表轉換後的 DbGeography 物件。

適用於

Implicit(Byte[] to DbExpression)

將一個 8 位元無符號整數陣列轉換為 DbExpression

public:
 static operator System::Data::Common::CommandTrees::DbExpression ^(cli::array <System::Byte> ^ value);
public static implicit operator System.Data.Common.CommandTrees.DbExpression(byte[] value);
static member op_Implicit : byte[] -> System.Data.Common.CommandTrees.DbExpression
Public Shared Widening Operator CType (value As Byte()) As DbExpression

參數

value
Byte[]

一個由 8 位元無符號整數組成的陣列。

傳回

A DbExpression 代表轉換後的 8 位元無符號整數陣列。

適用於

Implicit(String to DbExpression)

將一組連續的 Unicode 字元轉換成 DbExpression

public:
 static operator System::Data::Common::CommandTrees::DbExpression ^(System::String ^ value);
public static implicit operator System.Data.Common.CommandTrees.DbExpression(string value);
static member op_Implicit : string -> System.Data.Common.CommandTrees.DbExpression
Public Shared Widening Operator CType (value As String) As DbExpression

參數

value
String

一個連續的 Unicode 字元集合。

傳回

A DbExpression 代表一組連續的 Unicode 字元集合。

適用於