SqlFragmentExpression 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
| Name | Description |
|---|---|
| SqlFragmentExpression(String) |
Creates a new instance of the SqlFragmentExpression class. |
| SqlFragmentExpression(String, Type, RelationalTypeMapping) |
Creates a new instance of the SqlFragmentExpression class. |
SqlFragmentExpression(String)
- Source:
- SqlFragmentExpression.cs
- Source:
- SqlFragmentExpression.cs
- Source:
- SqlFragmentExpression.cs
- Source:
- SqlFragmentExpression.cs
- Source:
- SqlFragmentExpression.cs
- Source:
- SqlFragmentExpression.cs
Creates a new instance of the SqlFragmentExpression class.
public SqlFragmentExpression(string sql);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFragmentExpression : string -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFragmentExpression
Public Sub New (sql As String)
Parameters
- sql
- String
A string token to print in SQL tree.
Applies to
SqlFragmentExpression(String, Type, RelationalTypeMapping)
- Source:
- SqlFragmentExpression.cs
Creates a new instance of the SqlFragmentExpression class.
public SqlFragmentExpression(string sql, Type? type = default, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping = default);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFragmentExpression : string * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlFragmentExpression
Public Sub New (sql As String, Optional type As Type = Nothing, Optional typeMapping As RelationalTypeMapping = Nothing)
Parameters
- sql
- String
A string token to print in SQL tree.
- typeMapping
- RelationalTypeMapping
The RelationalTypeMapping associated with the expression.