自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

norsd的专栏

用心去做

  • 博客(8)
  • 资源 (1)
  • 收藏
  • 关注

原创 EF4.1 用 .net 4.0 编译

EF4.1 用 .net 4.0 编译如果用.net 4.5 编译 MaxLength 会找不到的

2012-05-25 01:50:12 620

原创 Queue<T> 需要注意的多线程冲突问题

最近在做一个AsyncEvent,内部使用了Queue,因为效率问题,所以不敢用lock,以为Queue也就push一个T,不用同步。结果今天就崩了,Queue.Enqueue 出错,提示很奇怪: Source array was not long enough. Check srcIndex and length , and the array's lower bounds.bing了一

2012-05-23 10:47:12 4611

原创 MySQL CodeFirst "The provider did not return a ProviderManifestToken string."

使用MySQL 进行 CodeFirst 在 Context.Add的时候 , 抛出异常 The provider did not return a ProviderManifestToken string.观察异常的 innerException : {"Variable 'character_set_client' can't be set to the value of 'ucs

2012-05-11 13:38:24 5418 1

原创 EntityFramework 4.1 如何加入项目

C:\Program Files (x86)\Microsoft ADO.NET Entity Framework 4.1\Binaries

2012-05-10 15:33:42 1685

原创 EntityFramework 4.3.1 CodeFirst with MySQL (.net connector version<6.5.4)

CodeFirst 虽然很好,但是为了驯服她,好费劲啊。MySQL .net connector 版本号 6.5.4 在 EF 4.3.1 中无法顺利执行 Code First 操作。她会抛出异常,信息如下:        You have an error in your SQL syntax; check the manual that corresponds to

2012-05-10 15:10:18 2166

原创 Code First一些问题

1. Unmapped 之类的属性来自 : using System.ComponentModel.DataAnnotations;2. MySQL 的话一般( connector 6.5.4) , 如果是 string 的话 就给map成: mediumtext  , 这时候随便你怎么写: maxlength , stringlength 都没有用,不会变成 varchar(

2012-05-09 21:15:42 879

原创 EntityFrameWork

4.1 下载http://www.microsoft.com/en-us/download/details.aspx?id=8363教程http://tech.it168.com/a2011/0719/1220/000001220362_all.shtml

2012-05-09 02:29:29 667

原创 Visual Studio 有用的插件

1.Nugethttp://visualstudiogallery.msdn.microsoft.com/27077b70-9dad-4c64-adcf-c7cf6bc9970c

2012-05-09 02:19:40 587

在.net中用 c#开发 ms office应用程序

我从万方花3元买来的. 大家花1个资源分不算多吧?

2010-03-04

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除