首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏我和未来有约会

    第2章 对象激活上下文-对象激活

    要使用JITA,必须重写两个基类ServicedComponent的方法:Activate和Deactive.当对象生成后Activate方法会被运行时自动调用.当对象终止前Deactive方法会被自动调用 ConstructionEnabled(Default = @"C:\Temp\")]     [EventTrackingEnabled]     public class CoursesComponent : ServicedComponent

    62590发布于 2018-01-16
  • 来自专栏魂祭心

    原 WCF学习之旅----基础篇之Ente

    如果对象创建消耗更多的资源,可以考虑对象池       [Transaction(TransactionOption.Supported)]//是否需要支持事务特性     public class Cacu : ServicedComponent

    61960发布于 2018-05-17
  • 来自专栏张善友的专栏

    再论IBatisNet + Castle进行项目的开发

    指定哪些类的哪些方法需要事务处理,不管你是dao还是service,通通可以自由地在这儿指定,根本不会侵入你所写的类,如果是Com+的话,会强迫你去实现Com+的ServicedComponent

    62690发布于 2018-01-22
  • 来自专栏张善友的专栏

    MySQL 5.0和PostgreSQL 8.1

    Transaction(TransactionOption.Required)] public class BusinessComponent : ServicedComponent

    1.4K110发布于 2018-01-29
  • 来自专栏跟着阿笨一起玩NET

    .NET开发中的事务处理大比拼

    事务 namespace ClassTran { [Transaction(TransactionOption.Required)] public class OrderData2 : ServicedComponent

    64910发布于 2018-09-19
  • 来自专栏我和未来有约会

    读书笔记(二)对象激活和上下文

            test.obj.Method1();         t1.Join();     } }       所有服务组件的基类都是在System.EnterpriseService命名空间下的ServicedComponent

    72170发布于 2018-01-16
  • 来自专栏张善友的专栏

    .net 2.0 你是如何使用事务处理?

    一种是在需要事务的对象中显式的调用事务处理, 还有一种是使用Enterprise Service的声明式的方法.这种方法:使用事务的对象需要继承ServicedComponent;即使不涉及多资源的分布式事务而仅仅是涉及到了多个对象的简单事务

    1.2K60发布于 2018-01-22
  • 来自专栏跟着阿笨一起玩NET

    WCF集成COM+应用程序遇到的问题

    a, int b);         string SayHello(string msg); } public class Opeate:System.EnterpriseServices.ServicedComponent

    1.1K10发布于 2018-09-18
  • 来自专栏c#开发者

    WCF,Net remoting,Web service

    如果确实需要这一功能,简单的解决方案是在 .NET 企业服务的服务器应用程序中部署一个从 System.EnterpriseServices.ServicedComponent 派生的类(更多信息,请参见

    2.1K50发布于 2018-04-12
  • 来自专栏张善友的专栏

    Building a Middle Tier Component using NHibernate and Spring.NET

    In COM+, your business class must inherit the ServicedComponent class.

    1.3K70发布于 2018-01-31
  • 来自专栏王清培的专栏

    .NET简谈事务、分布式事务处理

    System.EnterpriseServices.Transaction(TransactionOption.Required)]//始终需要事务处理域 public class Test2 : ServicedComponent

    96821编辑于 2022-03-14
领券