Skip to content

Commit 8b21e09

Browse files
committed
Add missing CommandType parameter to QueryFile
1 parent 418237c commit 8b21e09

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Dibix/Access/DatabaseAccessor.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ public FileEntity QueryFile(string commandText, CommandType commandType, Paramet
7171
{
7272
using DbCommand command = Connection.CreateCommand();
7373
command.CommandText = commandText;
74+
command.CommandType = commandType;
7475

7576
using DbCommandParameterCollector parametersCollector = new DbCommandParameterCollector(command, DbProviderAdapter);
7677
parameters.VisitInputParameters(parametersCollector.VisitInputParameter);

0 commit comments

Comments
 (0)