Partilhar via


SqlParameterExpression Constructors

Definition

Overloads

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, Type, RelationalTypeMapping)

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.

type
Type

The Type of the expression.

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.

type
Type

The Type of the expression.

nullable
Boolean

Whether this parameter can have null values.

typeMapping
RelationalTypeMapping

The RelationalTypeMapping associated with the expression.

Applies to