---
title: "Discussion on \"Raw SQL with Entity Framework\" | Hashnode"
description: "Discussion on \"Raw SQL with Entity Framework\". Here is how to execute a raw SQL query.\nSince Entity frame uses reflections, you have to create some nested class so that properties can be bound to it.\nclass alertsType\n{\n    public long alertResponderId { get; set; }\n    public int alertCount { get..."
url: "https://hashnode.com/posts/raw-sql-with-entity-framework/60354a31bc9bf67747fdca09"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Raw SQL with Entity Framework](https://cwizsoftware.com/raw-sql-with-entity-framework?utm_source=hashnode&utm_medium=feed)

Here is how to execute a raw SQL query. Since Entity frame uses reflections, you have to create some nested class so that properties can be bound to it. class alertsType { public long alertResponderId { get; set; } public int alertCount { get...

Aug 1, 2015 · 1 min read · cwizsoftware.com  
Read the article

-   [#sql-server](https://hashnode.com/tag/sql-server)

## Written by

[Xavier](https://hashnode.com/@xavier2021)

@xavier2021

  
[View profile](https://hashnode.com/@xavier2021)

C#

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
