Pork.dbObject Usage

Usage of Pork.dbObject is very simple:

  • Make sure you extend your object from dbObject
  • Create the one-line constructor that maps your object to the database (See Examples section)
  • Save your object
  • You're already done! alter some properties to test it!

Proceed to the Downloads section to try it yourself! A sample database and sample objects are included for a quick start.