This repository was archived by the owner on May 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
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 #26 from osoykan/dev
dev to master
- Loading branch information
Showing
262 changed files
with
4,795 additions
and
780 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,21 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<VersionPrefix>1.0.0</VersionPrefix> | ||
<NoWarn>$(NoWarn);CS1591</NoWarn> | ||
<PackageIconUrl>https://raw.githubusercontent.com/osoykan/Stove/master/stove.png</PackageIconUrl> | ||
<PackageProjectUrl>https://github.com/osoykan/Stove</PackageProjectUrl> | ||
<PackageLicenseUrl>https://github.com/osoykan/Stove/blob/master/LICENSE</PackageLicenseUrl> | ||
<RepositoryType>git</RepositoryType> | ||
<RepositoryUrl>https://github.com/osoykan/Stove</RepositoryUrl> | ||
<Authors>Oguzhan Soykan</Authors> | ||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild> | ||
<GenerateAssemblyTitleAttribute>false</GenerateAssemblyTitleAttribute> | ||
<GenerateAssemblyDescriptionAttribute>false</GenerateAssemblyDescriptionAttribute> | ||
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute> | ||
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute> | ||
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute> | ||
<GenerateAssemblyCopyrightAttribute>false</GenerateAssemblyCopyrightAttribute> | ||
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute> | ||
<GenerateAssemblyFileVersionAttribute>false</GenerateAssemblyFileVersionAttribute> | ||
</PropertyGroup> | ||
</Project> |
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,39 @@ | ||
# Paths | ||
$packFolder = (Get-Item -Path "./" -Verbose).FullName | ||
$slnPath = Join-Path $packFolder "../" | ||
$srcPath = Join-Path $slnPath "src" | ||
|
||
# List of projects | ||
$projects = ( | ||
"Stove", | ||
"Stove.Dapper", | ||
"Stove.EntityFramework", | ||
"Stove.HangFire", | ||
"Stove.Mapster", | ||
"Stove.NHibernate", | ||
"Stove.NLog", | ||
"Stove.RabbitMQ", | ||
"Stove.Redis" | ||
) | ||
|
||
# Rebuild solution | ||
Set-Location $slnPath | ||
& dotnet msbuild /t:Rebuild /p:Configuration=Release | ||
|
||
# Copy all nuget packages to the pack folder | ||
foreach($project in $projects) { | ||
|
||
$projectFolder = Join-Path $srcPath $project | ||
|
||
# Create nuget pack | ||
Set-Location $projectFolder | ||
& dotnet msbuild /t:pack /p:Configuration=Release /p:IncludeSymbols=true | ||
|
||
# Copy nuget package | ||
$projectPackPath = Join-Path $projectFolder ("/bin/Release/" + $project + ".*.nupkg") | ||
Move-Item $projectPackPath $packFolder | ||
|
||
} | ||
|
||
# Go back to the pack folder | ||
Set-Location $packFolder |
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
src/Stove.Dapper/Dapper/EfBasedDapperAutoRepositoryTypes.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,19 @@ | ||
using Stove.Dapper.Repositories; | ||
|
||
namespace Stove.Dapper | ||
{ | ||
public static class EfBasedDapperAutoRepositoryTypes | ||
{ | ||
static EfBasedDapperAutoRepositoryTypes() | ||
{ | ||
Default = new DapperAutoRepositoryTypeAttribute( | ||
typeof(IDapperRepository<>), | ||
typeof(IDapperRepository<,>), | ||
typeof(DapperEfRepositoryBase<,>), | ||
typeof(DapperEfRepositoryBase<,,>) | ||
); | ||
} | ||
|
||
public static DapperAutoRepositoryTypeAttribute Default { get; private set; } | ||
} | ||
} |
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
Oops, something went wrong.