Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

188
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda