04 2013 档案

摘要:在C#中,Convert.ToInt(null)的返回值是0,而不会跑出任何错误;而int.Parse(null)则会抛出异常。这两种方法的内在机制有所区别,具体可以看查看下面的内容:http://www.cnblogs.com/stalwart/archive/2011/01/04/1925362.html随记:1.Enum类型中的Value是允许重复的。 阅读全文
posted @ 2013-04-21 18:18 laughter 阅读(168) 评论(0) 推荐(0)
摘要:1.无法确定关系的主体端。添加的多个实体可能主键相同。 Unable to determine the principal end of the 'LetLord.Models.ResidentialProperty_UserProfile' relationship. Multiple add... 阅读全文
posted @ 2013-04-20 23:51 laughter 阅读(1479) 评论(0) 推荐(0)