02 2012 档案

摘要:[DataMember(EmitDefaultValue=false)]当属性值为默认值时,不会参与序列化。 阅读全文
posted @ 2012-02-15 21:00 fannet
摘要:nhibernate many-to-one映射对象时,如果没有匹配项会抛出异常,通过加not-found="ignore"属性可以忽略异常。 阅读全文
posted @ 2012-02-12 16:52 fannet
摘要:I won't bore you with the directors' cut of the past couple of hours. I'll just give you the highlights...Try each of the other services. No luck.Close and reopen solution. No luck.Close and reopen Visual Studio 2010. No luck.Reboot machine. "I'm lying. I wasn't that despera 阅读全文
posted @ 2012-02-09 16:29 fannet