﻿<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ButLife</title>
	<atom:link href="http://www.butlife.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.butlife.com</link>
	<description>Beautiful Life &#124; A.Journey.of.Hope.&#38;.Healing</description>
	<lastBuildDate>Fri, 05 Aug 2011 15:51:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>向阳花</title>
		<link>http://www.butlife.com/tonhyuk/</link>
		<comments>http://www.butlife.com/tonhyuk/#comments</comments>
		<pubDate>Fri, 05 Aug 2011 15:51:28 +0000</pubDate>
		<dc:creator>butlife</dc:creator>
				<category><![CDATA[Beautiful Life]]></category>
		<category><![CDATA[心情]]></category>

		<guid isPermaLink="false">http://www.butlife.com/?p=1921</guid>
		<description><![CDATA[向阳花。加油，幸福。]]></description>
			<content:encoded><![CDATA[<div id="attachment_1923" class="wp-caption aligncenter" style="width: 410px"><a class="highslide img_1" title="向阳花" rel="shadowbox" href="http://www.butlife.com/wp-content/uploads/2011/08/flower1.jpg" onclick="return hs.expand(this)"><img class="size-medium wp-image-1923" title="向阳花" src="http://www.butlife.com/wp-content/uploads/2011/08/flower1-400x300.jpg" alt="向阳花" width="400" height="300" /></a><p class="wp-caption-text">向阳花</p></div>
<p style="text-align: left;">好久没有拍过东西了，下午出去拍了几张，感觉挺美的，哈哈。</p>
<p style="text-align: left;">(...)<br/>Read the rest of <a href="http://www.butlife.com/tonhyuk/">向阳花</a> (13 words)</p>
<hr />
<p><small>© butlife for <a href="http://www.butlife.com">ButLife</a>, 2011. |
<a href="http://www.butlife.com/tonhyuk/">Permalink</a> |
<a href="http://www.butlife.com/tonhyuk/#comments">4 comments</a> |
<br/>
Post tags: <a href="http://www.butlife.com/tag/mood/" rel="tag">心情</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.butlife.com/tonhyuk/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>皈依</title>
		<link>http://www.butlife.com/refuge/</link>
		<comments>http://www.butlife.com/refuge/#comments</comments>
		<pubDate>Sun, 26 Jun 2011 14:34:50 +0000</pubDate>
		<dc:creator>butlife</dc:creator>
				<category><![CDATA[Beautiful Life]]></category>
		<category><![CDATA[心情]]></category>

		<guid isPermaLink="false">http://www.butlife.com/?p=1914</guid>
		<description><![CDATA[哥们儿骑车摔断了腿，趁这个机会好好休息一段吧。真的，平安就好。]]></description>
			<content:encoded><![CDATA[<div id="attachment_1915" class="wp-caption aligncenter" style="width: 310px"><a class="highslide img_4" title="evil" href="http://www.butlife.com/wp-content/uploads/2011/06/refuge.jpg" onclick="return hs.expand(this)"><img class="size-medium wp-image-1915" title="evil" src="http://www.butlife.com/wp-content/uploads/2011/06/refuge-300x300.jpg" alt="evil" width="300" height="300" /></a><p class="wp-caption-text">evil</p></div>
<p>(...)<br/>Read the rest of <a href="http://www.butlife.com/refuge/">皈依</a> (3 words)</p>
<hr />
<p><small>© butlife for <a href="http://www.butlife.com">ButLife</a>, 2011. |
<a href="http://www.butlife.com/refuge/">Permalink</a> |
<a href="http://www.butlife.com/refuge/#comments">5 comments</a> |
<br/>
Post tags: <a href="http://www.butlife.com/tag/mood/" rel="tag">心情</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.butlife.com/refuge/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>妖</title>
		<link>http://www.butlife.com/demon/</link>
		<comments>http://www.butlife.com/demon/#comments</comments>
		<pubDate>Mon, 04 Apr 2011 12:57:00 +0000</pubDate>
		<dc:creator>butlife</dc:creator>
				<category><![CDATA[Beautiful Life]]></category>
		<category><![CDATA[心情]]></category>

		<guid isPermaLink="false">http://www.butlife.com/?p=1904</guid>
		<description><![CDATA[做妖/不用在乎是否拥有你的灵魂/只要你的血肉身躯/便可满足我欲望的贪心]]></description>
			<content:encoded><![CDATA[<div id="attachment_1906" class="wp-caption aligncenter" style="width: 219px"><a class="highslide img_5" href="http://www.butlife.com/wp-content/uploads/2011/04/demon.jpg" onclick="return hs.expand(this)"><img class="size-medium wp-image-1906" title="妖" src="http://www.butlife.com/wp-content/uploads/2011/04/demon-209x300.jpg" alt="" width="209" height="300" /></a><p class="wp-caption-text">妖</p></div>
<p>(...)<br/>Read the rest of <a href="http://www.butlife.com/demon/">妖</a> (16 words)</p>
<hr />
<p><small>© butlife for <a href="http://www.butlife.com">ButLife</a>, 2011. |
<a href="http://www.butlife.com/demon/">Permalink</a> |
<a href="http://www.butlife.com/demon/#comments">2 comments</a> |
<br/>
Post tags: <a href="http://www.butlife.com/tag/mood/" rel="tag">心情</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.butlife.com/demon/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>倾城</title>
		<link>http://www.butlife.com/allure/</link>
		<comments>http://www.butlife.com/allure/#comments</comments>
		<pubDate>Sat, 26 Mar 2011 16:49:21 +0000</pubDate>
		<dc:creator>butlife</dc:creator>
				<category><![CDATA[Beautiful Life]]></category>
		<category><![CDATA[心情]]></category>

		<guid isPermaLink="false">http://www.butlife.com/?p=1898</guid>
		<description><![CDATA[你看，那边再过去，红砖公寓的再过去，就是围墙，东柏林，在墙的后面，你去过那个城吗？]]></description>
			<content:encoded><![CDATA[<div id="attachment_1899" class="wp-caption aligncenter" style="width: 310px"><a class="highslide img_6" href="http://www.butlife.com/wp-content/uploads/2011/03/Allure.jpg" onclick="return hs.expand(this)"><img class="size-medium wp-image-1899" title="倾城" src="http://www.butlife.com/wp-content/uploads/2011/03/Allure-300x300.jpg" alt="倾城" width="300" height="300" /></a><p class="wp-caption-text">倾城</p></div>
<p>(...)<br/>Read the rest of <a href="http://www.butlife.com/allure/">倾城</a> (27 words)</p>
<hr />
<p><small>© butlife for <a href="http://www.butlife.com">ButLife</a>, 2011. |
<a href="http://www.butlife.com/allure/">Permalink</a> |
<a href="http://www.butlife.com/allure/#comments">9 comments</a> |
<br/>
Post tags: <a href="http://www.butlife.com/tag/mood/" rel="tag">心情</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.butlife.com/allure/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>浮躁</title>
		<link>http://www.butlife.com/fickleness/</link>
		<comments>http://www.butlife.com/fickleness/#comments</comments>
		<pubDate>Fri, 11 Mar 2011 11:42:17 +0000</pubDate>
		<dc:creator>butlife</dc:creator>
				<category><![CDATA[Beautiful Life]]></category>
		<category><![CDATA[心情]]></category>

		<guid isPermaLink="false">http://www.butlife.com/?p=1889</guid>
		<description><![CDATA[浮躁是一种随波逐流的品格。春天来了，变得很浮躁。]]></description>
			<content:encoded><![CDATA[<div id="attachment_1890" class="wp-caption aligncenter" style="width: 210px"><a class="highslide img_7" href="http://www.butlife.com/wp-content/uploads/2011/03/fickleness.jpg" onclick="return hs.expand(this)"><img class="size-medium wp-image-1890  " title="浮躁" src="http://www.butlife.com/wp-content/uploads/2011/03/fickleness-200x300.jpg" alt="浮躁" width="200" height="300" /></a><p class="wp-caption-text">浮躁</p></div>
<p>(...)<br/>Read the rest of <a href="http://www.butlife.com/fickleness/">浮躁</a> (4 words)</p>
<hr />
<p><small>© butlife for <a href="http://www.butlife.com">ButLife</a>, 2011. |
<a href="http://www.butlife.com/fickleness/">Permalink</a> |
<a href="http://www.butlife.com/fickleness/#comments">6 comments</a> |
<br/>
Post tags: <a href="http://www.butlife.com/tag/mood/" rel="tag">心情</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.butlife.com/fickleness/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>铁锅捞，绯闻，雪</title>
		<link>http://www.butlife.com/dine-affair-snow/</link>
		<comments>http://www.butlife.com/dine-affair-snow/#comments</comments>
		<pubDate>Sat, 26 Feb 2011 14:34:17 +0000</pubDate>
		<dc:creator>butlife</dc:creator>
				<category><![CDATA[Beautiful Life]]></category>
		<category><![CDATA[butlife]]></category>

		<guid isPermaLink="false">http://www.butlife.com/?p=1884</guid>
		<description><![CDATA[寻寻觅觅，冷冷清清，凄凄惨惨戚戚。乍暖还寒时候，最难将息。三杯两盏淡酒，怎敌他、晚来风急？雁过也，正伤心，却是旧时相识。]]></description>
			<content:encoded><![CDATA[<p>借同学家小宝宝做九天的日子偷闲在家，睡到十点才爬起来。</p>
<p>从早上开始就一直飘着零星的雪花，有一点风，却没有冬天的寒冷。</p>
<p>在同学家见到了儿时的那一帮伙伴。</p>
<p>还带着些许稚气的脸，手上却拉着快要上幼儿园的孩子，生活总是这样真实的让我不是那么容易接受。</p>
<p>下午同事发来短信说部门一起去吃饭。跟他们在一起很开心，总有讲不完的笑话。</p>
<p>饭间有人说了句，绯闻说多了就成真的了。然后我就郁闷了，什么时候我也成公众人物了。</p>
<p>从饭店出来，二月末的天气飘起了鹅毛大雪。</p>
<hr />
<p><small>© butlife for <a href="http://www.butlife.com">ButLife</a>, 2011. |
<a href="http://www.butlife.com/dine-affair-snow/">Permalink</a> |
<a href="http://www.butlife.com/dine-affair-snow/#comments">4 comments</a> |
<br/>
Post tags: <a href="http://www.butlife.com/tag/butlife/" rel="tag">butlife</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.butlife.com/dine-affair-snow/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>愿做一棵树</title>
		<link>http://www.butlife.com/i-wish/</link>
		<comments>http://www.butlife.com/i-wish/#comments</comments>
		<pubDate>Mon, 21 Feb 2011 13:56:21 +0000</pubDate>
		<dc:creator>butlife</dc:creator>
				<category><![CDATA[Beautiful Life]]></category>
		<category><![CDATA[心情]]></category>

		<guid isPermaLink="false">http://www.butlife.com/?p=1878</guid>
		<description><![CDATA[如果有来生/要做一棵树/站成永恒/没有悲欢的姿势]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_1879" class="wp-caption aligncenter" style="width: 411px"><a class="highslide img_8" rel="shadowbox" href="http://www.butlife.com/wp-content/uploads/2011/02/tree.jpg" onclick="return hs.expand(this)"><img class="size-medium wp-image-1879 " title="愿做一棵树" src="http://www.butlife.com/wp-content/uploads/2011/02/tree-401x300.jpg" alt="愿做一棵树" width="401" height="300" /></a><p class="wp-caption-text">愿做一棵树</p></div><br />
(...)<br/>Read the rest of <a href="http://www.butlife.com/i-wish/">愿做一棵树</a> (10 words)</p>
<hr />
<p><small>© butlife for <a href="http://www.butlife.com">ButLife</a>, 2011. |
<a href="http://www.butlife.com/i-wish/">Permalink</a> |
<a href="http://www.butlife.com/i-wish/#comments">2 comments</a> |
<br/>
Post tags: <a href="http://www.butlife.com/tag/mood/" rel="tag">心情</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.butlife.com/i-wish/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>你不知道的事</title>
		<link>http://www.butlife.com/love-in-disguise/</link>
		<comments>http://www.butlife.com/love-in-disguise/#comments</comments>
		<pubDate>Sun, 06 Feb 2011 08:23:44 +0000</pubDate>
		<dc:creator>butlife</dc:creator>
				<category><![CDATA[Beautiful Life]]></category>
		<category><![CDATA[音乐]]></category>

		<guid isPermaLink="false">http://www.butlife.com/?p=1870</guid>
		<description><![CDATA[人生/追梦很重要/而珍惜你的身边的人/更加重要/幸福不在远方/就在眼前/如果你懂得珍惜]]></description>
			<content:encoded><![CDATA[<p>看《恋爱通告》这部电影是因为听到《你不知道的事》这首歌。老实说，还是喜欢里边简单的爱情。</p>
<div id="attachment_1871" class="wp-caption aligncenter" style="width: 410px"><a class="highslide img_9" rel="shadowbox" href="http://www.butlife.com/wp-content/uploads/2011/02/Love-in-Disguise1.jpg" onclick="return hs.expand(this)"><img class="size-medium wp-image-1871" title="Love in Disguise" src="http://www.butlife.com/wp-content/uploads/2011/02/Love-in-Disguise1-400x300.jpg" alt="恋爱通告" width="400" height="300" /></a><p class="wp-caption-text">恋爱通告</p></div>
<p>(...)<br/>Read the rest of <a href="http://www.butlife.com/love-in-disguise/">你不知道的事</a> (64 words)</p>
<hr />
<p><small>© butlife for <a href="http://www.butlife.com">ButLife</a>, 2011. |
<a href="http://www.butlife.com/love-in-disguise/">Permalink</a> |
<a href="http://www.butlife.com/love-in-disguise/#comments">2 comments</a> |
<br/>
Post tags: <a href="http://www.butlife.com/tag/music/" rel="tag">音乐</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.butlife.com/love-in-disguise/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CSS position 属性</title>
		<link>http://www.butlife.com/css-attr-position/</link>
		<comments>http://www.butlife.com/css-attr-position/#comments</comments>
		<pubDate>Fri, 21 Jan 2011 12:18:33 +0000</pubDate>
		<dc:creator>butlife</dc:creator>
				<category><![CDATA[Html]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.butlife.com/?p=1844</guid>
		<description><![CDATA[CSS position 属性定义建立元素布局所用的定位机制。任何元素都可以定位，不过绝对或固定元素会生成一个块级框，而不论该元素本身是什么类型。相对定位元素会相对于它在正常流中的默认位置偏移。]]></description>
			<content:encoded><![CDATA[<p>最近又开始折腾css，被div的布局搞得头大，position 这个属性原来用的就不好，趁这个机会好好学习下。</p>
<p><strong>定义和用法</strong></p>
<blockquote><p>position 属性规定元素的定位类型。</p></blockquote>
<p><strong>说明</strong></p>
<blockquote><p>这个属性定义建立元素布局所用的定位机制。任何元素都可以定位，不过绝对或固定元素会生成一个块级框，而不论该元素本身是什么类型。相对定位元素会相对于它在正常流中的默认位置偏移。</p>
<p>默认值： static<br />
继承性： no<br />
版本： CSS2<br />
JavaScript 语法： object.style.position=&#8221;absolute&#8221;</p></blockquote>
<p><strong>浏览器支持</strong></p>
<blockquote><p>所有主流浏览器都支持 position 属性。</p>
<p>注释：任何的版本的 Internet Explorer （包括 IE8）都不支持属性值 &#8220;inherit&#8221;。</p></blockquote>
<p><strong>(...)<br/>Read the rest of <a href="http://www.butlife.com/css-attr-position/">CSS position 属性</a> (125 words)</p>
<hr />
<p><small>© butlife for <a href="http://www.butlife.com">ButLife</a>, 2011. |
<a href="http://www.butlife.com/css-attr-position/">Permalink</a> |
<a href="http://www.butlife.com/css-attr-position/#comments">No comment</a> |
<br/>
Post tags: <a href="http://www.butlife.com/tag/css/" rel="tag">CSS</a>, <a href="http://www.butlife.com/tag/html/" rel="tag">Html</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.butlife.com/css-attr-position/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>有希望是幸福的</title>
		<link>http://www.butlife.com/hope-happiness/</link>
		<comments>http://www.butlife.com/hope-happiness/#comments</comments>
		<pubDate>Sun, 16 Jan 2011 07:45:53 +0000</pubDate>
		<dc:creator>butlife</dc:creator>
				<category><![CDATA[Beautiful Life]]></category>
		<category><![CDATA[心情]]></category>

		<guid isPermaLink="false">http://www.butlife.com/?p=1837</guid>
		<description><![CDATA[有希望是幸福的。真的，有些话只有在经历过一些事以后才会懂得。]]></description>
			<content:encoded><![CDATA[<p>在家看《锦衣卫》，又听到那句“有希望是幸福的”。真的，有些话只有在经历过一些事以后才会懂得。</p>
<div id="attachment_1838" class="wp-caption aligncenter" style="width: 248px"><a class="highslide img_18" rel="shadowbox" href="http://www.butlife.com/wp-content/uploads/2011/01/hope-happiness.jpg" onclick="return hs.expand(this)"><img class="size-medium wp-image-1838" title="有希望是幸福的" src="http://www.butlife.com/wp-content/uploads/2011/01/hope-happiness-238x300.jpg" alt="有希望是幸福的" width="238" height="300" /></a><p class="wp-caption-text">有希望是幸福的</p></div>
<p>(...)<br/>Read the rest of <a href="http://www.butlife.com/hope-happiness/">有希望是幸福的</a> (6 words)</p>
<hr />
<p><small>© butlife for <a href="http://www.butlife.com">ButLife</a>, 2011. |
<a href="http://www.butlife.com/hope-happiness/">Permalink</a> |
<a href="http://www.butlife.com/hope-happiness/#comments">2 comments</a> |
<br/>
Post tags: <a href="http://www.butlife.com/tag/mood/" rel="tag">心情</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.butlife.com/hope-happiness/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>地球上的星星</title>
		<link>http://www.butlife.com/taare-zameen-par/</link>
		<comments>http://www.butlife.com/taare-zameen-par/#comments</comments>
		<pubDate>Tue, 11 Jan 2011 13:17:24 +0000</pubDate>
		<dc:creator>butlife</dc:creator>
				<category><![CDATA[Beautiful Life]]></category>
		<category><![CDATA[电影]]></category>

		<guid isPermaLink="false">http://www.butlife.com/?p=1825</guid>
		<description><![CDATA[当我们慢慢长大/灵魂便一片片地遗失/顶替而上的是一片片的期望]]></description>
			<content:encoded><![CDATA[<p>很好的一部电影，让人不禁想起小时候，那些快乐和不快乐的日子。</p>
<div id="attachment_1826" class="wp-caption aligncenter" style="width: 434px"><a class="highslide img_19" rel="shadowbox" href="http://www.butlife.com/wp-content/uploads/2011/01/Taare-Zameen-Par-1.jpg" onclick="return hs.expand(this)"><img class="size-medium wp-image-1826" title="地球上的星星" src="http://www.butlife.com/wp-content/uploads/2011/01/Taare-Zameen-Par-1-424x300.jpg" alt="地球上的星星" width="424" height="300" /></a><p class="wp-caption-text">地球上的星星</p></div>
<p>(...)<br/>Read the rest of <a href="http://www.butlife.com/taare-zameen-par/">地球上的星星</a> (67 words)</p>
<hr />
<p><small>© butlife for <a href="http://www.butlife.com">ButLife</a>, 2011. |
<a href="http://www.butlife.com/taare-zameen-par/">Permalink</a> |
<a href="http://www.butlife.com/taare-zameen-par/#comments">4 comments</a> |
<br/>
Post tags: <a href="http://www.butlife.com/tag/movie/" rel="tag">电影</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.butlife.com/taare-zameen-par/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>基于方法的查询语法</title>
		<link>http://www.butlife.com/method-based-query-syntax/</link>
		<comments>http://www.butlife.com/method-based-query-syntax/#comments</comments>
		<pubDate>Mon, 03 Jan 2011 14:09:22 +0000</pubDate>
		<dc:creator>butlife</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Entity Framework]]></category>
		<category><![CDATA[LINQ to Entities]]></category>

		<guid isPermaLink="false">http://www.butlife.com/?p=1789</guid>
		<description><![CDATA[LINQ to Entities 提供语言集成查询 (LINQ) 支持，它允许开发人员使用 Visual Basic 或 Visual C# 根据实体框架概念模型编写查询。]]></description>
			<content:encoded><![CDATA[<p> 实体框架(<strong>Entity Framework </strong>)是 <strong>ADO.NET </strong>中的一套支持开发面向数据的软件应用程序的技术。</p>
<p> <strong>LINQ to Entities</strong> 提供语言集成查询 (<strong>LINQ</strong>) 支持，它允许开发人员使用 <strong>Visual Basic </strong>或 <strong>Visual C#</strong> 根据实体框架概念模型编写查询。针对实体框架的查询由针对对象上下文执行的命令目录树查询表示。<strong>LINQ to Entities </strong>将语言集成查询 (<strong>LINQ</strong>) 查询转换为命令目录树查询，针对实体框架执行这些查询，并返回可同时由实体框架和 <strong>LINQ</strong> 使用的对象。</p>
<p>下面列出一些基于方法的查询语法示例(C#)：</p>
<blockquote><p>投影  <a href="#select">Select </a>| <a href="#SelectMany">SelectMany</a></p>
<p>筛选 <a href="#Where">Where </a>| <a href="#WhereContains">Where…Contains</a></p>
<p>排序 <a href="#ThenBy">ThenBy</a> | <a href="#ThenByDescending">ThenByDescending</a></p>
<p>聚合运算符 <a href="#Average">Average</a> | <a href="#Count">Count</a> | <a href="#LongCount">LongCount</a> | <a href="#Max">Max</a> | <a href="#Min">Min</a> | <a href="#Sum">Sum</a></p>
<p>分区 <a href="#Skip">Skip</a> | <a href="#Take">Take</a></p>
<p>转换 <a href="#ToArray">ToArray</a> | <a href="#ToDictionary">ToDictionary</a> | <a href="#ToList">ToList</a></p>
<p>联接运算符 <a href="#GroupJoin">GroupJoin</a> | <a href="#Join">Join</a></p>
<p>元素运算符 <a href="#First">First</a></p>
<p>分组 <a href="#GroupBy">GroupBy</a></p>
<p><a href="#lend">导航关系</a></p></blockquote>
<p>(...)<br/>Read the rest of <a href="http://www.butlife.com/method-based-query-syntax/">基于方法的查询语法</a> (1,381 words)</p>
<hr />
<p><small>© butlife for <a href="http://www.butlife.com">ButLife</a>, 2011. |
<a href="http://www.butlife.com/method-based-query-syntax/">Permalink</a> |
<a href="http://www.butlife.com/method-based-query-syntax/#comments">No comment</a> |
<br/>
Post tags: <a href="http://www.butlife.com/tag/csharp/" rel="tag">C#</a>, <a href="http://www.butlife.com/tag/entity-framework/" rel="tag">Entity Framework</a>, <a href="http://www.butlife.com/tag/linq/" rel="tag">LINQ to Entities</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.butlife.com/method-based-query-syntax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>你见或者不见我</title>
		<link>http://www.butlife.com/i-miss-you/</link>
		<comments>http://www.butlife.com/i-miss-you/#comments</comments>
		<pubDate>Fri, 31 Dec 2010 15:50:12 +0000</pubDate>
		<dc:creator>butlife</dc:creator>
				<category><![CDATA[Beautiful Life]]></category>
		<category><![CDATA[心情]]></category>

		<guid isPermaLink="false">http://www.butlife.com/?p=1783</guid>
		<description><![CDATA[你见，或者不见我/我就在那里/不悲 不喜/你念，或者不念我/情就在那里/不来 不去/你爱，或者不爱我/爱就在那里/不增 不减/你跟，或者不跟我/我的手就在你手里/不舍不弃/来我的怀里， 或者/让我住进你的心里/默然相爱　寂静欢喜]]></description>
			<content:encoded><![CDATA[<p>忘了在谁的空间里看到这样的句子：“你见或者不见我，我就在那里，不悲 不喜……”。我还想，什么时候变情圣了。今天跟朋友聊天的时候才知道原来是《非诚勿扰2》里边的，百度一下又知道原来是仓央嘉措写的诗。虽然娇情，但是挺喜欢的。</p>
<div id="attachment_1784" class="wp-caption aligncenter" style="width: 410px"><a class="highslide img_23" rel="shadowbox" href="http://www.butlife.com/wp-content/uploads/2010/12/you-see-or-not-see-me.jpg" onclick="return hs.expand(this)"><img class="size-medium wp-image-1784" title="你见或者不见我" src="http://www.butlife.com/wp-content/uploads/2010/12/you-see-or-not-see-me-400x300.jpg" alt="你见或者不见我" width="400" height="300" /></a><p class="wp-caption-text">你见或者不见我</p></div>
<p>(...)<br/>Read the rest of <a href="http://www.butlife.com/i-miss-you/">你见或者不见我</a> (23 words)</p>
<hr />
<p><small>© butlife for <a href="http://www.butlife.com">ButLife</a>, 2010. |
<a href="http://www.butlife.com/i-miss-you/">Permalink</a> |
<a href="http://www.butlife.com/i-miss-you/#comments">4 comments</a> |
<br/>
Post tags: <a href="http://www.butlife.com/tag/mood/" rel="tag">心情</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.butlife.com/i-miss-you/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>JavaScript块级作用域</title>
		<link>http://www.butlife.com/javascript-block-scope/</link>
		<comments>http://www.butlife.com/javascript-block-scope/#comments</comments>
		<pubDate>Thu, 30 Dec 2010 05:21:35 +0000</pubDate>
		<dc:creator>butlife</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.butlife.com/?p=1761</guid>
		<description><![CDATA[JavaScript中没有块级作用域的概念。这意味着在块语句中定义的变量，实际上是在包含函数中而非语句中创建的。]]></description>
			<content:encoded><![CDATA[<p>最近在看《JavaScript高级编程2》，很实用的一本书。<br />
自己用原生的JavaScript不多，常用的是jQuery，有时候对jQuery的一些写法并不是很理解，下面的内容很基础，但是很能解决问题。<br />
JavaScript中没有块级作用域的概念。这意味着在块语句中定义的变量，实际上是在包含函数中而非语句中创建的，来看下面的例子：</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> outputNumbers<span style="color: #009900;">&#40;</span>count<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    <span style="color: #000066; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> count<span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
        <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>i<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
    <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>i<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">//count</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>这个函数中定义了一个for循环，而变量i的初始值被设置为0。在java、c++语言中，变量i只会在for循环的语句块中定义，循环一旦结束，变量i就会被销毁。可是在JavaScript中，变量i是定义在outputNumbers()的活动对象中的，因此从它有定义开始，就可以函内部随处访问它。即使像在下边样的错误的重新声明同一个变量，也不会改变它的值：</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> outputNumbers<span style="color: #009900;">&#40;</span>count<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> count<span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>i<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
    <span style="color: #003366; font-weight: bold;">var</span> i<span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">//重新声明变量</span>
    <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>i<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">//count</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>(...)<br/>Read the rest of <a href="http://www.butlife.com/javascript-block-scope/">JavaScript块级作用域</a> (85 words)</p>
<hr />
<p><small>© butlife for <a href="http://www.butlife.com">ButLife</a>, 2010. |
<a href="http://www.butlife.com/javascript-block-scope/">Permalink</a> |
<a href="http://www.butlife.com/javascript-block-scope/#comments">No comment</a> |
<br/>
Post tags: <a href="http://www.butlife.com/tag/javascript/" rel="tag">JavaScript</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.butlife.com/javascript-block-scope/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>羞耻心</title>
		<link>http://www.butlife.com/schamgefuehl/</link>
		<comments>http://www.butlife.com/schamgefuehl/#comments</comments>
		<pubDate>Mon, 27 Dec 2010 12:16:03 +0000</pubDate>
		<dc:creator>butlife</dc:creator>
				<category><![CDATA[Beautiful Life]]></category>
		<category><![CDATA[杂言]]></category>

		<guid isPermaLink="false">http://www.butlife.com/?p=1749</guid>
		<description><![CDATA[孟子说：“耻之于人大矣，存之则进于圣贤，失之则入于禽兽。”。]]></description>
			<content:encoded><![CDATA[<p>手边的事终于要告一个段落了。一下子闲下来倒有些不习惯，不知道要做些什么来打发时间。看着日历上2011年的到来，好像也没有那么多时间可以用来消遣了。</p>
<div id="attachment_1751" class="wp-caption aligncenter" style="width: 441px"><a class="highslide img_24" rel="shadowbox" href="http://www.butlife.com/wp-content/uploads/2010/12/Schamgefuehl.jpg" onclick="return hs.expand(this)"><img class="size-medium wp-image-1751" title="羞耻心" src="http://www.butlife.com/wp-content/uploads/2010/12/Schamgefuehl-431x300.jpg" alt="羞耻心" width="431" height="300" /></a><p class="wp-caption-text">羞耻心</p></div>
<p>(...)<br/>Read the rest of <a href="http://www.butlife.com/schamgefuehl/">羞耻心</a> (13 words)</p>
<hr />
<p><small>© butlife for <a href="http://www.butlife.com">ButLife</a>, 2010. |
<a href="http://www.butlife.com/schamgefuehl/">Permalink</a> |
<a href="http://www.butlife.com/schamgefuehl/#comments">No comment</a> |
<br/>
Post tags: <a href="http://www.butlife.com/tag/think/" rel="tag">杂言</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.butlife.com/schamgefuehl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>天下有情人</title>
		<link>http://www.butlife.com/all-of-lovers/</link>
		<comments>http://www.butlife.com/all-of-lovers/#comments</comments>
		<pubDate>Tue, 23 Nov 2010 13:57:28 +0000</pubDate>
		<dc:creator>butlife</dc:creator>
				<category><![CDATA[Beautiful Life]]></category>
		<category><![CDATA[心情]]></category>
		<category><![CDATA[音乐]]></category>

		<guid isPermaLink="false">http://www.butlife.com/?p=1743</guid>
		<description><![CDATA[爱是迷迷糊糊天地初开的时候那已经盛放的玫瑰/爱是踏破红尘望穿秋水只因为爱过的人不说后悔/爱是一生一世一次一次的轮回不管在东南和西北/爱是一段一段一丝一丝的是非教有情人再不能够说再会/爱是一朵六月天飘下来的雪花还没结果已经枯萎/爱是一滴擦不干烧不完的眼泪还没凝固已经成灰]]></description>
			<content:encoded><![CDATA[<p>天下有情人。1995版《神雕侠侣》里边的。</p>
<div id="attachment_1745" class="wp-caption aligncenter" style="width: 250px"><a class="highslide img_25" rel="shadowbox" href="http://www.butlife.com/wp-content/uploads/2010/11/all-of-lovers.jpg" onclick="return hs.expand(this)"><img class="size-medium wp-image-1745" title="all of lovers" src="http://www.butlife.com/wp-content/uploads/2010/11/all-of-lovers-240x300.jpg" alt="all of lovers" width="240" height="300" /></a><p class="wp-caption-text">all of lovers</p></div>
<p>这两天中午休息的时候在看《神雕侠侣》，古天乐、李若彤演的。15年前的片子，想想那会自己还是小学生，天天粘着看。现在再看的时候感觉还是挺好的。</p>
<p>(...)<br/>Read the rest of <a href="http://www.butlife.com/all-of-lovers/">天下有情人</a> (38 words)</p>
<hr />
<p><small>© butlife for <a href="http://www.butlife.com">ButLife</a>, 2010. |
<a href="http://www.butlife.com/all-of-lovers/">Permalink</a> |
<a href="http://www.butlife.com/all-of-lovers/#comments">8 comments</a> |
<br/>
Post tags: <a href="http://www.butlife.com/tag/mood/" rel="tag">心情</a>, <a href="http://www.butlife.com/tag/music/" rel="tag">音乐</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.butlife.com/all-of-lovers/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>面朝大海，春暖花开</title>
		<link>http://www.butlife.com/facing-the-sea-with-spring-blossoms/</link>
		<comments>http://www.butlife.com/facing-the-sea-with-spring-blossoms/#comments</comments>
		<pubDate>Sun, 14 Nov 2010 07:40:11 +0000</pubDate>
		<dc:creator>butlife</dc:creator>
				<category><![CDATA[Beautiful Life]]></category>
		<category><![CDATA[心情]]></category>

		<guid isPermaLink="false">http://www.butlife.com/?p=1723</guid>
		<description><![CDATA[《面朝大海，春暖花开》- 海子。这个用心灵歌唱着的诗人，一直都在渴望倾听远离尘嚣的美丽回音，他与世俗的生活相隔遥远，甚而一生都在企图摆脱尘世的羁绊与牵累。]]></description>
			<content:encoded><![CDATA[<p>面朝大海，春暖花开。好友发来的句子。问我出处，谁写的不知道，反正很美。</p>
<div id="attachment_1724" class="wp-caption aligncenter" style="width: 459px"><a class="highslide img_26" rel="shadowbox" href="http://www.butlife.com/wp-content/uploads/2010/11/facing-the-sea-with-spring-blossoms.jpg" onclick="return hs.expand(this)"><img class="size-medium wp-image-1724" title="做一个幸福的人" src="http://www.butlife.com/wp-content/uploads/2010/11/facing-the-sea-with-spring-blossoms-449x299.jpg" alt="做一个幸福的人" width="449" height="299" /></a><p class="wp-caption-text">做一个幸福的人</p></div>
<p>(...)<br/>Read the rest of <a href="http://www.butlife.com/facing-the-sea-with-spring-blossoms/">面朝大海，春暖花开</a> (144 words)</p>
<hr />
<p><small>© butlife for <a href="http://www.butlife.com">ButLife</a>, 2010. |
<a href="http://www.butlife.com/facing-the-sea-with-spring-blossoms/">Permalink</a> |
<a href="http://www.butlife.com/facing-the-sea-with-spring-blossoms/#comments">2 comments</a> |
<br/>
Post tags: <a href="http://www.butlife.com/tag/mood/" rel="tag">心情</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.butlife.com/facing-the-sea-with-spring-blossoms/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>经典T-SQL［取汉字字符串首字母］</title>
		<link>http://www.butlife.com/sqlserver-user-function-getpy/</link>
		<comments>http://www.butlife.com/sqlserver-user-function-getpy/#comments</comments>
		<pubDate>Sun, 14 Nov 2010 02:15:11 +0000</pubDate>
		<dc:creator>butlife</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.butlife.com/?p=1718</guid>
		<description><![CDATA[最近才开始用到MS SQL SERVER的自定义函数，很好很强大。用这个函数可以很方便的实现按汉字首字母搜索的功能。]]></description>
			<content:encoded><![CDATA[<p>最近才开始用到MS SQL SERVER的自定义函数，很好很强大。用这个函数可以很方便的实现按汉字首字母搜索的功能。</p>
<p>有发现一个问题，这个函数对有些字取首字母的时候不是很准确。</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> dbo<span style="color: #66cc66;">.</span>fun_getPY<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'属'</span><span style="color: #66cc66;">&#41;</span>  <span style="color: #993333; font-weight: bold;">FIRST</span></pre></td></tr></table></div>

<p>这个是结果：</p>
<blockquote><p>first<br />
&#8212;&#8212;&#8212;&#8211;<br />
Z</p></blockquote>
<p>(...)<br/>Read the rest of <a href="http://www.butlife.com/sqlserver-user-function-getpy/">经典T-SQL［取汉字字符串首字母］</a> (195 words)</p>
<hr />
<p><small>© butlife for <a href="http://www.butlife.com">ButLife</a>, 2010. |
<a href="http://www.butlife.com/sqlserver-user-function-getpy/">Permalink</a> |
<a href="http://www.butlife.com/sqlserver-user-function-getpy/#comments">No comment</a> |
<br/>
Post tags: <a href="http://www.butlife.com/tag/sql/" rel="tag">SQL</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.butlife.com/sqlserver-user-function-getpy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>迷宫-王若琳</title>
		<link>http://www.butlife.com/start-from-here/</link>
		<comments>http://www.butlife.com/start-from-here/#comments</comments>
		<pubDate>Sat, 13 Nov 2010 12:44:49 +0000</pubDate>
		<dc:creator>butlife</dc:creator>
				<category><![CDATA[Beautiful Life]]></category>
		<category><![CDATA[音乐]]></category>

		<guid isPermaLink="false">http://www.butlife.com/?p=1713</guid>
		<description><![CDATA[Joanna的歌声有如红酒带来的一丝醉意，却又有咖啡一般的神秘刺激感，自有一股爵士风情。]]></description>
			<content:encoded><![CDATA[<p>自己的随身听常常被同事拿去当U盘传文件来用，于是有一天我发现上边多了一首歌。《迷宫-王若琳》很不错的歌，喜欢那种懒懒的声调。 </p>
<div id="attachment_1714" class="wp-caption aligncenter" style="width: 360px"><a class="highslide img_27" rel="shadowbox" href="http://www.butlife.com/wp-content/uploads/2010/11/Joanna.jpg" onclick="return hs.expand(this)"><img class="size-medium wp-image-1714" title="Joanna" src="http://www.butlife.com/wp-content/uploads/2010/11/Joanna-350x300.jpg" alt="Joanna" width="350" height="300" /></a><p class="wp-caption-text">Joanna</p></div>
<p> </p>
<p>(...)<br/>Read the rest of <a href="http://www.butlife.com/start-from-here/">迷宫-王若琳</a> (204 words)</p>
<hr />
<p><small>© butlife for <a href="http://www.butlife.com">ButLife</a>, 2010. |
<a href="http://www.butlife.com/start-from-here/">Permalink</a> |
<a href="http://www.butlife.com/start-from-here/#comments">2 comments</a> |
<br/>
Post tags: <a href="http://www.butlife.com/tag/music/" rel="tag">音乐</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.butlife.com/start-from-here/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SqlServer自定义函数学习</title>
		<link>http://www.butlife.com/sqlserver-user-function/</link>
		<comments>http://www.butlife.com/sqlserver-user-function/#comments</comments>
		<pubDate>Sat, 13 Nov 2010 05:47:30 +0000</pubDate>
		<dc:creator>butlife</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.butlife.com/?p=1698</guid>
		<description><![CDATA[SqlServer自定义函数是由一个或多个 Transact-SQL 语句组成的子程序，可用于封装代码以便重新使用。Microsoft® SQL Server™ 2000 并不将用户限制在定义为 Transact-SQL 语言一部分的内置函数上，而是允许用户创建自己的用户定义函数。]]></description>
			<content:encoded><![CDATA[<p><strong>SqlServer</strong>自定义函数是由一个或多个 Transact-SQL 语句组成的子程序，可用于封装代码以便重新使用。<strong>Microsoft® SQL Server™ 2000 </strong>并不将用户限制在定义为 <strong>Transact-SQL </strong>语言一部分的内置函数上，而是允许用户创建自己的用户定义函数。</p>
<p>可使用 <strong>CREATE FUNCTION</strong> 语句创建、使用 <strong>ALTER FUNCTION</strong> 语句修改、以及使用 <strong>DROP FUNCTION</strong> 语句除去用户定义函数。每个完全合法的用户定义函数名</p>
<blockquote><p>(database_name.owner_name.function_name)</p></blockquote>
<p>必须唯一。</p>
<p>必须被授予 <strong>CREATE FUNCTION</strong> 权限才能创建、修改或除去用户定义函数。不是所有者的用户在 <strong>Transact-SQL</strong> 语句中使用某个函数之前，必须先给此用户授予该函数的适当权限。若要创建或更改在 <strong>CHECK</strong> 约束、<strong>DEFAULT </strong>子句或计算列定义中引用用户定义函数的表，还必须具有函数的 <strong>REFERENCES</strong> 权限。</p>
<p>在函数中，区别处理导致删除语句并且继续在诸如触发器或存储过程等模式中的下一语句的 <strong>Transact-SQL </strong>错误。在函数中，上述错误会导致停止执行函数。接下来该操作导致停止唤醒调用该函数的语句。</p>
<p><strong>SQL Server 2000 </strong>支持三种用户定义函数：</p>
<blockquote><p>标量函数<br />
内嵌表值函数<br />
多语句表值函数</p></blockquote>
<p>(...)<br/>Read the rest of <a href="http://www.butlife.com/sqlserver-user-function/">SqlServer自定义函数学习</a> (229 words)</p>
<hr />
<p><small>© butlife for <a href="http://www.butlife.com">ButLife</a>, 2010. |
<a href="http://www.butlife.com/sqlserver-user-function/">Permalink</a> |
<a href="http://www.butlife.com/sqlserver-user-function/#comments">No comment</a> |
<br/>
Post tags: <a href="http://www.butlife.com/tag/sql/" rel="tag">SQL</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.butlife.com/sqlserver-user-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

