<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_OQL and O/R Mapping</title><subtitle type="text">思维 - 现实 - 思维</subtitle><id>http://feed.cnblogs.com/blog/u/20668/rss</id><updated>2006-10-30T07:53:00Z</updated><author><name>Kimphi</name><uri>http://www.cnblogs.com/Kimphi/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Kimphi/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/20668/rss"/><entry><id>http://www.cnblogs.com/Kimphi/archive/2006/10/29/543691.html</id><title type="text">人居然能懒惰到这种程度，严厉谴责这样的抄袭行为</title><summary type="text">好久没空来博客园，今天回来一看，居然看到这样的抄袭行为：&#xD;&#xD;NQL.NET 数据库对象查询语言简介 严重抄袭我们的 OQL.NET 对象查询语言 的文字和示例！&#xD;&#xD;不仅说明文字和我们的一样，很多例子也原封不动地照抄我们的在线文档。&#xD;&#xD;我们不反对借鉴和学习，但我们强烈反对这种复制/粘贴式的抄袭！</summary><published>2006-10-29T09:39:00Z</published><updated>2006-10-29T09:39:00Z</updated><author><name>Kimphi</name><uri>http://www.cnblogs.com/Kimphi/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Kimphi/archive/2006/10/29/543691.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Kimphi/archive/2006/10/29/543691.html"/></entry><entry><id>http://www.cnblogs.com/Kimphi/archive/2006/09/21/510232.html</id><title type="text">oql.net 教程 1 – select 语句</title><summary type="text">本系列教程将全面介绍 oql.net ，包括 select、insert、update 和 delete 语句，也包括 select、from、join、on、where、group by、having、order by 和 case 子句。&#xD;……&#xD;SelectQuery query = OQL&#xD;　.SelectFrom(NW.Order)&#xD;　.Where(&#xD;　　NW.Order.CustomerID.In(OQL&#xD;　　　.Select(NW.Customer.CustomerID)&#xD;　　　.From(NW.Customer)&#xD;　　　.Where(NW.Customer.ContactTitle == "Owner")&#xD;　　)&#xD;　);&#xD;……&#xD;SelectQuery query = OQL&#xD;　.SelectWhere(NW.Order == (NW.Customer.ContactTitle == "Owner"));&#xD;</summary><published>2006-09-20T18:09:00Z</published><updated>2006-09-20T18:09:00Z</updated><author><name>Kimphi</name><uri>http://www.cnblogs.com/Kimphi/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Kimphi/archive/2006/09/21/510232.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Kimphi/archive/2006/09/21/510232.html"/></entry><entry><id>http://www.cnblogs.com/Kimphi/archive/2006/09/18/507080.html</id><title type="text">变更授权：CodeAuto Studio 取消对个人用户的试用期限制</title><summary type="text">为了方便大家使用 CodeAuto 代码生成器，我们取消了 CodeAuto Studio 个人用户的试用期限制。</summary><published>2006-09-18T01:29:00Z</published><updated>2006-09-18T01:29:00Z</updated><author><name>Kimphi</name><uri>http://www.cnblogs.com/Kimphi/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Kimphi/archive/2006/09/18/507080.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Kimphi/archive/2006/09/18/507080.html"/></entry><entry><id>http://www.cnblogs.com/Kimphi/archive/2006/09/11/500536.html</id><title type="text">大话 O/R Mapping ：O 和 R 的童话</title><summary type="text">小 O 出生在 OO 国一个山清水秀的村庄，那里空气清新，蓝天碧水，世外桃源般的生活孕育了淳朴的民风。据说这里是 OO 国开国君主的故乡，村庄至今仍保持着古老的风俗习惯。对尚未成年的小 O 来说，村庄的生活无忧无虑，“啊，世界多么美好”。&#xD;……&#xD;和护士聊天中，小 O 终于弄明白了原来那些 SQL 拖斗汽车都是 R 国的关系数据库集团生产的。OO 国国土面积有限，只能发展轻工业，无法发展重工业，而 R 国幅员辽阔，重工业极其发达。近年来 OO 国经济发展迅速，建设任务繁重，又没有自己的汽车工业，SQL 汽车载得多跑得快，OO 国只好从 R 国大量进口。同时 OO 国的矿石经跨国物流公司用 SQL 汽车源源不断地运往 R 国进行加工，再源源不断地运回 OO 国的建设工地，资源匮乏的 OO 国很多时候干脆直接从 R 国进口钢筋水泥等建筑材料。经济的飞速发展也让 OO 国付出了沉重的代价：SQL 汽车尾气严重超标，大气污染日益严重，致使 OO 国每年在环境治理上花费无数的银子。而且 SQL 汽车没有篷，一碰到到下雨天，人和货物都无法保全，经常造成重大财产损失。&#xD;……</summary><published>2006-09-10T16:18:00Z</published><updated>2006-09-10T16:18:00Z</updated><author><name>Kimphi</name><uri>http://www.cnblogs.com/Kimphi/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Kimphi/archive/2006/09/11/500536.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Kimphi/archive/2006/09/11/500536.html"/></entry><entry><id>http://www.cnblogs.com/Kimphi/archive/2006/09/06/495875.html</id><title type="text">代码生成工具的分类及比较</title><summary type="text">中国有句古语叫做“工欲善其事，必先利其器”，用通俗的话来说就是“磨刀不误砍柴功”，古人的这些话告诉我们：要把事情做好，事先应该准备合适的工具。工具不仅仅包括器具，还包括思想、理论、经验、道德、法律等一切能解决问题的有形和无形的东西。&#xD; &#xD;在你需要一些重复或者相似的代码时，就应该准备好一款名叫“代码生成器”的利器。说到代码生成器，很多人误以为它只能生成程序代码。其实一款灵活的代码生成器还能够生成报表、帮助等一切文本或基于文本的文件（比如 CHM）；好的代码生成器的数据来源不仅仅是数据库架构，也可以是数据库数据，还可以是 XML 等其它数据。</summary><published>2006-09-05T16:49:00Z</published><updated>2006-09-05T16:49:00Z</updated><author><name>Kimphi</name><uri>http://www.cnblogs.com/Kimphi/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Kimphi/archive/2006/09/06/495875.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Kimphi/archive/2006/09/06/495875.html"/></entry><entry><id>http://www.cnblogs.com/Kimphi/archive/2006/09/03/493705.html</id><title type="text">在 DLinq 发布之前用什么查询数据？OQL.NET 介绍 (1)</title><summary type="text">&#xD;DLinq 无疑将成为今后数据库处理的利器之一，它具有语言无关、强类型、编译检查等优点。虽然 DLinq 自出现以来受到的褒贬不一，目前也只是支持 SQL Server，但这不是本文要讨论的话题。 &#xD;&#xD;在 DLinq 发布之前，然道我们依旧只能用字符串拼拼凑凑，来写那些难以维护的 SQL 语句？也许有人会说，用 O/R Mapping 吧。我们应该看到 O/R Mapping 并不是包治百病的良药，在处理复杂的查询时，O/R Mapping 就不合适了，这时大多数人的选择还是基于字符串的 SQL 语句。&#xD;</summary><published>2006-09-03T07:27:00Z</published><updated>2006-09-03T07:27:00Z</updated><author><name>Kimphi</name><uri>http://www.cnblogs.com/Kimphi/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Kimphi/archive/2006/09/03/493705.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Kimphi/archive/2006/09/03/493705.html"/></entry><entry><id>http://www.cnblogs.com/Kimphi/archive/2006/09/03/493517.html</id><title type="text">发布 OQL.NET 2.0.0.1056</title><summary type="text">OQL.NET 是完全面向对象的、强类型的数据库查询语言，您编写的 OQL 查询语句随着您的应用程序一起编译。这样，OQL.NET 对象查询语言使您能在编译时发现数据库查询语句的错误，而不是延迟到运行时才进行艰难的除错工作。当数据库的架构改变时，通过（使用Macrobject CodeAuto 等代码生成工具）重新生成查询类代码，再次编译应用程序时，通过编译错误便能发现需要修改的 OQL 语句。</summary><published>2006-09-03T02:27:00Z</published><updated>2006-09-03T02:27:00Z</updated><author><name>Kimphi</name><uri>http://www.cnblogs.com/Kimphi/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Kimphi/archive/2006/09/03/493517.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Kimphi/archive/2006/09/03/493517.html"/></entry><entry><id>http://www.cnblogs.com/Kimphi/archive/2006/09/01/492328.html</id><title type="text">发布 CodeAuto 代码生成器 2.1.0.461 中英文双语版</title><summary type="text">Macrobject CodeAuto 是一个基于模板的代码生成工具 (Code Generator)，它能从数据库架构、数据库数据、XML及其它数据源生成各种文本文件。</summary><published>2006-09-01T08:08:00Z</published><updated>2006-09-01T08:08:00Z</updated><author><name>Kimphi</name><uri>http://www.cnblogs.com/Kimphi/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Kimphi/archive/2006/09/01/492328.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Kimphi/archive/2006/09/01/492328.html"/></entry></feed>
