﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-生命如此短暂，掌握技艺却要如此长久-最新评论</title><link>http://www.cnblogs.com/lazhgg/CommentsRSS.aspx</link><description>风流不在谈锋胜， 袖手无言味最长。**_** 莫言大道人难得，自是功夫不到头。</description><language>zh-cn</language><pubDate>Tue, 18 Oct 2011 15:06:12 GMT</pubDate><lastBuildDate>Tue, 18 Oct 2011 15:06:12 GMT</lastBuildDate><generator>cnblogs</generator><item><title>re: 一道理解c#中对象（引用类型）相互赋值和方法覆盖（overriding）的题目</title><link>http://www.cnblogs.com/lazhgg/archive/2008/07/15/313405.html#1255227</link><dc:creator>浩星晴</dc:creator><author>浩星晴</author><pubDate>Tue, 15 Jul 2008 05:07:49 GMT</pubDate><guid>http://www.cnblogs.com/lazhgg/archive/2008/07/15/313405.html#1255227</guid><description><![CDATA[你的理解比较牵强， 特别是“。。。把D类型的d转换为C类型的c了。。。”。最关键的是理解编译时和运行时的不同，以及虚函数的意义。<br>整个运行过程中并没有发生任何的类型转换。<br>C到B的转换，只是欺骗编译器，使其链接不同的函数。<br>D到C，B到A的转换在此程序中没有任何意义。此种类型转换是用来欺骗编译器的类型检查。<br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lazhgg/" target="_blank">浩星晴</a> 2008-07-15 13:07 <a href="http://www.cnblogs.com/lazhgg/archive/2008/07/15/313405.html#1255227#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 个人编程思想理解的片段（主要是面向对象的，参考了许多人的观点，还不成熟，没形成系统，请大家多指点）</title><link>http://www.cnblogs.com/lazhgg/archive/2008/07/15/310885.html#1254729</link><dc:creator>pengtyf</dc:creator><author>pengtyf</author><pubDate>Tue, 15 Jul 2008 00:27:50 GMT</pubDate><guid>http://www.cnblogs.com/lazhgg/archive/2008/07/15/310885.html#1254729</guid><description><![CDATA[没了用!<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lazhgg/" target="_blank">pengtyf</a> 2008-07-15 08:27 <a href="http://www.cnblogs.com/lazhgg/archive/2008/07/15/310885.html#1254729#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 一道理解c#中对象（引用类型）相互赋值和方法覆盖（overriding）的题目</title><link>http://www.cnblogs.com/lazhgg/archive/2008/03/25/313405.html#1121946</link><dc:creator>辉耀中华</dc:creator><author>辉耀中华</author><pubDate>Tue, 25 Mar 2008 12:44:00 GMT</pubDate><guid>http://www.cnblogs.com/lazhgg/archive/2008/03/25/313405.html#1121946</guid><description><![CDATA[非常感谢你的分享。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lazhgg/" target="_blank">辉耀中华</a> 2008-03-25 20:44 <a href="http://www.cnblogs.com/lazhgg/archive/2008/03/25/313405.html#1121946#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: c#中的内嵌类的意义和与类的继承的区别是什么？</title><link>http://www.cnblogs.com/lazhgg/archive/2007/06/14/311314.html#783484</link><dc:creator>scottie.XU</dc:creator><author>scottie.XU</author><pubDate>Thu, 14 Jun 2007 06:00:00 GMT</pubDate><guid>http://www.cnblogs.com/lazhgg/archive/2007/06/14/311314.html#783484</guid><description><![CDATA[类和内嵌类的关系就好像 人类和胳膊的关系<br>父类和子类的关系就是  爸爸和儿子的关系（个人理解）<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lazhgg/" target="_blank">scottie.XU</a> 2007-06-14 14:00 <a href="http://www.cnblogs.com/lazhgg/archive/2007/06/14/311314.html#783484#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: IsDbNull 方法的用法</title><link>http://www.cnblogs.com/lazhgg/archive/2007/05/31/334915.html#766205</link><dc:creator>kaixin110</dc:creator><author>kaixin110</author><pubDate>Thu, 31 May 2007 03:53:00 GMT</pubDate><guid>http://www.cnblogs.com/lazhgg/archive/2007/05/31/334915.html#766205</guid><description><![CDATA[VB.NET IsDBNull<br>如果第一個條件成立﹐它還會判斷第二個條件<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lazhgg/" target="_blank">kaixin110</a> 2007-05-31 11:53 <a href="http://www.cnblogs.com/lazhgg/archive/2007/05/31/334915.html#766205#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 一个char类型的字符赋给一个string对象时不会发生装箱操作</title><link>http://www.cnblogs.com/lazhgg/archive/2007/04/04/326965.html#699144</link><dc:creator>拼命郎</dc:creator><author>拼命郎</author><pubDate>Wed, 04 Apr 2007 00:04:00 GMT</pubDate><guid>http://www.cnblogs.com/lazhgg/archive/2007/04/04/326965.html#699144</guid><description><![CDATA[以前我也认为是发生装箱操作，但查了些资料后发现并不是这样。<br>系统对一些值类型转换为对象内置了一些方法，相当于装箱操作的内存分配，所以并不是装箱操作。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lazhgg/" target="_blank">拼命郎</a> 2007-04-04 08:04 <a href="http://www.cnblogs.com/lazhgg/archive/2007/04/04/326965.html#699144#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 一个char类型的字符赋给一个string对象时不会发生装箱操作[未登录]</title><link>http://www.cnblogs.com/lazhgg/archive/2007/04/03/326965.html#699016</link><dc:creator>xx</dc:creator><author>xx</author><pubDate>Tue, 03 Apr 2007 14:36:00 GMT</pubDate><guid>http://www.cnblogs.com/lazhgg/archive/2007/04/03/326965.html#699016</guid><description><![CDATA[我觉得应该会吧？因为char类型是值类型，是在栈上面的，如果变成string,势必会转到堆上，执行装箱操作的。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lazhgg/" target="_blank">xx</a> 2007-04-03 22:36 <a href="http://www.cnblogs.com/lazhgg/archive/2007/04/03/326965.html#699016#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: c#中的内嵌类的意义和与类的继承的区别是什么？</title><link>http://www.cnblogs.com/lazhgg/archive/2007/04/01/311314.html#695899</link><dc:creator>┅☆伈隨風飛</dc:creator><author>┅☆伈隨風飛</author><pubDate>Sun, 01 Apr 2007 05:35:00 GMT</pubDate><guid>http://www.cnblogs.com/lazhgg/archive/2007/04/01/311314.html#695899</guid><description><![CDATA[不知道啊  呵呵<br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lazhgg/" target="_blank">┅☆伈隨風飛</a> 2007-04-01 13:35 <a href="http://www.cnblogs.com/lazhgg/archive/2007/04/01/311314.html#695899#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 关于嵌套事务的一种处理方法</title><link>http://www.cnblogs.com/lazhgg/archive/2007/02/27/515037.html#658170</link><dc:creator>拼命郎</dc:creator><author>拼命郎</author><pubDate>Tue, 27 Feb 2007 05:03:00 GMT</pubDate><guid>http://www.cnblogs.com/lazhgg/archive/2007/02/27/515037.html#658170</guid><description><![CDATA[     先前那个表示的不清楚，现在修改了一下，@tempTranCount只是个在当前存储过程中记录进入事务的层数的变量，所以是局部的；必须通过和全局变量 @@TranCount 进行比较才能判断是否是提交这个事务。<br>    第一段代码确实是会出现那样的错误，当最里层事务出现错误而回滚后，是将先前所有进入的事务都回滚，而不是只回滚最内层的事务，所以后面再有提交事务的操作会报告没有需要提交的事务。<br>    当然这段代码只是在解决多层事务嵌套，并且内层事务有些出错情况并不需要回滚的情况下才有必要的。可能不太符合事务的原始定义了，但是这种需求是存在的，所以利用事务这种机制实现了这样一种方法，虽然已经不太符合事务的基本定义了。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lazhgg/" target="_blank">拼命郎</a> 2007-02-27 13:03 <a href="http://www.cnblogs.com/lazhgg/archive/2007/02/27/515037.html#658170#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 关于嵌套事务的一种处理方法[未登录]</title><link>http://www.cnblogs.com/lazhgg/archive/2007/02/27/515037.html#657997</link><dc:creator>basil</dc:creator><author>basil</author><pubDate>Tue, 27 Feb 2007 03:20:00 GMT</pubDate><guid>http://www.cnblogs.com/lazhgg/archive/2007/02/27/515037.html#657997</guid><description><![CDATA[你最后的代码是不是要分到不同的存储过程写啊,不过那样的话@tempTranCount是局部变量无法在不同的存储过程中共用<br><br>另外，如果那段代码写成t-sql,我发现无法出现<br>Transaction count after EXECUTE indicates that a COMMIT or ROLLBACK TRANSACTION statement is missing. Previous count = 1, current count = 0.<br>可以在t-sql中试试这个<br>   <br>Begin Transaction<br>   begin<br>      Begin Transaction<br>      Rollback Transaction<br>   end<br>Commit Transaction<br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lazhgg/" target="_blank">basil</a> 2007-02-27 11:20 <a href="http://www.cnblogs.com/lazhgg/archive/2007/02/27/515037.html#657997#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>
