-
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.
Merge pull request #24 from Byndyusoft/feature/refactor
Feature/refactor
- Loading branch information
Showing
40 changed files
with
1,124 additions
and
508 deletions.
There are no files selected for viewing
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
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,12 @@ | ||
<configuration> | ||
<packageSources> | ||
<clear /> | ||
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" /> | ||
</packageSources> | ||
|
||
<packageSourceMapping> | ||
<packageSource key="nuget.org"> | ||
<package pattern="*" /> | ||
</packageSource> | ||
</packageSourceMapping> | ||
</configuration> |
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
7 changes: 0 additions & 7 deletions
7
src/Byndyusoft.Data.Relational.Abstractions/DbSessionFinishedEventHandler.cs
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
src/Byndyusoft.Data.Relational.Abstractions/DbSessionState.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
20 changes: 20 additions & 0 deletions
20
src/Byndyusoft.Data.Relational.Abstractions/IDbSessionStorage.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,20 @@ | ||
namespace Byndyusoft.Data.Relational | ||
{ | ||
public interface IDbSessionStorage : IDbSessionsIndexer | ||
{ | ||
/// <summary> | ||
/// Gets the current <see cref="IDbSession" /> with specified name. | ||
/// Returns null if there is no active <see cref="IDbSession" /> with specified name. | ||
/// </summary> | ||
/// <param name="name">The name of the <see cref="IDbSession" />.</param> | ||
/// <returns>Instance of <see cref="IDbSession" />.</returns> | ||
IDbSession? GetCurrent(string name); | ||
|
||
/// <summary> | ||
/// Sets the current <see cref="IDbSession" /> with specified name. | ||
/// </summary> | ||
/// <param name="name">The name of the <see cref="IDbSession" />.</param> | ||
/// <param name="session">Instance of <see cref="IDbSession" />.</param> | ||
void SetCurrent(string name, IDbSession? session); | ||
} | ||
} |
20 changes: 0 additions & 20 deletions
20
src/Byndyusoft.Data.Relational.Abstractions/IQueryObject.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
Oops, something went wrong.