0

We are planning to use PetaPoco in our project. As it is tiny ORM with performance benefit, one of the thing worried me a lot is hard coded queries.

Due to that, whenever our column changes (added/removed), we have issue to find out same in all the queries.

Can we generate Columnname in tt file and use that in place of hard coded query something like:

"Select * from " + Tables.Customer + " Where " + CustomerTable.CustomerId + " = 1"
ErikEJ
  • 40,951
  • 5
  • 75
  • 115
Manish Pansiniya
  • 537
  • 4
  • 14

0 Answers0