Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

193
Views
Managing SQL query plain text strings in a .NET project

I generally use Entity Framework for generating and interacting with my database. I recently got a few requirements that will require optimizing performance. As such, I was planning on using Dapper for this portion of the system.

One issue that I forsee is syncing changes to the database with the Dapper query strings. I wont get the compile time checks that I get with EF so I'm wondering how people navigate these issues? Is it just emphasis on tests or is there a way to work with Dapper such that database model checks can be performed at compile time?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

There is not a built in way to check that the SQL you're writing matches the database schema, or that it's even syntactically correct SQL. If you want to catch that, then integration tests would probably be your best bet.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!