摘要: using(TransactionContextcontext=TransactionContext.Instance()){CustomerEntitycustomer=newCustomerEntity(cutomerGuid);customer.CustomerName="test";customer.Save();} 阅读全文
posted @ 2005-08-16 16:17 Martin XJ 阅读(927) 评论(0) 推荐(0)
摘要: //aspectcode:[AttributeUsage(AttributeTargets.Class)]publicclassSecurityAspectAttribute:AOPAttribute{publicSecurityAspectAttribute(){}publicoverridevoidPreProcess(System.Runtime.Remoting.Messaging.IMe... 阅读全文
posted @ 2005-08-16 16:13 Martin XJ 阅读(870) 评论(0) 推荐(0)