摘要:现在我好象明白什么是JustInTimeActivation。 JustInTimeActivation 其实就是在客户端保存COM+里的实例的同时, 在服务器端保持一个记录客户端状态的实例。 对于客户端,这完全是透明的, 客户完全可以假想实例就在客户端的计算机内存里一样。 当客户端调用里面的方法时, 比如建立一个数据库连接。 服务器端就会激活对象, 这时对象就真的占用了数据连接。 当可户取得了数...
阅读全文
05 2006 档案
摘要:Event Delegate 在好多地方多看到了,比如在学习web user control 的时侯,还有vb.net remoting object 的时候。 我看了不少文章后,也不是很明白。我在这里写下来,主要是为了我自己以后的回故。同时,也想让大家参考。 要理解event delegate, 当然要先明白什么是event. 其实简单的想,就是"回叫"的机制,她解决一个依赖的问题。 比如真实世...
阅读全文
摘要:If drop an un-exist table, will get error "Table 'TempTable' does not exist."use the following function:Here is a function I use to check whether a table exists: Code: Function TableExists(TableName ...
阅读全文

浙公网安备 33010602011771号