Skip to content

Commit

Permalink
4.5.2 - 4.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
phnx47 committed Sep 25, 2015
1 parent 0ad5ee5 commit b825667
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
2 changes: 1 addition & 1 deletion MicroOrm.Dapper.Repositories.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata schemaVersion="2">
<id>MicroOrm.Dapper.Repositories</id>
<version>1.2.2</version>
<version>1.2.3</version>
<title>MicroOrm.Dapper.Repositories</title>
<authors>Sergey Kuznetsov</authors>
<owners>Sergey Kuznetsov</owners>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>MicroOrm.Dapper.Repositories</RootNamespace>
<AssemblyName>MicroOrm.Dapper.Repositories</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
Expand Down
4 changes: 2 additions & 2 deletions src/MicroOrm.Dapper.Repositories/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2.2.0")]
[assembly: AssemblyFileVersion("1.2.2.0")]
[assembly: AssemblyVersion("1.2.3.0")]
[assembly: AssemblyFileVersion("1.2.3.0")]
12 changes: 12 additions & 0 deletions src/MicroOrm.Dapper.Repositories/Repositories/DapperRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ namespace MicroOrm.Dapper.Repositories.Repositories
{
#region Constructors

protected DapperRepository(IDbConnection connection, ESqlConnector sqlConnector)
{
Connection = connection;
SqlGenerator = new SqlGenerator<TEntity>(sqlConnector);
}

protected DapperRepository(IDbConnection connection)
{
Connection = connection;
SqlGenerator = new SqlGenerator<TEntity>(ESqlConnector.MSSQL);
}

protected DapperRepository(IDbConnection connection, ISqlGenerator<TEntity> sqlGenerator)
{
Connection = connection;
Expand Down

0 comments on commit b825667

Please sign in to comment.