From caf018a514d6e972f3507b5b5cd1280a6d500557 Mon Sep 17 00:00:00 2001 From: Vyacheslav Brevnov Date: Sun, 28 May 2023 23:13:46 +0300 Subject: [PATCH 1/2] Update Parametr.md --- Documentation/Parametr.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/Parametr.md b/Documentation/Parametr.md index 8317915..cc4c336 100644 --- a/Documentation/Parametr.md +++ b/Documentation/Parametr.md @@ -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 ) ``` From 6be507cecd2f7df416c621b722db687abfdf9301 Mon Sep 17 00:00:00 2001 From: Vyacheslav Brevnov Date: Tue, 13 Jun 2023 13:15:58 +0300 Subject: [PATCH 2/2] Update CustomMapping.md --- Documentation/CustomMapping.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/CustomMapping.md b/Documentation/CustomMapping.md index d5ff9f0..98e16eb 100644 --- a/Documentation/CustomMapping.md +++ b/Documentation/CustomMapping.md @@ -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();