<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_伴着代码的歌声安然入睡</title><subtitle type="text">ZhangPeng.Chen</subtitle><id>http://feed.cnblogs.com/blog/u/30375/rss</id><updated>2011-11-29T13:32:56Z</updated><author><name>a-peng</name><uri>http://www.cnblogs.com/a-peng/</uri></author><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/a-peng/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/30375/rss"/><entry><id>http://www.cnblogs.com/a-peng/archive/2011/06/10/2077656.html</id><title type="text">IE inline edit how to make hidden element actually hide</title><summary type="text">当给div加contenteditable="true"来实现inline edit时，在ie下display: none与visibility: hidden的元素会显示出来(这是ie的默认行为)，我们可以通过以下脚本修复。&lt;script type="text/javascript"&gt;window.document.execCommand('RespectVisibilityInDesign', true, true);&lt;/script&gt;具体可参看：http://msdn.microsoft.com/en-us/</summary><published>2011-06-10T07:09:00Z</published><updated>2011-06-10T07:09:00Z</updated><author><name>a-peng</name><uri>http://www.cnblogs.com/a-peng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/a-peng/archive/2011/06/10/2077656.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/a-peng/archive/2011/06/10/2077656.html"/><content type="html">&lt;p&gt;当给div加contenteditable="true"来实现inline edit时，在ie下display: none与visibility: hidden的元素会显示出来(这是ie的默认行为)，我们可以通过以下脚本修复。&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="background-color: #F5F5F5;border: 1px solid #CCCCCC;padding:10px;"&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br/&gt;window.document.execCommand('RespectVisibilityInDesign', true, true);&lt;br/&gt;&amp;lt;/script&amp;gt;&lt;br/&gt;&lt;/div&gt;&lt;br /&gt;具体可参看：http://msdn.microsoft.com/en-us/library/aa770023%28VS.85%29.aspx&lt;img src="http://www.cnblogs.com/a-peng/aggbug/2077656.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/a-peng/archive/2011/06/10/2077656.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/a-peng/archive/2011/03/30/2000384.html</id><title type="text">EntityFramework4.1 Mapping</title><summary type="text">Associations in EF Code First CTP5: Part 1 – Complex Types http://weblogs.asp.net/manavi/archive/2010/12/11/entity-association-mapping-with-code-first-part-1-one-to-one-associations.aspxAssociations in EF Code First CTP5: Part 2 – Shared Primary Key Associations http://weblogs.asp.net/manavi/archive</summary><published>2011-03-30T15:07:00Z</published><updated>2011-03-30T15:07:00Z</updated><author><name>a-peng</name><uri>http://www.cnblogs.com/a-peng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/a-peng/archive/2011/03/30/2000384.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/a-peng/archive/2011/03/30/2000384.html"/><content type="html">&lt;h2 class="pageTitle"&gt;Associations in EF Code First CTP5: Part 1 &amp;ndash; Complex Types                   &lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;http://weblogs.asp.net/manavi/archive/2010/12/11/entity-association-mapping-with-code-first-part-1-one-to-one-associations.aspx&lt;br /&gt;&lt;br /&gt;&lt;h2 class="pageTitle"&gt;Associations in EF Code First CTP5: Part 2 &amp;ndash; Shared Primary Key Associations                   &lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;http://weblogs.asp.net/manavi/archive/2010/12/19/entity-association-mapping-with-code-first-one-to-one-shared-primary-key-associations.aspx&lt;br /&gt;&lt;br /&gt;&lt;h2 class="pageTitle"&gt;Associations in EF Code First CTP5: Part 3 &amp;ndash; One-to-One Foreign Key Associations                   &lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;http://weblogs.asp.net/manavi/archive/2011/01/23/associations-in-ef-code-first-ctp5-part-3-one-to-one-foreign-key-associations.aspx﻿&lt;img src="http://www.cnblogs.com/a-peng/aggbug/2000384.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/a-peng/archive/2011/03/30/2000384.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/a-peng/archive/2011/03/23/1992453.html</id><title type="text">Asp.Net Mvc 3.0</title><summary type="text">1. Url routing routes.MapRoute( "Default", // Route name "{controller}/{action}/{id}", // URL with parameters new { controller = "Home", action = "Index", id = UrlParameter.Optional } // Parameter defaults ); http://site.com/ &gt; controller = Home, action = I</summary><published>2011-03-23T06:00:00Z</published><updated>2011-03-23T06:00:00Z</updated><author><name>a-peng</name><uri>http://www.cnblogs.com/a-peng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/a-peng/archive/2011/03/23/1992453.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/a-peng/archive/2011/03/23/1992453.html"/><content type="html">&lt;p&gt;1. Url routing&lt;br /&gt;routes.MapRoute(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Default", // Route name&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "{controller}/{action}/{id}", // URL with parameters&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new { controller = "Home", action = "Index", id = UrlParameter.Optional } // Parameter defaults&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;/p&gt;&lt;p&gt;http://site.com/ &amp;gt; controller = Home, action = Index&lt;/p&gt;&lt;p&gt;http://site.com/home/index &amp;gt; controller = Home, action = Index&lt;/p&gt;&lt;p&gt;http://site.com/home/index/1 &amp;gt; controller = Home, action = Index, id = 1&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #800000;"&gt;http://site.com/test &amp;gt; controller = test, action = Index&lt;/span&gt;&lt;br /&gt;使用http://haacked.com/archive/2008/03/13/url-routing-debugger.aspx进行验证&lt;br /&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family: Simsun; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: small;"&gt;&lt;p&gt;&lt;strong&gt;Route Tester&lt;/strong&gt;&lt;/p&gt;&lt;div id="main"&gt;&lt;p class="message" style="font-size: 0.9em;"&gt;Type in a url in the address bar to see which defined routes match it. A {*catchall} route is added to the list of routes automatically in case none of your routes match.&lt;/p&gt;&lt;p class="message" style="font-size: 0.9em;"&gt;To generate URLs using routing, supply route values via the query string. example:&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;http://localhost:14230/?id=123&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;label style="font-weight: bold; font-size: 1.1em;"&gt;Matched Route&lt;/label&gt;: {controller}/{action}/{id}&lt;/p&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;table border="1" cellpadding="3" cellspacing="0" width="300"&gt;&lt;caption style="font-weight: bold;"&gt;Route Data&lt;/caption&gt;&lt;tbody&gt;&lt;tr class="header" style="background-color: #ffffcc;"&gt;&lt;th style="font-family: verdana; font-size: small;"&gt;Key&lt;/th&gt;&lt;th style="font-family: verdana; font-size: small;"&gt;Value&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="font-family: verdana; font-size: small;"&gt;controller&lt;/td&gt;&lt;td style="font-family: verdana; font-size: small;"&gt;test&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="font-family: verdana; font-size: small;"&gt;action&lt;/td&gt;&lt;td style="font-family: verdana; font-size: small;"&gt;Index&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="font-family: verdana; font-size: small;"&gt;id&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;table border="1" cellpadding="3" cellspacing="0" width="300"&gt;&lt;caption style="font-weight: bold;"&gt;Data Tokens&lt;/caption&gt;&lt;tbody&gt;&lt;tr class="header" style="background-color: #ffffcc;"&gt;&lt;th style="font-family: verdana; font-size: small;"&gt;Key&lt;/th&gt;&lt;th style="font-family: verdana; font-size: small;"&gt;Value&lt;/th&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family: Simsun; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: small;"&gt;&lt;div id="main"&gt;&lt;hr style="clear: both;" /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;table border="1" cellpadding="3" cellspacing="0"&gt;&lt;caption style="font-weight: bold;"&gt;All Routes&lt;/caption&gt;&lt;tbody&gt;&lt;tr class="header" style="background-color: #ffffcc;"&gt;&lt;th style="font-family: verdana; font-size: small;"&gt;Matches Current Request&lt;/th&gt;&lt;th style="font-family: verdana; font-size: small;"&gt;Url&lt;/th&gt;&lt;th style="font-family: verdana; font-size: small;"&gt;Defaults&lt;/th&gt;&lt;th style="font-family: verdana; font-size: small;"&gt;Constraints&lt;/th&gt;&lt;th style="font-family: verdana; font-size: small;"&gt;DataTokens&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="font-family: verdana; font-size: small;"&gt;&lt;span class="False" style="color: #cc0000;"&gt;False&lt;/span&gt;&lt;/td&gt;&lt;td style="font-family: verdana; font-size: small;"&gt;Admin/{controller}/{action}/{id}&lt;/td&gt;&lt;td style="font-family: verdana; font-size: small;"&gt;action = Index, id =&lt;/td&gt;&lt;td style="font-family: verdana; font-size: small;"&gt;(null)&lt;/td&gt;&lt;td style="font-family: verdana; font-size: small;"&gt;Namespaces = System.String[], area = Admin, UseNamespaceFallback = False&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="font-family: verdana; font-size: small;"&gt;&lt;span class="False" style="color: #cc0000;"&gt;False&lt;/span&gt;&lt;/td&gt;&lt;td style="font-family: verdana; font-size: small;"&gt;{resource}.axd/{*pathInfo}&lt;/td&gt;&lt;td style="font-family: verdana; font-size: small;"&gt;(null)&lt;/td&gt;&lt;td style="font-family: verdana; font-size: small;"&gt;(null)&lt;/td&gt;&lt;td style="font-family: verdana; font-size: small;"&gt;(null)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="font-family: verdana; font-size: small;"&gt;&lt;span class="True" style="color: #00cc00;"&gt;True&lt;/span&gt;&lt;/td&gt;&lt;td style="font-family: verdana; font-size: small;"&gt;{controller}/{action}/{id}&lt;/td&gt;&lt;td style="font-family: verdana; font-size: small;"&gt;controller = Home, action = Index, id =&lt;/td&gt;&lt;td style="font-family: verdana; font-size: small;"&gt;(null)&lt;/td&gt;&lt;td style="font-family: verdana; font-size: small;"&gt;(null)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="font-family: verdana; font-size: small;"&gt;&lt;span class="True" style="color: #00cc00;"&gt;True&lt;/span&gt;&lt;/td&gt;&lt;td style="font-family: verdana; font-size: small;"&gt;{*catchall}&lt;/td&gt;&lt;td style="font-family: verdana; font-size: small;"&gt;(null)&lt;/td&gt;&lt;td style="font-family: verdana; font-size: small;"&gt;(null)&lt;/td&gt;&lt;td style="font-family: verdana; font-size: small;"&gt;(null)&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family: Simsun; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: verdana; font-size: small;"&gt;&lt;div id="main"&gt;&lt;hr /&gt;&lt;p&gt;&lt;strong&gt;Current Request Info&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;AppRelativeCurrentExecutionFilePath is the portion of the request that Routing acts on.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;AppRelativeCurrentExecutionFilePath&lt;/strong&gt;: ~/test&lt;/p&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;" class="mcePaste" id="_mcePaste"&gt;&lt;strong&gt;&lt;strong&gt;RouteDebug.RouteDebugger.RewriteRoutesForTesting(RouteTable.Routes);&lt;br /&gt;&lt;/strong&gt;&lt;/strong&gt;&lt;/div&gt;&lt;img src="http://www.cnblogs.com/a-peng/aggbug/1992453.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/a-peng/archive/2011/03/23/1992453.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/a-peng/archive/2011/01/21/1941326.html</id><title type="text">Windbg</title><summary type="text">1. Download Windbgwww.windbg.org2. sos.dll and mscordacwks.dllsos.dll-------------------- Normal 0 7.8 磅 0 2 false false false EN-US ZH-CN X-NONE http://msdn.microsoft.com/zh-cn/library/bb190764(vs.80).aspxSOS 调试扩展允许您查看有关在公共语言运行库内运行的代码的信息。 例如，可以使用 SOS 调试扩展显示有关托管堆的信息、查找堆损坏情况、显示运行库所使用的内部数据类型以及</summary><published>2011-01-21T07:59:00Z</published><updated>2011-01-21T07:59:00Z</updated><author><name>a-peng</name><uri>http://www.cnblogs.com/a-peng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/a-peng/archive/2011/01/21/1941326.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/a-peng/archive/2011/01/21/1941326.html"/><content type="html">&lt;p&gt;1. Download Windbg&lt;/p&gt;&lt;p&gt;www.windbg.org&lt;br /&gt;&lt;br /&gt;2. sos.dll and mscordacwks.dll&lt;br /&gt;sos.dll&lt;br /&gt;--------------------&lt;br /&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt; &lt;w:WordDocument&gt;  &lt;w:View&gt;Normal&lt;/w:View&gt;  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;  &lt;w:TrackMoves /&gt;  &lt;w:TrackFormatting /&gt;  &lt;w:PunctuationKerning /&gt;  &lt;w:DrawingGridVerticalSpacing&gt;7.8 磅&lt;/w:DrawingGridVerticalSpacing&gt;  &lt;w:DisplayHorizontalDrawingGridEvery&gt;0&lt;/w:DisplayHorizontalDrawingGridEvery&gt;  &lt;w:DisplayVerticalDrawingGridEvery&gt;2&lt;/w:DisplayVerticalDrawingGridEvery&gt;  &lt;w:ValidateAgainstSchemas /&gt;  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;  &lt;w:DoNotPromoteQF /&gt;  &lt;w:LidThemeOther&gt;EN-US&lt;/w:LidThemeOther&gt;  &lt;w:LidThemeAsian&gt;ZH-CN&lt;/w:LidThemeAsian&gt;  &lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;  &lt;w:Compatibility&gt;   &lt;w:SpaceForUL /&gt;   &lt;w:BalanceSingleByteDoubleByteWidth /&gt;   &lt;w:DoNotLeaveBackslashAlone /&gt;   &lt;w:ULTrailSpace /&gt;   &lt;w:DoNotExpandShiftReturn /&gt;   &lt;w:AdjustLineHeightInTable /&gt;   &lt;w:BreakWrappedTables /&gt;   &lt;w:SnapToGridInCell /&gt;   &lt;w:WrapTextWithPunct /&gt;   &lt;w:UseAsianBreakRules /&gt;   &lt;w:DontGrowAutofit /&gt;   &lt;w:SplitPgBreakAndParaMark /&gt;   &lt;w:DontVertAlignCellWithSp /&gt;   &lt;w:DontBreakConstrainedForcedTables /&gt;   &lt;w:DontVertAlignInTxbx /&gt;   &lt;w:Word11KerningPairs /&gt;   &lt;w:CachedColBalance /&gt;   &lt;w:UseFELayout /&gt;  &lt;/w:Compatibility&gt;  &lt;m:mathPr&gt;   &lt;m:mathFont m:val="Cambria Math" /&gt;   &lt;m:brkBin m:val="before" /&gt;   &lt;m:brkBinSub m:val=" " /&gt;   &lt;m:smallFrac m:val="off" /&gt;   &lt;m:dispDef /&gt;   &lt;m:lMargin m:val="0" /&gt;   &lt;m:rMargin m:val="0" /&gt;   &lt;m:defJc m:val="centerGroup" /&gt;   &lt;m:wrapIndent m:val="1440" /&gt;   &lt;m:intLim m:val="subSup" /&gt;   &lt;m:naryLim m:val="undOvr" /&gt;  &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt;&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt; &lt;w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"  DefSemiHidden="true" DefQFormat="false" DefPriority="99"  LatentStyleCount="267"&gt;  &lt;w:LsdException Locked="false" Priority="0" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Normal" /&gt;  &lt;w:LsdException Locked="false" Priority="9" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="heading 1" /&gt;  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2" /&gt;  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3" /&gt;  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4" /&gt;  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5" /&gt;  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6" /&gt;  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7" /&gt;  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8" /&gt;  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9" /&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 1" /&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 2" /&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 3" /&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 4" /&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 5" /&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 6" /&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 7" /&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 8" /&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 9" /&gt;  &lt;w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption" /&gt;  &lt;w:LsdException Locked="false" Priority="10" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Title" /&gt;  &lt;w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font" /&gt;  &lt;w:LsdException Locked="false" Priority="11" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Subtitle" /&gt;  &lt;w:LsdException Locked="false" Priority="22" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Strong" /&gt;  &lt;w:LsdException Locked="false" Priority="20" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Emphasis" /&gt;  &lt;w:LsdException Locked="false" Priority="59" SemiHidden="false"   UnhideWhenUsed="false" Name="Table Grid" /&gt;  &lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text" /&gt;  &lt;w:LsdException Locked="false" Priority="1" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="No Spacing" /&gt;  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading" /&gt;  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List" /&gt;  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid" /&gt;  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1" /&gt;  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2" /&gt;  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1" /&gt;  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2" /&gt;  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1" /&gt;  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2" /&gt;  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3" /&gt;  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List" /&gt;  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading" /&gt;  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List" /&gt;  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid" /&gt;  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 1" /&gt;  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 1" /&gt;  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 1" /&gt;  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1" /&gt;  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1" /&gt;  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 1" /&gt;  &lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision" /&gt;  &lt;w:LsdException Locked="false" Priority="34" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="List Paragraph" /&gt;  &lt;w:LsdException Locked="false" Priority="29" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Quote" /&gt;  &lt;w:LsdException Locked="false" Priority="30" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Intense Quote" /&gt;  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 1" /&gt;  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1" /&gt;  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1" /&gt;  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1" /&gt;  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 1" /&gt;  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 1" /&gt;  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 1" /&gt;  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 1" /&gt;  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 2" /&gt;  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 2" /&gt;  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 2" /&gt;  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2" /&gt;  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2" /&gt;  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 2" /&gt;  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 2" /&gt;  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2" /&gt;  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2" /&gt;  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2" /&gt;  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 2" /&gt;  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 2" /&gt;  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 2" /&gt;  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 2" /&gt;  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 3" /&gt;  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 3" /&gt;  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 3" /&gt;  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3" /&gt;  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3" /&gt;  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 3" /&gt;  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 3" /&gt;  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3" /&gt;  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3" /&gt;  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3" /&gt;  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 3" /&gt;  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 3" /&gt;  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 3" /&gt;  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 3" /&gt;  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 4" /&gt;  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 4" /&gt;  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 4" /&gt;  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4" /&gt;  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4" /&gt;  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 4" /&gt;  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 4" /&gt;  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4" /&gt;  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4" /&gt;  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4" /&gt;  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 4" /&gt;  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 4" /&gt;  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 4" /&gt;  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 4" /&gt;  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 5" /&gt;  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 5" /&gt;  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 5" /&gt;  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5" /&gt;  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5" /&gt;  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 5" /&gt;  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 5" /&gt;  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5" /&gt;  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5" /&gt;  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5" /&gt;  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 5" /&gt;  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 5" /&gt;  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 5" /&gt;  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 5" /&gt;  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 6" /&gt;  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 6" /&gt;  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 6" /&gt;  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6" /&gt;  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6" /&gt;  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 6" /&gt;  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 6" /&gt;  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6" /&gt;  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6" /&gt;  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6" /&gt;  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 6" /&gt;  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 6" /&gt;  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 6" /&gt;  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 6" /&gt;  &lt;w:LsdException Locked="false" Priority="19" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis" /&gt;  &lt;w:LsdException Locked="false" Priority="21" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis" /&gt;  &lt;w:LsdException Locked="false" Priority="31" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference" /&gt;  &lt;w:LsdException Locked="false" Priority="32" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Intense Reference" /&gt;  &lt;w:LsdException Locked="false" Priority="33" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Book Title" /&gt;  &lt;w:LsdException Locked="false" Priority="37" Name="Bibliography" /&gt;  &lt;w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading" /&gt; &lt;/w:LatentStyles&gt;&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt;&lt;mce:style&gt;&lt;!  /* Style Definitions */ table.MsoNormalTable{mso-style-name:普通表格;mso-tstyle-rowband-size:0;mso-tstyle-colband-size:0;mso-style-noshow:yes;mso-style-priority:99;mso-style-qformat:yes;mso-style-parent:"";mso-padding-alt:0cm 5.4pt 0cm 5.4pt;mso-para-margin:0cm;mso-para-margin-bottom:.0001pt;mso-pagination:widow-orphan;font-size:10.5pt;mso-bidi-font-size:11.0pt;font-family:"Calibri","sans-serif";mso-ascii-font-family:Calibri;mso-ascii-theme-font:minor-latin;mso-hansi-font-family:Calibri;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:"Times New Roman";mso-bidi-theme-font:minor-bidi;mso-font-kerning:1.0pt;}--&gt;&lt;!--[endif]--&gt;&lt;span style="font-size: 10.5pt; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;" lang="EN-US"&gt;http://msdn.microsoft.com/zh-cn/library/bb190764(vs.80).aspx&lt;/span&gt;&lt;br /&gt;SOS 调试扩展允许您查看有关在公共语言运行库内运行的代码的信息。  例如，可以使用 SOS 调试扩展显示有关托管堆的信息、查找堆损坏情况、显示运行库所使用的内部数据类型以及查看有关在运行库内运行的所有托管代码的信息。帮助您在 WinDbg.exe 调试器和 Visual Studio 中调试托管程序。&lt;br /&gt;&lt;br /&gt;mscordacwks.dll&lt;br /&gt;--------------------&lt;br /&gt;http://stackoverflow.com/questions/670725/mscordacwks-dll-and-mscorwks-dll-confusions&lt;/p&gt;&lt;p&gt;mscorwks is the main MS CLR implementation.&lt;/p&gt;&lt;p&gt;mscordacwks provides a data-access abstraction over the CLR details, so that debuggers (such as SOS) don't need to know too much about the internals of mscorwks&lt;br /&gt;&lt;br /&gt;3. Command&lt;br /&gt;01010101 指代内存地址&lt;br /&gt;&lt;br /&gt;&amp;gt; .load sos.dll&lt;br /&gt;&amp;gt; .load mscordacwks.dll&lt;br /&gt;&lt;br /&gt;&amp;gt; !help&lt;br /&gt;&amp;gt; !DumpDomain 列出所有Domain &lt;br /&gt;&amp;gt; !DumpDomain 01010101 列出01010101 Domain的详细信息&lt;br /&gt;&amp;gt; !SaveModule 01010101 C:\Test.dll 将Module 01010101保存成dll可以使用Reflector查看&lt;br /&gt;&amp;gt; !Name2EE * ConsoleApplication1.Program 遍历所有已加载模块，查看ConsoleApplication1.Program类型&lt;br /&gt;&amp;gt; !Name2EE ConsoleApplication1.exe!ConsoleApplication1.Program 从ConsoleApplication1.exe中查看ConsoleApplication1.Program类型&lt;br /&gt;&amp;gt; !DumpMD 010101 查方法&lt;br /&gt;&amp;gt; !DumpClass 010101 查类&lt;br /&gt;&amp;gt; !do 010101&amp;nbsp; 查值&lt;br /&gt;&lt;br /&gt;&amp;gt; .time&lt;br /&gt;&amp;gt; !threadpool&lt;br /&gt;&amp;gt; !threads&lt;br /&gt;&amp;gt; ~3s ID为3的线程&lt;br /&gt;&amp;gt; !clrstack 调用堆栈&lt;br /&gt;&amp;gt; !dumpmt -md 010101 查看方法描述符，会有相关调用堆栈&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;img src="http://www.cnblogs.com/a-peng/aggbug/1941326.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/a-peng/archive/2011/01/21/1941326.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/a-peng/archive/2010/02/06/1665045.html</id><title type="text">IOC与AOP</title><summary type="text">Unity三篇好文Unity(1)简介及简单使用http://www.xiaozhou.net/dotnetdevelopment/unity-study-notes-1-unity-introduction-and-easy-to-use-2009-04-23.htmUnity(2)配置文件的使用http://www.xiaozhou.net/dotnetdevelopment/unity-st...</summary><published>2010-02-06T08:46:00Z</published><updated>2010-02-06T08:46:00Z</updated><author><name>a-peng</name><uri>http://www.cnblogs.com/a-peng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/a-peng/archive/2010/02/06/1665045.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/a-peng/archive/2010/02/06/1665045.html"/><content type="text">Unity三篇好文Unity(1)简介及简单使用http://www.xiaozhou.net/dotnetdevelopment/unity-study-notes-1-unity-introduction-and-easy-to-use-2009-04-23.htmUnity(2)配置文件的使用http://www.xiaozhou.net/dotnetdevelopment/unity-st...</content></entry><entry><id>http://www.cnblogs.com/a-peng/archive/2010/02/06/1665043.html</id><title type="text">Custom Date and Time Format Strings</title><summary type="text">http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspxLocalize Eval dataEval只有这两种重载，没有涉及到本地化。protected internal object Eval(string expression);protected internal string Eval(string expression, string f...</summary><published>2010-02-06T08:45:00Z</published><updated>2010-02-06T08:45:00Z</updated><author><name>a-peng</name><uri>http://www.cnblogs.com/a-peng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/a-peng/archive/2010/02/06/1665043.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/a-peng/archive/2010/02/06/1665043.html"/><content type="text">http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspxLocalize Eval dataEval只有这两种重载，没有涉及到本地化。protected internal object Eval(string expression);protected internal string Eval(string expression, string f...</content></entry><entry><id>http://www.cnblogs.com/a-peng/archive/2010/02/06/1665042.html</id><title type="text">group by Year(CreatedDate), Month(CreatedDate) 用sql, entity sql （linq表达式好像挺复杂）</title><summary type="text">博客左边的存档相信大家都很常见到吧。我写了句sql语句，希望取出年份，月份，记录数。[代码]然后我希望在Entity Framework里实现，我用Entity SQL实现了下。[代码]生成SQL语句[代码]如果按上面的思路用linq表达式发现要group by两次，貌似很复杂。换个算法。代码Code highlighting produced by Actipro CodeHighlighter...</summary><published>2010-02-06T08:44:00Z</published><updated>2010-02-06T08:44:00Z</updated><author><name>a-peng</name><uri>http://www.cnblogs.com/a-peng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/a-peng/archive/2010/02/06/1665042.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/a-peng/archive/2010/02/06/1665042.html"/><content type="text">博客左边的存档相信大家都很常见到吧。我写了句sql语句，希望取出年份，月份，记录数。[代码]然后我希望在Entity Framework里实现，我用Entity SQL实现了下。[代码]生成SQL语句[代码]如果按上面的思路用linq表达式发现要group by两次，貌似很复杂。换个算法。代码Code highlighting produced by Actipro CodeHighlighter...</content></entry><entry><id>http://www.cnblogs.com/a-peng/archive/2010/02/06/1665040.html</id><title type="text">asp.net life cycle</title><summary type="text">Application Start应用程序启动后，会获取一个应用实例ApplicationInstance通过HttpApplicationFactory.GetNormalApplicationInstance方法获取，在该方法中会调用InitModules初始化所有Modules，然后会调用一个Init方法。我们可以覆盖这个Init方法来初始化一些数据。等级和InitModule中的Init一...</summary><published>2010-02-06T08:43:00Z</published><updated>2010-02-06T08:43:00Z</updated><author><name>a-peng</name><uri>http://www.cnblogs.com/a-peng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/a-peng/archive/2010/02/06/1665040.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/a-peng/archive/2010/02/06/1665040.html"/><content type="text">Application Start应用程序启动后，会获取一个应用实例ApplicationInstance通过HttpApplicationFactory.GetNormalApplicationInstance方法获取，在该方法中会调用InitModules初始化所有Modules，然后会调用一个Init方法。我们可以覆盖这个Init方法来初始化一些数据。等级和InitModule中的Init一...</content></entry><entry><id>http://www.cnblogs.com/a-peng/archive/2010/02/06/1665038.html</id><title type="text">OH MY GOD! 我的后台页面都被IE可缓存了。。。</title><summary type="text">无意间发现一个问题。1、输入: http://demo/admin2、被重定向到: http://demo/user/login 正常3、登录完成回到: http://demo/admin4、退出完成回到: http://demo 正常5、输入: http://demo/admin 既然正常显示。。。不会被重定向到http://demo/user/login我在AdminBasePage里的代...</summary><published>2010-02-06T08:42:00Z</published><updated>2010-02-06T08:42:00Z</updated><author><name>a-peng</name><uri>http://www.cnblogs.com/a-peng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/a-peng/archive/2010/02/06/1665038.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/a-peng/archive/2010/02/06/1665038.html"/><content type="text">无意间发现一个问题。1、输入: http://demo/admin2、被重定向到: http://demo/user/login 正常3、登录完成回到: http://demo/admin4、退出完成回到: http://demo 正常5、输入: http://demo/admin 既然正常显示。。。不会被重定向到http://demo/user/login我在AdminBasePage里的代...</content></entry><entry><id>http://www.cnblogs.com/a-peng/archive/2010/02/06/1665035.html</id><title type="text">编译器错误消息: 类型“System.Data.Objects.DataClasses.EntityObject”在未被引用的程序集中定义。</title><summary type="text">编译器错误消息: CS0012: 类型“System.Data.Objects.DataClasses.EntityObject”在未被引用的程序集中定义。必须添加对程序集 “System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089” 的...</summary><published>2010-02-06T08:40:00Z</published><updated>2010-02-06T08:40:00Z</updated><author><name>a-peng</name><uri>http://www.cnblogs.com/a-peng/</uri></author><link rel="alternate" href="http://www.cnblogs.com/a-peng/archive/2010/02/06/1665035.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/a-peng/archive/2010/02/06/1665035.html"/><content type="text">编译器错误消息: CS0012: 类型“System.Data.Objects.DataClasses.EntityObject”在未被引用的程序集中定义。必须添加对程序集 “System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089” 的...</content></entry></feed>
