Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
SoftStoneDevelop committed Jun 13, 2023
2 parents e826f67 + 6be507c commit adfdac0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Documentation/CustomMapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ ORDER BY p.id ASC
"CustomMapping",
typeof(PersonCustom),
Gedaq.Common.Enums.MethodType.Async | Gedaq.Common.Enums.MethodType.Sync
)]
[Parametr("CustomMapping", parametrType: typeof(int), parametrName: "id", dbType: System.Data.DbType.Int32)]
),
Parametr(parametrType: typeof(int), parametrName: "id", dbType: System.Data.DbType.Int32)
]
public async Task SomeMethod(DbConnection connection)
{
var persons = connection.CustomMapping(3).ToList();
Expand Down
3 changes: 2 additions & 1 deletion Documentation/Parametr.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ public ParametrAttribute(
bool sourceColumnNullMapping = false,
DataRowVersion sourceVersion = DataRowVersion.Current,
byte scale = 0,
byte precision = 0
byte precision = 0,
string methodParametrName = null
)

```
Expand Down

0 comments on commit adfdac0

Please sign in to comment.