Some time ago, due to the project's urgency, smartpersistencelayer had no time to organize and release the project. Now, the project is finished and can be officially released!
In order to let everyone really experience the effect of smartpersistencelayer, I wrote a sample, now together with the sample Source code Released together,: http://files.cnblogs.com/tintown/SPL2.0.1.8Release.rar
You may have read a lot about the persistence layer of. net, but it may always stay in theory. smartpersistencelayer allows you to really experience the charm of the persistence layer.
Release Notes for smartpersistencelayer 2.0 are as follows:
Smartpersistencelayer 2.0Release instructions
Release type:
smartpersistencelayer2.0 release version. The specific version number is: 2.0.1 . 8 , release type: DLL
You only need to "Reference" This IN THE SYSTEMDLLAnd then use"Using persistencelayer"NamespaceYou can.
Environment:
SPLThere is no environment requirement, as long as it is based on. NetMy release example has the following environment requirements:
Visual Studio. NET 2003 (Microsoft. NET Framework 1.1) + C #
Microsoft SQL Server 2000 + SP3
Infragistics netadvantage 2004 Vol 3 asp net finalOfficial version
Because 2005 download is provided on the network, the connection above is invalid. Now: Download the Sn
Installation serial number:Code:8411-1200014-9313983
Of course, there are many other places on the Internet for download.
Sample Configuration:
Release:
set sample is Web application Program : application name spl_web
If yesWindows 2003After the operating system is directly released, the default value isWebApplications;
If yes Windows 2000 You must IIS Configure the application on the properties in : Such as at the cursor
Configure the database:
OpenSample \ spl_web \ configDirectoryDatabasemap. xmlFile:
<? XML Version = "1.0" Encoding = "UTF-8"?> < Map >
<Database Name= "Northwind" Type= "MSSQLServer">//Do not modify this line
<Parameter Name= "Provider" Value= "Sqloledb.1" />//Do not modify this line
<Parameter Name= "Password" Value= "Both" /> // ChangeSQLPassword
<Parameter Name= "Initial catalog" Value= "Northwind" /> //Do not modify this line
<Parameter Name= "User ID" Value= "Sa" />// ChangeSQLAccount
<Parameter Name= "Data Source" Value= "Localhost" />//ChangeSQLServer
<Classmapfile Path= "Classmap. xml" />//Do not modify this line
</Database> </Map>
You only need the connection information of the personalized database (as noted in red above)
After the modification is correct, you can use:Http: // localhost/spl_web/Access;
If you access the database before modification, an error is reported because the database cannot be connected.IISRestart to make the modification take effect: Use"Iisreset"Command.
Open solution:
Double-clickSpl_webtest.slnYou can enable this solution to view the source of the entire example.Code
Now, you can try it out.SmartpersistencelayerThe system framework brought to you.SPLNo version restrictions are imposed.
Good luck !!
Some interfaces: