Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
Dapper
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
Dapper
Commits
b60c0a53
Commit
b60c0a53
authored
Jun 28, 2011
by
Sam Saffron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
depending on data annotations is a mistake, it is not in client profile
parent
b6d10d49
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
7 deletions
+12
-7
Dapper.Contrib.Tests.csproj
Dapper.Contrib.Tests/Dapper.Contrib.Tests.csproj
+0
-1
Tests.cs
Dapper.Contrib.Tests/Tests.cs
+1
-2
Dapper.Contrib.csproj
Dapper.Contrib/Dapper.Contrib.csproj
+4
-2
Dapper.Contrib.nuspec
Dapper.Contrib/Dapper.Contrib.nuspec
+1
-1
SqlMapperExtensions.cs
Dapper.Contrib/SqlMapperExtensions.cs
+6
-1
No files found.
Dapper.Contrib.Tests/Dapper.Contrib.Tests.csproj
View file @
b60c0a53
...
@@ -43,7 +43,6 @@
...
@@ -43,7 +43,6 @@
</PropertyGroup>
</PropertyGroup>
<ItemGroup>
<ItemGroup>
<Reference
Include=
"System"
/>
<Reference
Include=
"System"
/>
<Reference
Include=
"System.ComponentModel.DataAnnotations"
/>
<Reference
Include=
"System.Core"
/>
<Reference
Include=
"System.Core"
/>
<Reference
Include=
"System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL"
>
<Reference
Include=
"System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL"
>
<SpecificVersion>
False
</SpecificVersion>
<SpecificVersion>
False
</SpecificVersion>
...
...
Dapper.Contrib.Tests/Tests.cs
View file @
b60c0a53
using
System.ComponentModel.DataAnnotations
;
using
System.Data
;
using
System.Data
;
using
System.Data.SqlServerCe
;
using
System.Data.SqlServerCe
;
using
System.IO
;
using
System.IO
;
using
System.Linq
;
using
System.Linq
;
...
...
Dapper.Contrib/Dapper.Contrib.csproj
View file @
b60c0a53
...
@@ -40,7 +40,6 @@
...
@@ -40,7 +40,6 @@
</PropertyGroup>
</PropertyGroup>
<ItemGroup>
<ItemGroup>
<Reference
Include=
"System"
/>
<Reference
Include=
"System"
/>
<Reference
Include=
"System.ComponentModel.DataAnnotations"
/>
<Reference
Include=
"System.Core"
/>
<Reference
Include=
"System.Core"
/>
<Reference
Include=
"System.Xml.Linq"
/>
<Reference
Include=
"System.Xml.Linq"
/>
<Reference
Include=
"System.Data.DataSetExtensions"
/>
<Reference
Include=
"System.Data.DataSetExtensions"
/>
...
@@ -49,7 +48,7 @@
...
@@ -49,7 +48,7 @@
<Reference
Include=
"System.Xml"
/>
<Reference
Include=
"System.Xml"
/>
</ItemGroup>
</ItemGroup>
<ItemGroup>
<ItemGroup>
<Compile
Include=
"
Extensions\
SqlMapperExtensions.cs"
/>
<Compile
Include=
"SqlMapperExtensions.cs"
/>
<Compile
Include=
"Properties\AssemblyInfo.cs"
/>
<Compile
Include=
"Properties\AssemblyInfo.cs"
/>
</ItemGroup>
</ItemGroup>
<ItemGroup>
<ItemGroup>
...
@@ -58,6 +57,9 @@
...
@@ -58,6 +57,9 @@
<Name>
Dapper
</Name>
<Name>
Dapper
</Name>
</ProjectReference>
</ProjectReference>
</ItemGroup>
</ItemGroup>
<ItemGroup>
<None
Include=
"Dapper.Contrib.nuspec"
/>
</ItemGroup>
<Import
Project=
"$(MSBuildToolsPath)\Microsoft.CSharp.targets"
/>
<Import
Project=
"$(MSBuildToolsPath)\Microsoft.CSharp.targets"
/>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Other similar extension points exist, see Microsoft.Common.targets.
...
...
Dapper.Contrib/Dapper.Contrib.nuspec
View file @
b60c0a53
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<package
xmlns=
"http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"
>
<package
xmlns=
"http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"
>
<metadata>
<metadata>
<id>
Dapper.Contrib
</id>
<id>
Dapper.Contrib
</id>
<version>
1.
0
</version>
<version>
1.
1
</version>
<authors>
Sam Saffron,Johan Danforth
</authors>
<authors>
Sam Saffron,Johan Danforth
</authors>
<owners>
Sam Saffron,Johan Danforth
</owners>
<owners>
Sam Saffron,Johan Danforth
</owners>
<licenseUrl>
http://www.apache.org/licenses/LICENSE-2.0
</licenseUrl>
<licenseUrl>
http://www.apache.org/licenses/LICENSE-2.0
</licenseUrl>
...
...
Dapper.Contrib/SqlMapperExtensions.cs
View file @
b60c0a53
using
System
;
using
System
;
using
System.Collections.Generic
;
using
System.Collections.Generic
;
using
System.ComponentModel.DataAnnotations
;
using
System.Data
;
using
System.Data
;
using
System.Diagnostics
;
using
System.Diagnostics
;
using
System.Linq
;
using
System.Linq
;
...
@@ -434,4 +433,10 @@ public TableAttribute(string tableName)
...
@@ -434,4 +433,10 @@ public TableAttribute(string tableName)
}
}
public
string
Name
{
get
;
private
set
;
}
public
string
Name
{
get
;
private
set
;
}
}
}
// do not want to depend on data annotations that is not in client profile
[
AttributeUsage
(
AttributeTargets
.
Property
)]
public
class
KeyAttribute
:
Attribute
{
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment