Skip to content

Commit a4b2beb

Browse files
author
lonesomegeek
committed
Merge branch 'version/4.1.1' into version/5.0.0
2 parents 3dba9ef + 2ea1088 commit a4b2beb

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

LSG.GenericCrud.Dto/Services/CrudService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ public CrudService(ICrudService<TId, TEntity> service, ICrudRepository repositor
124124
_service = service;
125125
_mapper = mapper;
126126
_repository = repository;
127-
AutoCommit = false;
128-
_service.AutoCommit = false;
127+
AutoCommit = true;
128+
_service.AutoCommit = true;
129129
}
130130

131131
public bool AutoCommit { get; set; }
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>netstandard2.0</TargetFramework>
5+
<Version>4.1.1</Version>
6+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
7+
<Authors>lonesomegeek</Authors>
8+
<Company>lonesomegeek</Company>
9+
<Description>This library provides a set of tools to enable CRUD rapidly on any aspnetcore Web APIs.</Description>
10+
<PackageTags>generic crud webapi aspnetcore</PackageTags>
11+
</PropertyGroup>
12+
13+
<ItemGroup>
14+
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.2.0" />
15+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.0.0" />
16+
</ItemGroup>
17+
18+
<ItemGroup>
19+
<ProjectReference Include="..\LSG.GenericCrud\LSG.GenericCrud.csproj" />
20+
</ItemGroup>
21+
22+
<ItemGroup>
23+
<Folder Include="Repositories\" />
24+
</ItemGroup>
25+
26+
</Project>

0 commit comments

Comments
 (0)