Category - SQL Server
Results 21 - 25 of 468
19 May 2021 19 May 2021 0 Comments  552 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement HttpHandler (ASHX) in ASP.Net MVC Razor.

The HttpHandler (ASHX) will fetch data from SQL Server database using Entity Framework and return data in JSON format.

The HttpHandler (ASHX) will be called using a jQuery Client which will read the JSON values and populate it into an HTML Table in ASP.Net MVC Razor.
19 May 2021 19 May 2021 0 Comments  528 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass parameters to the FromSql function of Entity Framework in ASP.Net Core.

The FromSql function of Entity Framework accepts the parameters as SqlParameter class objects.
19 May 2021 19 May 2021 0 Comments  646 Views
Here Mudassar Ahmed Khan has explained with an example, how to use the FromSql function of Entity Framework in ASP.Net Core.

The FromSql function is used to execute SQL Queries and Stored Procedures when using Entity Framework in .Net Core.
19 May 2021 19 May 2021 0 Comments  666 Views
Here Mudassar Ahmed Khan has explained with an example, how to call Stored Procedure with parameters using Entity Framework in .Net Core 2.1.

The Stored Procedures are called with parameters using the FromSql function of Entity Framework in .Net Core 2.1.
19 May 2021 19 May 2021 0 Comments  346 Views
Here Mudassar Ahmed Khan has explained with an example, how to solve the error related to FromSql function of Entity Framework in .Net Core 2.1.

Error: DBSet<Entity> does not contain a definition for FromSql

The above error occurs because the namespace required to use the FromSql function has not been inherited.

The FromSql function belongs to the Microsoft.EntityFrameworkCore namespace.
Results 21 - 25 of 468