xxmm

所属分类:C#编程
开发工具:C#
文件大小:464KB
下载次数:8
上传日期:2008-10-26 16:45:28
上 传 者OceanWang
说明:  面向对象建模的良好案例,内容内容深刻,很有价值
(Object-Oriented Modeling of a good case, the contents of the contents of profound and very valuable)

文件列表:
xxmm\pltest\pltest.sln (1362, 2006-06-28)
xxmm\pltest\pltest.suo (19456, 2006-06-28)
xxmm\pltest\Test\App.ico (1078, 2003-05-10)
xxmm\pltest\Test\AssemblyInfo.cs (1846, 2003-05-10)
xxmm\pltest\Test\ClassMap.xml (1655, 2003-05-21)
xxmm\pltest\Test\DatabaseMap.xml (294, 2004-01-03)
xxmm\pltest\Test\obj\Test.csproj.FileList.txt (40, 2006-06-28)
xxmm\pltest\Test\PersistentObjects\Account.cs (1802, 2003-05-24)
xxmm\pltest\Test\PersistentObjects\Customer.cs (1606, 2003-05-24)
xxmm\pltest\Test\PersistentObjects\Employee.cs (1034, 2003-05-24)
xxmm\pltest\Test\PersistentObjects\Person.cs (1311, 2003-05-24)
xxmm\pltest\Test\Test.cs (5445, 2003-05-24)
xxmm\pltest\Test\Test.csproj (4363, 2006-06-28)
xxmm\pltest\Test\Test.csproj.user (2031, 2006-06-28)
xxmm\pltest\Test\test.mdb (204800, 2003-05-24)
xxmm\pltest\UpgradeLog.XML (1286, 2006-06-28)
xxmm\pltest\Xxmm\AssemblyInfo.cs (1846, 2002-11-21)
xxmm\pltest\Xxmm\Association.cs (2875, 2003-04-11)
xxmm\pltest\Xxmm\Commander\DeleteCommander.cs (1789, 2003-05-24)
xxmm\pltest\Xxmm\Commander\InsertCommander.cs (2179, 2003-05-24)
xxmm\pltest\Xxmm\Commander\SelectCommander.cs (4858, 2003-05-24)
xxmm\pltest\Xxmm\Commander\SqlCommander.cs (1538, 2003-05-24)
xxmm\pltest\Xxmm\Commander\UpdateCommander.cs (3618, 2003-05-24)
xxmm\pltest\Xxmm\Commander\vssver.scc (112, 2003-04-14)
xxmm\pltest\Xxmm\Condition.cs (5630, 2003-05-24)
xxmm\pltest\Xxmm\Criteria\DeleteCriteria.cs (1848, 2003-05-24)
xxmm\pltest\Xxmm\Criteria\PersistentCriteria.cs (739, 2003-05-24)
xxmm\pltest\Xxmm\Criteria\RetrieveCriteria.cs (4239, 2003-05-24)
xxmm\pltest\Xxmm\Criteria\SelectionCriteria.cs (2497, 2003-05-24)
xxmm\pltest\Xxmm\Criteria\UpdateCriteria.cs (2150, 2003-05-24)
xxmm\pltest\Xxmm\Criteria\vssver.scc (96, 2003-04-14)
xxmm\pltest\Xxmm\Databases\MsAccess.cs (4260, 2003-05-24)
xxmm\pltest\Xxmm\Databases\MsSqlServer.cs (4438, 2003-05-24)
xxmm\pltest\Xxmm\Databases\RelationalDatabase.cs (6012, 2003-05-24)
xxmm\pltest\Xxmm\Enum.cs (2271, 2003-12-31)
xxmm\pltest\Xxmm\IConfigLoader.cs (303, 2003-05-24)
xxmm\pltest\Xxmm\Map\AssociationMap.cs (1696, 2003-05-24)
xxmm\pltest\Xxmm\Map\AttributeMap.cs (790, 2003-05-24)
xxmm\pltest\Xxmm\Map\ClassMap.cs (7789, 2003-05-24)
... ...

Decompress all files to D:\ Before first runing,Edit the Databasemap.xml file to have the Access databases point to the full path of the test.mdb included with the package and replace this line | string currentPath = @"D:\pltest\Test\";| in file named test.cs with |string currentPath =[your test project folder] ;| test.mdb created by Ms Access2000. There is a Solution named pltest (pltest.sln) with all projects in it. Open it with Microsoft Visual Studio .NET. Any comments to: ocoogo@hotmail.com Current implementation has the following features. Encapsulation of the persistence mechanism. You should only call the save, delete, restore methods of your persistent objects and the Persistence Layer will automatically perform an action with your database. Multiple object actions. You can retrieve and delete multiple objects at once. Associations support. When you save delete or update any object you can do the same action with associated objects. Inheritance support. Makes possible to map an inheritance tree to a database schema. Transactions support. You can combine several actions into one transaction and commit or rollback it as a single action. Multiple database support. Different objects can be mapped to different databases. Now only support MsAccess and MsSQLServer Optimistic and pessimistic locking support

近期下载者

相关文件


收藏者