SqlConstantExpression Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SqlConstantExpression(ConstantExpression, RelationalTypeMapping) |
Obsolete.
Creates a new instance of the SqlConstantExpression class. |
SqlConstantExpression(Object, RelationalTypeMapping) |
Creates a new instance of the SqlConstantExpression class. |
SqlConstantExpression(Object, Type, RelationalTypeMapping) |
Creates a new instance of the SqlConstantExpression class. |
SqlConstantExpression(ConstantExpression, RelationalTypeMapping)
- Source:
- SqlConstantExpression.cs
- Source:
- SqlConstantExpression.cs
- Source:
- SqlConstantExpression.cs
- Source:
- SqlConstantExpression.cs
- Source:
- SqlConstantExpression.cs
- Source:
- SqlConstantExpression.cs
- Source:
- SqlConstantExpression.cs
Caution
Call the constructor accepting a value (and possibly a Type) instead
Creates a new instance of the SqlConstantExpression class.
public SqlConstantExpression (System.Linq.Expressions.ConstantExpression constantExpression, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
public SqlConstantExpression (System.Linq.Expressions.ConstantExpression constantExpression, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping);
[System.Obsolete("Call the constructor accepting a value (and possibly a Type) instead")]
public SqlConstantExpression (System.Linq.Expressions.ConstantExpression constantExpression, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlConstantExpression : System.Linq.Expressions.ConstantExpression * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlConstantExpression
[<System.Obsolete("Call the constructor accepting a value (and possibly a Type) instead")>]
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlConstantExpression : System.Linq.Expressions.ConstantExpression * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlConstantExpression
Public Sub New (constantExpression As ConstantExpression, typeMapping As RelationalTypeMapping)
Parameters
- constantExpression
- ConstantExpression
- typeMapping
- RelationalTypeMapping
The RelationalTypeMapping associated with the expression.
- Attributes
Applies to
SqlConstantExpression(Object, RelationalTypeMapping)
- Source:
- SqlConstantExpression.cs
Creates a new instance of the SqlConstantExpression class.
public SqlConstantExpression (object value, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlConstantExpression : obj * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlConstantExpression
Public Sub New (value As Object, typeMapping As RelationalTypeMapping)
Parameters
- typeMapping
- RelationalTypeMapping
The RelationalTypeMapping associated with the expression.
Applies to
SqlConstantExpression(Object, Type, RelationalTypeMapping)
- Source:
- SqlConstantExpression.cs
Creates a new instance of the SqlConstantExpression class.
public SqlConstantExpression (object? value, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlConstantExpression : obj * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlConstantExpression
Public Sub New (value As Object, type As Type, typeMapping As RelationalTypeMapping)
Parameters
- typeMapping
- RelationalTypeMapping
The RelationalTypeMapping associated with the expression.