|
|
Data (Puzzle and NHibernate)IntroductionThis page will guide you through the SnCore data development process. It's really easy and powerful.Prerequisites
SQL Server 2005This is where everything starts. Think 100% object oriented approach. To create a new concept you must first create a new table. This is typically done in Enterprise Manager. There're a few rules of thumb.
After you create new tables, export the database schema to src/SnCore.Data/SnCoreSqlServer.sql from the SnCore.Data directory and the SnCore.Data.Script.exe program.
c:\source\sncore\sncore.data > ..\SnCore.Data.Script\bin\Debug\SnCore.Data.Script.exe Processing 112 tables ... Server[@Name='DBLOCK-GREEN']/Database[@Name='SnCore']/Table[@Name='Account' and @Schema='dbo'] ... Puzzle Framework and ObjectMapperSnCore uses a tool called ObjectMapper to generate NHibernate code to access data objects. This is a semi-automated process.
|
|
| © Vestris Inc., 2006-2007, All Rights Reserved | SnCore | Wed Mar 5 09:56:21 2008 | Doxygen 1.5.4 | |