-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
async one bg thread implemented for logging
- Loading branch information
Showing
162 changed files
with
1,020 additions
and
485 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file removed
BIN
-166 KB
.vs/EasMe/FileContentIndex/2e2d666d-68d4-46c4-a52b-13ab12033d3e.vsidx
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-141 KB
.vs/EasMe/FileContentIndex/8760a4c8-43e8-411e-973e-2603ad154b35.vsidx
Binary file not shown.
Binary file renamed
BIN
+149 KB
...3ccc52d-9e69-4566-ac19-d31370566ef8.vsidx → ...ed5a30e-a690-4d4b-b7ed-cd078bd20cb8.vsidx
Binary file not shown.
Binary file removed
BIN
-155 KB
.vs/EasMe/FileContentIndex/984d34f9-6f03-48d8-b7f5-4cf232796541.vsidx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
src/EasMe.Authorization/obj/Debug/net6.0/EasMe.Authorization.assets.cache
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
src/EasMe.Authorization/obj/Debug/net6.0/EasMe.Authorization.dll
Binary file not shown.
Binary file modified
BIN
+12 Bytes
(100%)
src/EasMe.Authorization/obj/Debug/net6.0/EasMe.Authorization.pdb
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
src/EasMe.Authorization/obj/Debug/net6.0/ref/EasMe.Authorization.dll
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
src/EasMe.Authorization/obj/Debug/net6.0/refint/EasMe.Authorization.dll
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
src/EasMe.Authorization/obj/Release/net6.0/EasMe.Authorization.assets.cache
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
src/EasMe.Authorization/obj/Release/net6.0/EasMe.Authorization.dll
Binary file not shown.
Binary file modified
BIN
+12 Bytes
(100%)
src/EasMe.Authorization/obj/Release/net6.0/EasMe.Authorization.pdb
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
src/EasMe.Authorization/obj/Release/net6.0/ref/EasMe.Authorization.dll
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
src/EasMe.Authorization/obj/Release/net6.0/refint/EasMe.Authorization.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-3.57 KB
(27%)
src/EasMe.Box/obj/Debug/EasMe.Box.csproj.AssemblyReference.cache
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 0 additions & 35 deletions
35
src/EasMe.EntityFrameworkCore/Abstract/IEfEntityRepository.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
src/EasMe.EntityFrameworkCore/Abstract/IEntityRepository.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
using System.Linq.Expressions; | ||
|
||
namespace EasMe.EntityFrameworkCore.Abstract | ||
{ | ||
public interface IEntityRepository<T> | ||
where T : class, IEntity, new() | ||
{ | ||
IQueryable<T> Get(Expression<Func<T, bool>>? filter = null); | ||
List<T> GetList(Expression<Func<T, bool>>? filter = null); | ||
bool Any(Expression<Func<T, bool>> filter); | ||
bool Any(); | ||
T? GetFirstOrDefault(Expression<Func<T, bool>> filter); | ||
T? GetFirst(Expression<Func<T, bool>> filter); | ||
T GetSingle(Expression<Func<T, bool>> filter); | ||
T? GetSingleOrDefault(Expression<Func<T, bool>> filter); | ||
T GetSingle(); | ||
T? GetFirst(); | ||
void Add(T entity); | ||
void AddRange(IEnumerable<T> entities); | ||
void Update(T entity); | ||
void Update(T entity, Action<T> updateAction); | ||
void UpdateRange(IEnumerable<T> entities); | ||
//int UpdateWhere(Expression<Func<T, bool>> filter, Action<T> updateAction); | ||
//int DeleteWhere(Expression<Func<T, bool>> filter); | ||
//bool UpdateWhereSingle(Expression<Func<T, bool>> filter, Action<T> updateAction); | ||
//bool DeleteWhereSingle(Expression<Func<T, bool>> filter); | ||
void Delete(T entity); | ||
void Delete(int id); | ||
void DeleteRange(IEnumerable<T> entities); | ||
T? Find(int id); | ||
int Count(Expression<Func<T, bool>> filter); | ||
int Count(); | ||
//bool Save(); | ||
//Task<bool> SaveAsync(); | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.