Kavipriya
How to run a query in database while using Entity framework?
By Kavipriya in Entity Framework on Jan 24 2019
  • Jyoti Agarwal
    May, 2021 13

    Entity Framework allows you to execute raw SQL queries for the underlying relational database.
    Here are some methods used:-
    DbSet.SqlQuery()
    DbContext.Database.SqlQuery()
    DbContext.Database.ExecuteSqlCommand()

    • 0
  • Kavipriya
    Jan, 2019 24

    We need to use AsQueryable() along with lambda expression or Linq query.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS