I'm looking for the complete steps for setting up SubSonic 3 with Oracle 10g. I see a lot of pieces out there, but no clear list.
Please correct me where I'm wrong:
- Create Class Library (.net 3.5)
- create an app.config with a valid connectionString to your db
- Download the latest version of SubSonic 3 (today it's SubSonic_3.0.0.4)
- add the dll SubSonic.Core.dll as a reference
- Go to: SubSonic-3.0-Templates / TemplateProviders and get 3 files: Oracle.ttinclude OracleDataProvider.ttinclude Settings.ttinclude
- find the folder: SubSonic 3.xxx\T4 Templates\ActiveRecord
- copy over the 3 files from step 4 into this folder
- update: Settings.ttinclude to have your namespace and connection string
- create a folder in your project called /Model/
- drag and drop the files, from step 7, into this folder
- cross your fingers
- I get error:
Error 2 Compiling transfor开发者_如何学Pythonmation: The name 'CleanUp' does not exist in the current context c:\Subversion Store\project\Models\SQLServer.ttinclude
Or should I instead download: mabraham1 / LINQ2Oracle I do not see any documentation on this site about how to get up and running.
精彩评论