ISqlExpressionFactory.Constant Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| Name | Beschreibung |
|---|---|
| Constant(Object, RelationalTypeMapping) |
Erstellt eine neue SqlExpression , die eine Konstante in einer SQL-Struktur darstellt. |
| Constant(Object, Boolean, RelationalTypeMapping) |
Erstellt eine neue SqlExpression , die eine Konstante in einer SQL-Struktur darstellt. |
| Constant(Object, Type, RelationalTypeMapping) |
Erstellt eine neue SqlExpression , die eine Konstante in einer SQL-Struktur darstellt. |
| Constant(Object, Type, Boolean, RelationalTypeMapping) |
Erstellt eine neue SqlExpression , die eine Konstante in einer SQL-Struktur darstellt. |
Constant(Object, RelationalTypeMapping)
- Quelle:
- ISqlExpressionFactory.cs
- Quelle:
- ISqlExpressionFactory.cs
- Quelle:
- ISqlExpressionFactory.cs
- Quelle:
- ISqlExpressionFactory.cs
- Quelle:
- ISqlExpressionFactory.cs
Erstellt eine neue SqlExpression , die eine Konstante in einer SQL-Struktur darstellt.
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression Constant(object value, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping = default);
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlConstantExpression Constant(object value, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping = default);
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlConstantExpression Constant(object? value, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping = default);
abstract member Constant : obj * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
abstract member Constant : obj * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlConstantExpression
Public Function Constant (value As Object, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlExpression
Public Function Constant (value As Object, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlConstantExpression
Parameter
- value
- Object
Ein Wert.
- typeMapping
- RelationalTypeMapping
Der RelationalTypeMapping Dem Ausdruck zugeordnete.
Gibt zurück
Ein Ausdruck, der eine Konstante in einer SQL-Struktur darstellt.
Gilt für:
Constant(Object, Boolean, RelationalTypeMapping)
- Quelle:
- ISqlExpressionFactory.cs
- Quelle:
- ISqlExpressionFactory.cs
Erstellt eine neue SqlExpression , die eine Konstante in einer SQL-Struktur darstellt.
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression Constant(object value, bool sensitive, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping = default);
abstract member Constant : obj * bool * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Public Function Constant (value As Object, sensitive As Boolean, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlExpression
Parameter
- value
- Object
Ein Wert.
- sensitive
- Boolean
truewenn der Ausdruck vertrauliche Werte enthält; andernfalls . false
- typeMapping
- RelationalTypeMapping
Der RelationalTypeMapping Dem Ausdruck zugeordnete.
Gibt zurück
Ein Ausdruck, der eine Konstante in einer SQL-Struktur darstellt.
Gilt für:
Constant(Object, Type, RelationalTypeMapping)
- Quelle:
- ISqlExpressionFactory.cs
- Quelle:
- ISqlExpressionFactory.cs
- Quelle:
- ISqlExpressionFactory.cs
- Quelle:
- ISqlExpressionFactory.cs
- Quelle:
- ISqlExpressionFactory.cs
Erstellt eine neue SqlExpression , die eine Konstante in einer SQL-Struktur darstellt.
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression Constant(object? value, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping = default);
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlConstantExpression Constant(object? value, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping = default);
abstract member Constant : obj * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
abstract member Constant : obj * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlConstantExpression
Public Function Constant (value As Object, type As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlExpression
Public Function Constant (value As Object, type As Type, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlConstantExpression
Parameter
- value
- Object
Ein Wert.
- type
- Type
Der Typ für die Konstante. Nützlich, wenn der Wert null ist.
- typeMapping
- RelationalTypeMapping
Der RelationalTypeMapping Dem Ausdruck zugeordnete.
Gibt zurück
Ein Ausdruck, der eine Konstante in einer SQL-Struktur darstellt.
Gilt für:
Constant(Object, Type, Boolean, RelationalTypeMapping)
- Quelle:
- ISqlExpressionFactory.cs
- Quelle:
- ISqlExpressionFactory.cs
Erstellt eine neue SqlExpression , die eine Konstante in einer SQL-Struktur darstellt.
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression Constant(object? value, Type type, bool sensitive, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping = default);
abstract member Constant : obj * Type * bool * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Public Function Constant (value As Object, type As Type, sensitive As Boolean, Optional typeMapping As RelationalTypeMapping = Nothing) As SqlExpression
Parameter
- value
- Object
Ein Wert.
- type
- Type
Der Typ für die Konstante. Nützlich, wenn der Wert null ist.
- sensitive
- Boolean
truewenn der Ausdruck vertrauliche Werte enthält; andernfalls . false
- typeMapping
- RelationalTypeMapping
Der RelationalTypeMapping Dem Ausdruck zugeordnete.
Gibt zurück
Ein Ausdruck, der eine Konstante in einer SQL-Struktur darstellt.