How to get into SubSonic?

后端 未结 5 609
抹茶落季
抹茶落季 2021-01-12 11:39

A month ago I searched for some tools that will generate C# classes out for my SQL database/tables. So I don\'t have to write DAL classes manually and to save a lot of time.

相关标签:
5条回答
  • 2021-01-12 12:13

    SubSonic is irritatingly short on documentation (which is one reason I abandoned it). Scott Kuhl wrote a "Getting Started with SubSonic" document (just Google his name and SubSonic) but parts of it appeared to be out of date.

    Here is Scott's blog - a place to start at least.

    Here is the document's home page. I was curious as to whether the document is indeed out of date and I think it is: the web page has a last updated date in 2006.

    Unfortunately, I know of no other documentation and I did look for it.

    Update: See the link to documentation that Rob Conery provided in his answer.

    0 讨论(0)
  • 2021-01-12 12:18

    Unfortunately, the best SubSonic "documentation" is in the form of screencasts, but they are very easy to follow.

    Quite a lot about SubSonic on Rob Conery's (original creator) blog http://blog.wekeroad.com/tags/subsonic/.

    Personally found the best thing is (like Matt said) to just use it, set it up in external tools in VS, get the connection string and a few other config settings sorted, and you're just about good to go. You can get the basics down in an afternoon.

    The forum is quite active http://forums.subsonicproject.com/forums/, and a good place if you get stuck.

    0 讨论(0)
  • 2021-01-12 12:19

    I admit it - our docs suck :(. I did try to put a site together: http://subsonicproject.com

    Hope this helps.

    0 讨论(0)
  • 2021-01-12 12:29

    Just start using it.

    It is very simple and pretty straight forward. There are several screencasts on how to generate your classes with sub commander, once you have that just hit . and see what you can do with them.

    0 讨论(0)
  • 2021-01-12 12:38

    I put together a template project referencing SubSonic generated off the Northwind Database. A very simple project, but should easily be enough to get started on your first project. Check it out here:

    http://ajondeck.net/post/2008/12/29/ASPNET-20-SubSonic-Project-Template-With-SQL-Server-2005-Northwind-DB.aspx

    0 讨论(0)
提交回复
热议问题