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(); 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 ) ```