Skip to content

Commit

Permalink
version 3.1.0
Browse files Browse the repository at this point in the history
### 3.1.0 от 2023-03-25
* Обновлены nuget-пакеты EntityFramework
* Добавлены дополнительные параметры в методы `IRepository<T>` для управления `AutoIncludes`.
* Обновлена документация https://calabonga.github.io/UnitOfWork/
  • Loading branch information
Calabonga committed Mar 25, 2023
1 parent bb72fb4 commit 4f196c5
Show file tree
Hide file tree
Showing 17 changed files with 778 additions and 512 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

# Версии

### 3.1.0 от 2023-03-25
* Обновлены nuget-пакеты EntityFramework
* Добавлены дополнительные параметры в методы `IRepository<T>` для управления `AutoIncludes`.
* Обновлена документация https://calabonga.github.io/UnitOfWork/

### 2022-02-08
* Сборка переведена на NET6.0. В проект был обновлен (Nullable = true)
* Обновлены методы на предмет обработки Nullable типов
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@

<h1 id="Calabonga_UnitOfWork_IQueryablePageListExtensions" data-uid="Calabonga.UnitOfWork.IQueryablePageListExtensions" class="text-break">Class IQueryablePageListExtensions
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 summary"><p>Extensions for IPageList</p>
</div>
<div class="markdown level0 conceptual"></div>
<div class="inheritance">
<h5>Inheritance</h5>
Expand Down
144 changes: 108 additions & 36 deletions docs/api/Calabonga.UnitOfWork.IRepository-1.html

Large diffs are not rendered by default.

198 changes: 124 additions & 74 deletions docs/api/Calabonga.UnitOfWork.Repository-1.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/api/Calabonga.UnitOfWork.SaveChangesResult.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ <h6><strong>Namespace</strong>: <a class="xref" href="Calabonga.UnitOfWork.html"
<h6><strong>Assembly</strong>: Calabonga.UnitOfWork.dll</h6>
<h5 id="Calabonga_UnitOfWork_SaveChangesResult_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class SaveChangesResult</code></pre>
<pre><code class="lang-csharp hljs">public sealed class SaveChangesResult</code></pre>
</div>
<h3 id="constructors">Constructors
</h3>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ <h5 class="typeParameters">Type Parameters</h5>

<a id="Calabonga_UnitOfWork_UnitOfWorkServiceCollectionExtensions_AddUnitOfWork_" data-uid="Calabonga.UnitOfWork.UnitOfWorkServiceCollectionExtensions.AddUnitOfWork*"></a>
<h4 id="Calabonga_UnitOfWork_UnitOfWorkServiceCollectionExtensions_AddUnitOfWork__1_Microsoft_Extensions_DependencyInjection_IServiceCollection_" data-uid="Calabonga.UnitOfWork.UnitOfWorkServiceCollectionExtensions.AddUnitOfWork``1(Microsoft.Extensions.DependencyInjection.IServiceCollection)">AddUnitOfWork&lt;TContext&gt;(IServiceCollection)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Registers the unit of work given context as a service in the <span class="xref">Microsoft.Extensions.DependencyInjection.IServiceCollection</span>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
Expand All @@ -203,7 +204,8 @@ <h5 class="parameters">Parameters</h5>
<tr>
<td><span class="xref">Microsoft.Extensions.DependencyInjection.IServiceCollection</span></td>
<td><span class="parametername">services</span></td>
<td></td>
<td><p>The <span class="xref">Microsoft.Extensions.DependencyInjection.IServiceCollection</span> to add services to.</p>
</td>
</tr>
</tbody>
</table>
Expand All @@ -218,7 +220,8 @@ <h5 class="returns">Returns</h5>
<tbody>
<tr>
<td><span class="xref">Microsoft.Extensions.DependencyInjection.IServiceCollection</span></td>
<td></td>
<td><p>The same service collection so that multiple calls can be chained.</p>
</td>
</tr>
</tbody>
</table>
Expand All @@ -233,10 +236,14 @@ <h5 class="typeParameters">Type Parameters</h5>
<tbody>
<tr>
<td><span class="parametername">TContext</span></td>
<td></td>
<td><p>The type of the db context.</p>
</td>
</tr>
</tbody>
</table>
<h5 id="Calabonga_UnitOfWork_UnitOfWorkServiceCollectionExtensions_AddUnitOfWork__1_Microsoft_Extensions_DependencyInjection_IServiceCollection__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method only support one db context, if been called more than once, will throw exception.</p>
</div>


<a id="Calabonga_UnitOfWork_UnitOfWorkServiceCollectionExtensions_AddUnitOfWork_" data-uid="Calabonga.UnitOfWork.UnitOfWorkServiceCollectionExtensions.AddUnitOfWork*"></a>
Expand Down
3 changes: 2 additions & 1 deletion docs/api/Calabonga.UnitOfWork.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ <h4><a class="xref" href="Calabonga.UnitOfWork.ExceptionHelper.html">ExceptionHe
<section><p>Exception Inner message helper</p>
</section>
<h4><a class="xref" href="Calabonga.UnitOfWork.IQueryablePageListExtensions.html">IQueryablePageListExtensions</a></h4>
<section></section>
<section><p>Extensions for IPageList</p>
</section>
<h4><a class="xref" href="Calabonga.UnitOfWork.PagedList.html">PagedList</a></h4>
<section><p>Provides some help methods for <a class="xref" href="Calabonga.UnitOfWork.IPagedList-1.html">IPagedList&lt;T&gt;</a> interface.</p>
</section>
Expand Down
66 changes: 34 additions & 32 deletions docs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"hash": "3S1YtFwIpPTx+wFW/7WCC0UZxtGBzYEcp0Y9i3b4yxE="
}
},
"is_incremental": true,
"is_incremental": false,
"version": ""
},
{
Expand All @@ -24,7 +24,7 @@
"hash": "W0nXwYIWQa1XgICAx3RJUy1GP4iG0bJ9Es7IkBNiA3Y="
}
},
"is_incremental": true,
"is_incremental": false,
"version": ""
},
{
Expand All @@ -36,7 +36,7 @@
"hash": "mxBHk5M/kn/w4mq48VcdnGWsbP3+dF/TyVIfhQu2zxc="
}
},
"is_incremental": true,
"is_incremental": false,
"version": ""
},
{
Expand All @@ -45,10 +45,10 @@
"output": {
".html": {
"relative_path": "api/Calabonga.UnitOfWork.IQueryablePageListExtensions.html",
"hash": "fmUnuSX6DgsHmJsF1SI5LIoUBqaIlmbFNEpwBAPbSxU="
"hash": "jHbPygvwm0ECQuc7KRD2+rFWp7rtfFkrF2R9U/Zrcic="
}
},
"is_incremental": true,
"is_incremental": false,
"version": ""
},
{
Expand All @@ -57,10 +57,10 @@
"output": {
".html": {
"relative_path": "api/Calabonga.UnitOfWork.IRepository-1.html",
"hash": "sE6Xmk1y/leB6wL6xXgzuEp2mKzanUp3E95RU+O9HTc="
"hash": "TsQ93OV1y6GHHVmjLiaIMefKTJq7vH7pAO6TildcC0w="
}
},
"is_incremental": true,
"is_incremental": false,
"version": ""
},
{
Expand All @@ -72,7 +72,7 @@
"hash": "jEtfARFbj87niT/ENUONcN3xZCgV4guoVQYj3fj+fVU="
}
},
"is_incremental": true,
"is_incremental": false,
"version": ""
},
{
Expand All @@ -84,7 +84,7 @@
"hash": "kThIMwO370dPh0sVsgEEDSwGk63yX4sNa5SV8FdhmlY="
}
},
"is_incremental": true,
"is_incremental": false,
"version": ""
},
{
Expand All @@ -96,7 +96,7 @@
"hash": "UT01pytVbPlsRw2hQCirauoDSRYZmZNnhJdgz/GSYIc="
}
},
"is_incremental": true,
"is_incremental": false,
"version": ""
},
{
Expand All @@ -108,7 +108,7 @@
"hash": "Za+2ekgQEvcTaBWgHefFiarQGShFDxNJsySqN11g4Us="
}
},
"is_incremental": true,
"is_incremental": false,
"version": ""
},
{
Expand All @@ -120,7 +120,7 @@
"hash": "Cl3oqsjmN3rLpVs9gLq0FqtmBW75QcsDQ7ZaHg+k4MY="
}
},
"is_incremental": true,
"is_incremental": false,
"version": ""
},
{
Expand All @@ -132,7 +132,7 @@
"hash": "VyVr2FRk2dOGvp6GTyknAG936rE4O3GhBNK5Tu7ieK4="
}
},
"is_incremental": true,
"is_incremental": false,
"version": ""
},
{
Expand All @@ -141,10 +141,10 @@
"output": {
".html": {
"relative_path": "api/Calabonga.UnitOfWork.Repository-1.html",
"hash": "2ffQhReJf8qTVcH2An96UjbATqtFp1NabciBo6raThI="
"hash": "bg6bH5Pdi8POPXj5jSYYhhIzTTGTu/8PUir+YMde7Q8="
}
},
"is_incremental": true,
"is_incremental": false,
"version": ""
},
{
Expand All @@ -153,10 +153,10 @@
"output": {
".html": {
"relative_path": "api/Calabonga.UnitOfWork.SaveChangesResult.html",
"hash": "THZZAAlb5nxTlDAoJEUVofnDPcXbcqWZ5OddDyESvLM="
"hash": "NY8RCjqOeNTBDmpCpBBJtsKcTGfeW9Ka89GlDU0quvs="
}
},
"is_incremental": true,
"is_incremental": false,
"version": ""
},
{
Expand All @@ -168,7 +168,7 @@
"hash": "wb2QvProjqGVOMeSE2GakDnS6usS4/4sTDdxVOryaAU="
}
},
"is_incremental": true,
"is_incremental": false,
"version": ""
},
{
Expand All @@ -177,10 +177,10 @@
"output": {
".html": {
"relative_path": "api/Calabonga.UnitOfWork.UnitOfWorkServiceCollectionExtensions.html",
"hash": "mA2RILrIc9TEGtevEEhvlLF9s6O3pkskbfCNxi/XgoU="
"hash": "/vFL/4SqYWewbKLVZlyGJ/byXecuis1ABrrrBYFvv7s="
}
},
"is_incremental": true,
"is_incremental": false,
"version": ""
},
{
Expand All @@ -189,10 +189,10 @@
"output": {
".html": {
"relative_path": "api/Calabonga.UnitOfWork.html",
"hash": "2yCy9YdhmRAmklDkm3pJ5an5qu0wtE/nBqi9mS57tW8="
"hash": "nc+14BrXbTBBLAr+2XmuonqoIlXzpcFcSSt5LR+O1U8="
}
},
"is_incremental": true,
"is_incremental": false,
"version": ""
},
{
Expand All @@ -204,7 +204,7 @@
"hash": "HKdXOr//EtVVNBRs2kqjwFDQG1nVEE6n5shMA82RUNc="
}
},
"is_incremental": true,
"is_incremental": false,
"version": ""
},
{
Expand Down Expand Up @@ -250,7 +250,7 @@
"hash": "1DhpoRyMn4elEfAnEIFxqj9OcJZNbQ9LcPRdFtfqTSg="
}
},
"is_incremental": true,
"is_incremental": false,
"version": ""
},
{
Expand All @@ -269,23 +269,25 @@
"incremental_info": [
{
"status": {
"can_incremental": true,
"can_incremental": false,
"details": "Disable incremental build by force rebuild option.",
"incrementalPhase": "build",
"total_file_count": 0,
"skipped_file_count": 0
"skipped_file_count": 0,
"full_build_reason_code": "ForceRebuild"
},
"processors": {
"ConceptualDocumentProcessor": {
"can_incremental": true,
"can_incremental": false,
"incrementalPhase": "build",
"total_file_count": 2,
"skipped_file_count": 2
"skipped_file_count": 0
},
"ManagedReferenceDocumentProcessor": {
"can_incremental": true,
"can_incremental": false,
"incrementalPhase": "build",
"total_file_count": 16,
"skipped_file_count": 16
"skipped_file_count": 0
},
"ResourceDocumentProcessor": {
"can_incremental": false,
Expand All @@ -305,8 +307,8 @@
},
{
"status": {
"can_incremental": true,
"details": "Can support incremental post processing.",
"can_incremental": false,
"details": "Cannot support incremental post processing, the reason is: it's disabled.",
"incrementalPhase": "postProcessing",
"total_file_count": 0,
"skipped_file_count": 0
Expand Down
Loading

0 comments on commit 4f196c5

Please sign in to comment.