hedecan
hedecan

Reputation: 1

SubSonic Active Record Generate Class

i wanna use to subsonic 3.0.4 but i dont know, how can i start to generate class and use to new Template of T4. example: create new solution for generating to table's class and add to my project. ?? thanks

Upvotes: 0

Views: 488

Answers (1)

Krunal
Krunal

Reputation: 3541

EDIT

You can use it with asp.net, linq and mysql.

You need to follow the procedure shown here.

  • Add a Reference to SubSonic
  • Add a Connection String - Use MySQL Conn. String
  • Set The Connection In The Templates - Update templates and include MySQL.ttinclude instead of SQLServer.ttinclude.
  • Add the T4 Templates To Your Project
  • Querying - Then you can use your Linq Queries

I think if you follow that link, you will be able to use Subsonic ActiveRecord.


First just checkout The 5 Minute Demo - ActiveRecord.

Then follow: Using ActiveRecord Document

Demo shows how to use subsonic active record and more configuration is available in docs.

You can find some other docs here.

Upvotes: 1

Related Questions