欢迎来到天天文库
浏览记录
ID:14828548
大小:190.02 KB
页数:39页
时间:2018-07-30
《data access guide-1.9.2》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、DataAccessObjectsDeveloperGuideVersion1.9.1March2007Copyright2003-2005TheApacheSoftwareFoundationAuthors-GillesBayon,ClintonBegin,RobertoRabeCopiesofthisdocumentmaybemadeforyourownuseandfordistributiontoothers,providedthatyoudonotchargeanyfeeforsuchcopiesandfurtherprovidedthateachcopycontainsth
2、isCopyrightNotice,whetherdistributedinprintorelectronically.TableofContents1.Introduction...11.1.Overview...11.2.LicenseInformation...11.3.Support...11.4.Disclaimer...12.DataAccessObjects...22.1.DataAccessObjects...22.2.TheComponentsoftheDataAccessObjectsAPI...22.3.SessionHandler...33.Configura
3、tion...53.1.Installation...53.1.1.SetuptheDistribution...53.1.2.AddAssemblyReferences...63.1.3.SetupXMLconfigurationdocuments...63.1.4.VisualStudio.NETIntegration...73.2.LoggingActivity...83.2.1.SampleLoggingConfigurations...93.3.TheConfigurationFile(dao.config)...103.4.ConfigurationElements...
4、123.4.1.typeAttributes...123.4.2.TheElement...123.4.3.TheElement...144.SessionHandlerImplementationsandConfiguration...194.1.Overview...194.2.SimpleDAOSessionHandler(Default)ExampleConfiguration...194.3.SqlMapDAOSessionHandlerExampleConfiguration...194.4.NHibernateDAOSession
5、HandlerExampleConfiguration...205.DAOProgramming...215.1.Overview...215.2.ConfigurationwiththeDomDaoManagerBuilder...215.3.Contexts,theDaoManager,andSessionHandlers...235.4.GettingaDataAccessObject...235.5.WorkingwithConnectionandTransactions...235.6."AutoConnection"-Behavior...255.7.Distribute
6、dtransactions...256.ImplementingtheDAOInterface(CreatingYourDataAccessObjects)...276.1.Interface...276.2.DAODesignConsiderations...276.3.AnExampleBaseDao...286.4.ConsistencyandHiddenImplementations...296.4.1.ADO.NETAccountDaowiththeSimpleDAOSessionHandler...296.4.2.DataMapperAccountDaowiththeSq
7、lMapDAOSessionHandler...306.4.3.UsingtheAccountDaowiththeDaoManager...316.4.4.NHibernateDAOwiththeNHibernateDAOSessionHandler...327.Examples...347.1.NPetshopApplication...34DataAccessGuideVersion1.9.1iiiBATIS.NET-DataAccessObjects
此文档下载收益归作者所有