Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
int
Dapper
提交
e743d345
D
Dapper
项目概览
int
/
Dapper
11 个月 前同步成功
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Dapper
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
e743d345
编写于
6月 28, 2011
作者:
S
Sam Saffron
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
depending on data annotations is a mistake, it is not in client profile
上级
053c2283
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
12 addition
and
7 deletion
+12
-7
Dapper.Contrib.Tests/Dapper.Contrib.Tests.csproj
Dapper.Contrib.Tests/Dapper.Contrib.Tests.csproj
+0
-1
Dapper.Contrib.Tests/Tests.cs
Dapper.Contrib.Tests/Tests.cs
+1
-2
Dapper.Contrib/Dapper.Contrib.csproj
Dapper.Contrib/Dapper.Contrib.csproj
+4
-2
Dapper.Contrib/Dapper.Contrib.nuspec
Dapper.Contrib/Dapper.Contrib.nuspec
+1
-1
Dapper.Contrib/SqlMapperExtensions.cs
Dapper.Contrib/SqlMapperExtensions.cs
+6
-1
未找到文件。
Dapper.Contrib.Tests/Dapper.Contrib.Tests.csproj
浏览文件 @
e743d345
...
...
@@ -43,7 +43,6 @@
</PropertyGroup>
<ItemGroup>
<Reference
Include=
"System"
/>
<Reference
Include=
"System.ComponentModel.DataAnnotations"
/>
<Reference
Include=
"System.Core"
/>
<Reference
Include=
"System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL"
>
<SpecificVersion>
False
</SpecificVersion>
...
...
Dapper.Contrib.Tests/Tests.cs
浏览文件 @
e743d345
using
System.ComponentModel.DataAnnotations
;
using
System.Data
;
using
System.Data
;
using
System.Data.SqlServerCe
;
using
System.IO
;
using
System.Linq
;
...
...
Dapper.Contrib/Dapper.Contrib.csproj
浏览文件 @
e743d345
...
...
@@ -40,7 +40,6 @@
</PropertyGroup>
<ItemGroup>
<Reference
Include=
"System"
/>
<Reference
Include=
"System.ComponentModel.DataAnnotations"
/>
<Reference
Include=
"System.Core"
/>
<Reference
Include=
"System.Xml.Linq"
/>
<Reference
Include=
"System.Data.DataSetExtensions"
/>
...
...
@@ -49,7 +48,7 @@
<Reference
Include=
"System.Xml"
/>
</ItemGroup>
<ItemGroup>
<Compile
Include=
"
Extensions\
SqlMapperExtensions.cs"
/>
<Compile
Include=
"SqlMapperExtensions.cs"
/>
<Compile
Include=
"Properties\AssemblyInfo.cs"
/>
</ItemGroup>
<ItemGroup>
...
...
@@ -58,6 +57,9 @@
<Name>
Dapper
</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None
Include=
"Dapper.Contrib.nuspec"
/>
</ItemGroup>
<Import
Project=
"$(MSBuildToolsPath)\Microsoft.CSharp.targets"
/>
<!-- 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.
...
...
Dapper.Contrib/Dapper.Contrib.nuspec
浏览文件 @
e743d345
...
...
@@ -2,7 +2,7 @@
<package
xmlns=
"http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"
>
<metadata>
<id>
Dapper.Contrib
</id>
<version>
1.
0
</version>
<version>
1.
1
</version>
<authors>
Sam Saffron,Johan Danforth
</authors>
<owners>
Sam Saffron,Johan Danforth
</owners>
<licenseUrl>
http://www.apache.org/licenses/LICENSE-2.0
</licenseUrl>
...
...
Dapper.Contrib/SqlMapperExtensions.cs
浏览文件 @
e743d345
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel.DataAnnotations
;
using
System.Data
;
using
System.Diagnostics
;
using
System.Linq
;
...
...
@@ -434,4 +433,10 @@ public TableAttribute(string tableName)
}
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
{
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录