DbExpression.Implicit 運算子

定義

將物件轉換成 DbExpression

多載

Implicit(Nullable<Single> to DbExpression)

將可為 null 的 單精確度浮點數轉換成 DbExpression

Implicit(Nullable<Int64> to DbExpression)

將可為 Null 的 64 位元不帶正負號整數轉換為 DbExpression

Implicit(Nullable<Int32> to DbExpression)

將可為 Null 的 32 位元不帶正負號整數轉換為 DbExpression

Implicit(Nullable<Int16> to DbExpression)

將可為 Null 的 16 位元不帶正負號整數轉換為 DbExpression

Implicit(Nullable<Guid> to DbExpression)

將可為 null 的 Guid 物件轉換成 DbExpression

Implicit(Nullable<Double> to DbExpression)

將可為 null 的 Double 物件轉換成 DbExpression

Implicit(Nullable<Decimal> to DbExpression)

將可為 null 的 Decimal 物件轉換成 DbExpression

Implicit(Nullable<DateTimeOffset> to DbExpression)

將可為 null 的 DateTimeOffset 物件轉換成 DbExpression

Implicit(Nullable<DateTime> to DbExpression)

將可為 null 的 DateTime 物件轉換成 DbExpression

Implicit(Nullable<Byte> to DbExpression)

將可為 null 的 8 位元不帶正負號整數轉換為 DbExpression

Implicit(Nullable<Boolean> to DbExpression)

將可為 Null 的布林值物件轉換為 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)

將可為 null 的 單精確度浮點數轉換成 DbExpression

C#
public static implicit operator System.Data.Common.CommandTrees.DbExpression (float? value);

參數

value
Nullable<Single>

單精確度浮點數。

傳回

DbExpression,表示單精確度浮點數。

適用於

.NET Framework 4.8.1 和其他版本
產品 版本
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Implicit(Nullable<Int64> to DbExpression)

將可為 Null 的 64 位元不帶正負號整數轉換為 DbExpression

C#
public static implicit operator System.Data.Common.CommandTrees.DbExpression (long? value);

參數

value
Nullable<Int64>

可為 Null 的 64 位元不帶正負號整數。

傳回

DbExpression,表示可為 Null 的 64 位元不帶正負號整數。

適用於

.NET Framework 4.8.1 和其他版本
產品 版本
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Implicit(Nullable<Int32> to DbExpression)

將可為 Null 的 32 位元不帶正負號整數轉換為 DbExpression

C#
public static implicit operator System.Data.Common.CommandTrees.DbExpression (int? value);

參數

value
Nullable<Int32>

可為 Null 的 32 位元不帶正負號整數。

傳回

DbExpression,表示可為 Null 的 32 位元不帶正負號整數。

適用於

.NET Framework 4.8.1 和其他版本
產品 版本
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Implicit(Nullable<Int16> to DbExpression)

將可為 Null 的 16 位元不帶正負號整數轉換為 DbExpression

C#
public static implicit operator System.Data.Common.CommandTrees.DbExpression (short? value);

參數

value
Nullable<Int16>

可為 Null 的 16 位元不帶正負號整數。

傳回

DbExpression,表示可為 null 的 16 位元不帶正負號整數。

適用於

.NET Framework 4.8.1 和其他版本
產品 版本
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Implicit(Nullable<Guid> to DbExpression)

將可為 null 的 Guid 物件轉換成 DbExpression

C#
public static implicit operator System.Data.Common.CommandTrees.DbExpression (Guid? value);

參數

value
Nullable<Guid>

可為 Null 的 Guid 物件。

傳回

DbExpression,表示可為 null 的 Guid 物件。

適用於

.NET Framework 4.8.1 和其他版本
產品 版本
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Implicit(Nullable<Double> to DbExpression)

將可為 null 的 Double 物件轉換成 DbExpression

C#
public static implicit operator System.Data.Common.CommandTrees.DbExpression (double? value);

參數

value
Nullable<Double>

可為 Null 的 Double 物件。

傳回

DbExpression,表示可為 null 的 Double 物件。

適用於

.NET Framework 4.8.1 和其他版本
產品 版本
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Implicit(Nullable<Decimal> to DbExpression)

將可為 null 的 Decimal 物件轉換成 DbExpression

C#
public static implicit operator System.Data.Common.CommandTrees.DbExpression (decimal? value);

參數

value
Nullable<Decimal>

可為 Null 的 Decimal 物件。

傳回

DbExpression,表示可為 null 的 Decimal 物件。

適用於

.NET Framework 4.8.1 和其他版本
產品 版本
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Implicit(Nullable<DateTimeOffset> to DbExpression)

將可為 null 的 DateTimeOffset 物件轉換成 DbExpression

C#
public static implicit operator System.Data.Common.CommandTrees.DbExpression (DateTimeOffset? value);

參數

value
Nullable<DateTimeOffset>

可為 Null 的 DateTime 物件。

傳回

DbExpression,表示可為 null 的 DateTime 物件。

適用於

.NET Framework 4.8.1 和其他版本
產品 版本
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Implicit(Nullable<DateTime> to DbExpression)

將可為 null 的 DateTime 物件轉換成 DbExpression

C#
public static implicit operator System.Data.Common.CommandTrees.DbExpression (DateTime? value);

參數

value
Nullable<DateTime>

可為 Null 的 DateTime 物件。

傳回

表示 DbExpression 物件的 DateTime

適用於

.NET Framework 4.8.1 和其他版本
產品 版本
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Implicit(Nullable<Byte> to DbExpression)

將可為 null 的 8 位元不帶正負號整數轉換為 DbExpression

C#
public static implicit operator System.Data.Common.CommandTrees.DbExpression (byte? value);

參數

value
Nullable<Byte>

可為 Null 的 8 位元不帶正負號整數。

傳回

DbExpression,表示已轉換的 8 位元不帶正負號的整數。

適用於

.NET Framework 4.8.1 和其他版本
產品 版本
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Implicit(Nullable<Boolean> to DbExpression)

將可為 Null 的布林值物件轉換為 DbExpression

C#
public static implicit operator System.Data.Common.CommandTrees.DbExpression (bool? value);

參數

value
Nullable<Boolean>

可為 Null 的布林值物件。

傳回

表示已轉換之可為 Null 布林物件的 DbExpression

適用於

.NET Framework 4.8.1 和其他版本
產品 版本
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Implicit(DbGeometry to DbExpression)

將 DbGeometry 物件轉換成 DbExpression

C#
public static implicit operator System.Data.Common.CommandTrees.DbExpression (System.Data.Spatial.DbGeometry value);

參數

value
DbGeometry

DbGeometry 物件。

傳回

表示已轉換之 DbGeography 物件的 DbExpression

適用於

.NET Framework 4.8.1 和其他版本
產品 版本
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Implicit(DbGeography to DbExpression)

將 DbGeography 物件轉換成 DbExpression

C#
public static implicit operator System.Data.Common.CommandTrees.DbExpression (System.Data.Spatial.DbGeography value);

參數

value
DbGeography

DbGeography 物件。

傳回

表示已轉換之 DbGeography 物件的 DbExpression

適用於

.NET Framework 4.8.1 和其他版本
產品 版本
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Implicit(Byte[] to DbExpression)

將 8 位無符號整數的陣列轉換為 DbExpression

C#
public static implicit operator System.Data.Common.CommandTrees.DbExpression (byte[] value);

參數

value
Byte[]

8 位元不帶正負號的整數的陣列。

傳回

DbExpression,表示已轉換的 8 位元不帶正負號整數陣列。

適用於

.NET Framework 4.8.1 和其他版本
產品 版本
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Implicit(String to DbExpression)

將 Unicode 字元的循序集合轉換為 DbExpression

C#
public static implicit operator System.Data.Common.CommandTrees.DbExpression (string value);

參數

value
String

Unicode 字元的循序集合。

傳回

表示 Unicode 字元循序集合的 DbExpression

適用於

.NET Framework 4.8.1 和其他版本
產品 版本
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1