<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/ojekleen" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/ojekleen" type="application/rss+xml"></fs:self_link><lastBuildDate>Tue, 23 Dec 2008 14:10:00 GMT</lastBuildDate><title>DonNet技术专栏</title><description>学习是有始无终的事情</description><link>http://blog.csdn.net/ojekleen/</link><item><title>Galbanum之08总结</title><link>http://blog.csdn.net/ojekleen/archive/2008/12/23/3589290.aspx</link><wfw:comment>http://blog.csdn.net/ojekleen/comments/3589290.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ojekleen/comments/commentRss/3589290.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3589290</trackback:ping><description>或许是项目的不可取性,也或许是个人的文字功能不佳,也或许是其他的或许.项目至今仍是一个人在做.但有幸的是,CSDN每一篇都有在首页推荐,在些感谢CSDN.在使用.net开发中，大部分都使用着自己公司的框架。并不像java那么一致，大凡使用着hiberante+spring。在.net界貌似这两样并不是非常火，很多人更习惯于使用适合于自己的项目的框架。我也曾使用过许多框架，心中也一直育浴着适合于自己的东西.最近也抽空干了起来,一开始时本来想开源起来,然后让一些感兴趣的朋友加入并一起探讨,共同进步.没想到后来几乎还是一个人在写代码.呵呵,或许是因为人生势小的原因吧. 但不管咋样,一个人的代码还是要拿出来给大家分享分享的.一来呢或许可以帮助些人,(如果这样也算是如愿了).二来也好让大家分析分析其中的弊端,也是个进步的机会吧.全项目由于全是个人思想,所以如果有出入或者误导,那小弟我也就敬请见谅了.  既然是总结,也就得说说大致思想和在技术上的取舍方案.第一个是大家都可能比我还熟悉的Orm,思想启源于Nhibernate的attribu&lt;img src =&quot;http://blog.csdn.net/ojekleen/aggbug/3589290.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Tue, 23 Dec 2008 22:10:00 +0800</pubDate><author>周建城</author><comments>http://blog.csdn.net/ojekleen/archive/2008/12/23/3589290.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/ojekleen/archive/2008/12/23/3589290.aspx</guid><dc:creator>周建城</dc:creator></item><item><title>Galbanum之Ioc(一)</title><link>http://blog.csdn.net/ojekleen/archive/2008/12/22/3583478.aspx</link><wfw:comment>http://blog.csdn.net/ojekleen/comments/3583478.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ojekleen/comments/commentRss/3583478.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3583478</trackback:ping><description>IOC是Galbanum在08年推出的最后一个项目了，主要是模仿spring.net的IOC容器，但是spring.net不同的是，在使用的时候，只要在web.config或者app.config中只要配置对象映射xml文件的地方，例：&lt;img src =&quot;http://blog.csdn.net/ojekleen/aggbug/3583478.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Tue, 23 Dec 2008 00:11:00 +0800</pubDate><author>周建城</author><comments>http://blog.csdn.net/ojekleen/archive/2008/12/22/3583478.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/ojekleen/archive/2008/12/22/3583478.aspx</guid><dc:creator>周建城</dc:creator></item><item><title>Galbanum之Logger(二)</title><link>http://blog.csdn.net/ojekleen/archive/2008/12/19/3557571.aspx</link><wfw:comment>http://blog.csdn.net/ojekleen/comments/3557571.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ojekleen/comments/commentRss/3557571.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3557571</trackback:ping><description>在上面代码使用的时候还必须配置你的app.config或者是web.config，还要自定义一个OrmStyle继承ILoggerStyle接口&lt;br /&gt;我是控制台程序，配置是的app.config配置如下：&lt;img src =&quot;http://blog.csdn.net/ojekleen/aggbug/3557571.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Fri, 19 Dec 2008 21:14:00 +0800</pubDate><author>周建城</author><comments>http://blog.csdn.net/ojekleen/archive/2008/12/19/3557571.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/ojekleen/archive/2008/12/19/3557571.aspx</guid><dc:creator>周建城</dc:creator></item><item><title>Galbanum之Logger(一)</title><link>http://blog.csdn.net/ojekleen/archive/2008/12/19/3557450.aspx</link><wfw:comment>http://blog.csdn.net/ojekleen/comments/3557450.aspx</wfw:comment><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/ojekleen/comments/commentRss/3557450.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3557450</trackback:ping><description>一直在用log4net,最近也大致看了下里面的代码,总感觉配置文件复杂和格式太单一,于是最近自己封装了这个项目.功能当然比前面的相对单一,但是可以自定义样式和通过配置文件来设置Logger保存地址,现有Logger文件命名方法是 DateTime.Now.Date.ToString(&quot;yyyyMMdd&quot;)+&quot;.log&quot;;该项目主要有3个接口,ILogger实现记录日志,ILoggerStyle自定义日志样式,ILoggerEntity即日志实体,自己定该实体.设计的方案是,使用者自定义实体,把实体参给ILogger记录日志的方法,该方法记录实体的日志,而实体有2个必须实现属性,即定义在ILoggerEntity的属性 ILoggerStyle Style {get;set;}  和 string PathKey{get;set;}第一个是该日志实体的样式,第二个为在配置文件中日志写入的路径信息.该项目主要有2个Hander,分别实现IConfigurationSectionHandler,即可在配置文件中自定义节点,并且有两个工厂类,两个类即通过配置文件来缓&lt;img src =&quot;http://blog.csdn.net/ojekleen/aggbug/3557450.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Fri, 19 Dec 2008 20:54:00 +0800</pubDate><author>周建城</author><comments>http://blog.csdn.net/ojekleen/archive/2008/12/19/3557450.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/ojekleen/archive/2008/12/19/3557450.aspx</guid><dc:creator>周建城</dc:creator></item><item><title>也谈IConfigurationSectionHandler接口</title><link>http://blog.csdn.net/ojekleen/archive/2008/12/17/3540567.aspx</link><wfw:comment>http://blog.csdn.net/ojekleen/comments/3540567.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ojekleen/comments/commentRss/3540567.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3540567</trackback:ping><description>IConfigurationSectionHandler,自定义配置节点,web.config,app.config,IConfigurationSectionHandler接口也是大家讨论的比较多的接口之一,所以我在这也只能称为追追前人的尾巴,帮名为也谈.实现该接口的用途或许大家都有些了解,主要是在配置文件中自点定配置节点.在web中有web.config,在win或者控制台程序中有app.config.或者大家都使用过很多开源的框架,特别是一些IOC的项目,如:spring.net之类的.当你使用他们的时候,需求一段的配置文件和XML文件,而配置文件节点中必有的就是自定义节点的申明了.&lt;img src =&quot;http://blog.csdn.net/ojekleen/aggbug/3540567.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 18 Dec 2008 00:12:00 +0800</pubDate><author>周建城</author><comments>http://blog.csdn.net/ojekleen/archive/2008/12/17/3540567.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/ojekleen/archive/2008/12/17/3540567.aspx</guid><dc:creator>周建城</dc:creator></item><item><title>Galbanum之Cache(一)</title><link>http://blog.csdn.net/ojekleen/archive/2008/12/11/3498577.aspx</link><wfw:comment>http://blog.csdn.net/ojekleen/comments/3498577.aspx</wfw:comment><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/ojekleen/comments/commentRss/3498577.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3498577</trackback:ping><description>asp.net提供缓存机制，但是很多的winForm和类库中也同样希望能使用上缓存，GalBanum.Cache正是提供这样的功能，主要有ICache接口，HashTableCache类继承ICache接口，CacheFactory工厂生产ICache，CacheEntity保存缓存的value和key，整体是通过静态Dictionary来保CacheEntity，然后再起子线程定时循环临控缓存是否过期，过期则删除，由于Dictionary不能在迭代的时候发生操作，所以用了一个静态的List keys来同步保存key值。Cache.dll文件下载地址：Galbanum.Cache源代码下载地址：缓存使用方法代码如下：首先得using Cache;protectedvoid UseCache()    {        ICache hcc = CacheFactory.GetCache();using (IDataBase dbase = DataBaseFactory.GetDataBase(&quot;conn1&quot;)) &lt;img src =&quot;http://blog.csdn.net/ojekleen/aggbug/3498577.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 11 Dec 2008 23:39:00 +0800</pubDate><author>周建城</author><comments>http://blog.csdn.net/ojekleen/archive/2008/12/11/3498577.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/ojekleen/archive/2008/12/11/3498577.aspx</guid><dc:creator>周建城</dc:creator></item><item><title>Galbanum 之Orm(四)</title><link>http://blog.csdn.net/ojekleen/archive/2008/12/10/3492748.aspx</link><wfw:comment>http://blog.csdn.net/ojekleen/comments/3492748.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ojekleen/comments/commentRss/3492748.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3492748</trackback:ping><description>1。基于Attribute来映射表结构，主是有TableAttribute和ColumnAttribute,在TableAttribute拥有一个ColumAttribute的List集合，第一次TableFactory通过反射实体的类特性获取TableAttribute并同时通过反射实体的属性特性来添加到访TableAttribute的List中，之后表结构将用单件模式下的 Dictionary静态存于内存中，即，内存中存有表结构，在以后的获取中将提高性能减少反射。两个类的关系用UML表示为组合关系。2。实体保存是主要是通过上面所说的特性来获取表结构，并利用特性来创建一个IStatement(该接口主要封装.net中的DbCommand),在创建中利用策略模式通过接口ICreateStmt来设置CommandText和Parameters，然而为了减少反射获取实体的属性名称和值，于是 ICreateStmt接口中的CreateStmt()中，大凡封装了一个SetSqlParameters()（oracle数据库为 SetOracleParameters）方法，这个由实体类自己&lt;img src =&quot;http://blog.csdn.net/ojekleen/aggbug/3492748.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 11 Dec 2008 04:34:00 +0800</pubDate><author>周建城</author><comments>http://blog.csdn.net/ojekleen/archive/2008/12/10/3492748.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/ojekleen/archive/2008/12/10/3492748.aspx</guid><dc:creator>周建城</dc:creator></item><item><title>Galbanum之Orm(三)</title><link>http://blog.csdn.net/ojekleen/archive/2008/12/10/3492650.aspx</link><wfw:comment>http://blog.csdn.net/ojekleen/comments/3492650.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ojekleen/comments/commentRss/3492650.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3492650</trackback:ping><description>Galbanum ,orm,框架,.net.DotNet,&lt;img src =&quot;http://blog.csdn.net/ojekleen/aggbug/3492650.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 11 Dec 2008 04:16:00 +0800</pubDate><author>三尾</author><comments>http://blog.csdn.net/ojekleen/archive/2008/12/10/3492650.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/ojekleen/archive/2008/12/10/3492650.aspx</guid><dc:creator>三尾</dc:creator></item><item><title>Galbanum之Orm(二)</title><link>http://blog.csdn.net/ojekleen/archive/2008/12/10/3490521.aspx</link><wfw:comment>http://blog.csdn.net/ojekleen/comments/3490521.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ojekleen/comments/commentRss/3490521.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3490521</trackback:ping><description>看起来是不是和ado.net基本一样，呵呵，其实主是要提倡抽象编程，这样的主要功能是数据库移值的话是相当的方便，如果从Sql移值到Oracle, 你只要重构一下@全部换成:就OK了，不用像以前哪样一个一个把SqlParameter改成OracleParameter，

或许你IStatement接口提供的 int AddParameter(string name, object value);可以不能完全满足你的需求，于是提供了一个
 int AddParameter(DbParameter para);
这样你可以尽管实例出不同的parameter来写你想要写的，&lt;img src =&quot;http://blog.csdn.net/ojekleen/aggbug/3490521.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Wed, 10 Dec 2008 22:35:00 +0800</pubDate><author>三尾</author><comments>http://blog.csdn.net/ojekleen/archive/2008/12/10/3490521.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/ojekleen/archive/2008/12/10/3490521.aspx</guid><dc:creator>三尾</dc:creator></item><item><title>Galbanum 之Orm(一)</title><link>http://blog.csdn.net/ojekleen/archive/2008/12/10/3490245.aspx</link><wfw:comment>http://blog.csdn.net/ojekleen/comments/3490245.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ojekleen/comments/commentRss/3490245.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3490245</trackback:ping><description>Galbanum为小巫主发开源项目，其中思想大凡是我个人的，不足之处凡请指出，联系方式：ojek@163.com首个Orm基本完成，因为个人能力和时候上的限制，源码注释主要为接口和一些虚类为主。Orm思想主要考虑到多数据库环境的兼容和实体操作中的反射的性能。&lt;img src =&quot;http://blog.csdn.net/ojekleen/aggbug/3490245.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Wed, 10 Dec 2008 22:02:00 +0800</pubDate><author>周建城</author><comments>http://blog.csdn.net/ojekleen/archive/2008/12/10/3490245.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/ojekleen/archive/2008/12/10/3490245.aspx</guid><dc:creator>周建城</dc:creator></item></channel></rss>