This project is read-only.

displaying a list on screen with content type

Topics: Core, Troubleshooting
Aug 2, 2013 at 4:42 PM
Please seem my post regarding content parts....

any help guys?
Aug 2, 2013 at 8:47 PM
Edited Aug 3, 2013 at 8:51 AM
Normally you would create a "content type" of car and add your cars into Orchard (you could also do an import of cars via the import/export module).

Then you would create a "query" and a "projection" to list the cars.

If you really want your table to be a custom db table, then that's a little more complicated, as you would have to e.g. write some code to implement a class that inherited from ContentPartRecord, and a service to get the records. Google is your friend for this, as there are plenty of examples out there, e.g.
Aug 2, 2013 at 9:51 PM
Why are you trying to pull the data directly from the database? It sounds like you're missing out on some of the key functionality of Orchard.