FrameWork

摘要: using(TransactionContextcontext=TransactionContext.Instance()){CustomerEntitycustomer=newCustomerEntity(cutomerGuid);customer.CustomerName="test";customer.Save();}阅读全文
posted @ 2005-08-16 16:17 Martin XJ 阅读(755) | 评论 (0) 编辑
摘要: //aspectcode:[AttributeUsage(AttributeTargets.Class)]publicclassSecurityAspectAttribute:AOPAttribute{publicSecurityAspectAttribute(){}publicoverridevoidPreProcess(System.Runtime.Remoting.Messaging.IMe...阅读全文
posted @ 2005-08-16 16:13 Martin XJ 阅读(659) | 评论 (0) 编辑
摘要: 看着大家都说ORMapping框架,我也来掺和掺和,平时自己闲着没事做一个ORMapping的架构,我给它起名为SharpRush,就是开发C#程序特别快的意思。本人又喜欢打Starcraft,平常在浩方上看人家都是Rush、Rush的,所以就起名叫SharpRush了。设计思想1.和微软的System.Data相对应 我的 对应微软的 主要包含:DataCollection(集合类) DataT...阅读全文
posted @ 2005-07-28 09:24 Martin XJ 阅读(2321) | 评论 (4) 编辑
posted @ 2005-01-10 13:42 Martin XJ 阅读(1341) | 评论 (0) 编辑
posted @ 2004-08-13 20:50 Martin XJ 阅读(4039) | 评论 (6) 编辑
posted @ 2004-06-16 17:06 Martin XJ 阅读(393) | 评论 (0) 编辑