11 2011 档案
摘要:4. 数据记录增 删 改 4.1 Delete Method 删除 如果持久性对象有删除延迟属性,Delete方法不会实际删除数据表里德记录. 代替的,它只是对该记录做了删除的标记,以后你可以使用Session.PurgeDeletedObjects删除. 或者你可以清楚这些删除标记,这些对象不会被清楚. 如果你要保持这种删除状态,使用Save方法保存对象. 如上例 : TitleType.Delete(); 物理删除清除所有被标记软删除的记录 Session.DefaultSession.PurgeDeleteObjects(); 4.2 增加 privatevoi...
阅读全文
摘要:XPO has been designed for small and large development teams alike. It will help you shorten development time and more reliably manage and deliver any software project. To obtain a trial version, visit the XPO Downloads page. Below is a brief and probably incomplete list of features available in ...
阅读全文