SqlParameterExpression 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 |
|---|---|
| SqlParameterExpression(String, Type, RelationalTypeMapping) |
Creates a new instance of the SqlParameterExpression class. |
| SqlParameterExpression(String, Type, Boolean, RelationalTypeMapping) |
Creates a new instance of the SqlParameterExpression class. |
| SqlParameterExpression(String, String, Type, Boolean, Nullable<ParameterTranslationMode>, RelationalTypeMapping) |
Creates a new instance of the SqlParameterExpression class. |
SqlParameterExpression(String, Type, RelationalTypeMapping)
- Source:
- SqlParameterExpression.cs
- Source:
- SqlParameterExpression.cs
- Source:
- SqlParameterExpression.cs
Creates a new instance of the SqlParameterExpression class.
public SqlParameterExpression(string name, Type type, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlParameterExpression : string * Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlParameterExpression
Public Sub New (name As String, type As Type, typeMapping As RelationalTypeMapping)
Parameters
- name
- String
The parameter name.
- typeMapping
- RelationalTypeMapping
The RelationalTypeMapping associated with the expression.
Applies to
SqlParameterExpression(String, Type, Boolean, RelationalTypeMapping)
- Source:
- SqlParameterExpression.cs
Creates a new instance of the SqlParameterExpression class.
public SqlParameterExpression(string name, Type type, bool nullable, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlParameterExpression : string * Type * bool * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlParameterExpression
Public Sub New (name As String, type As Type, nullable As Boolean, typeMapping As RelationalTypeMapping)
Parameters
- name
- String
The parameter name.
- nullable
- Boolean
Whether this parameter can have null values.
- typeMapping
- RelationalTypeMapping
The RelationalTypeMapping associated with the expression.
Applies to
SqlParameterExpression(String, String, Type, Boolean, Nullable<ParameterTranslationMode>, RelationalTypeMapping)
- Source:
- SqlParameterExpression.cs
Creates a new instance of the SqlParameterExpression class.
public SqlParameterExpression(string invariantName, string name, Type type, bool nullable, Microsoft.EntityFrameworkCore.ParameterTranslationMode? translationMode, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlParameterExpression : string * string * Type * bool * Nullable<Microsoft.EntityFrameworkCore.ParameterTranslationMode> * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlParameterExpression
Public Sub New (invariantName As String, name As String, type As Type, nullable As Boolean, translationMode As Nullable(Of ParameterTranslationMode), typeMapping As RelationalTypeMapping)
Parameters
- invariantName
- String
The name of the parameter as it is recorded in Parameters.
- name
- String
The name of the parameter as it will be set on ParameterName and inside the SQL as a placeholder (before any additional placeholder character prefixing).
- nullable
- Boolean
Whether this parameter can have null values.
- translationMode
- Nullable<ParameterTranslationMode>
How the parameter should be handled.
- typeMapping
- RelationalTypeMapping
The RelationalTypeMapping associated with the expression.