RawSqlCommand Constructor
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.
Initializes a new instance of the RawSqlCommand class.
public RawSqlCommand (Microsoft.EntityFrameworkCore.Storage.IRelationalCommand relationalCommand, System.Collections.Generic.IReadOnlyDictionary<string,object> parameterValues);
public RawSqlCommand (Microsoft.EntityFrameworkCore.Storage.IRelationalCommand relationalCommand, System.Collections.Generic.IReadOnlyDictionary<string,object?> parameterValues);
new Microsoft.EntityFrameworkCore.Storage.RawSqlCommand : Microsoft.EntityFrameworkCore.Storage.IRelationalCommand * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> Microsoft.EntityFrameworkCore.Storage.RawSqlCommand
Public Sub New (relationalCommand As IRelationalCommand, parameterValues As IReadOnlyDictionary(Of String, Object))
Parameters
- relationalCommand
- IRelationalCommand
The command to be executed.
- parameterValues
- IReadOnlyDictionary<String,Object>
The values to be assigned to parameters.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework