Skip to content

Commit 9b23bfa

Browse files
egregius313michaelnebel
authored andcommitted
Execute methods which return objects
The `Execute` method returns `int` for "number of rows affected". But some of the other `Execute*` methods return objects.
1 parent 5885938 commit 9b23bfa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

csharp/ql/lib/ext/Dapper.model.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ extensions:
6262
pack: codeql/csharp-all
6363
extensible: sourceModel
6464
data:
65+
- ["Dapper", "SqlMapper", False, "ExecuteReader", "", "", "ReturnValue", "database", "manual"]
66+
- ["Dapper", "SqlMapper", False, "ExecuteReaderAsync", "", "", "ReturnValue", "database", "manual"]
67+
- ["Dapper", "SqlMapper", False, "ExecuteScalar", "", "", "ReturnValue", "database", "manual"]
68+
- ["Dapper", "SqlMapper", False, "ExecuteScalar<T>", "", "", "ReturnValue", "database", "manual"]
69+
- ["Dapper", "SqlMapper", False, "ExecuteScalarAsync", "", "", "ReturnValue", "database", "manual"]
70+
- ["Dapper", "SqlMapper", False, "ExecuteScalarAsync<T>", "", "", "ReturnValue", "database", "manual"]
6571
- ["Dapper", "SqlMapper", False, "Query", "", "", "ReturnValue", "database", "manual"]
6672
- ["Dapper", "SqlMapper", False, "Query<T>", "", "", "ReturnValue", "database", "manual"]
6773
- ["Dapper", "SqlMapper", False, "Query<TFirst,TSecond,TReturn>", "", "", "ReturnValue", "database", "manual"]

0 commit comments

Comments
 (0)