
In this article, you will learn how to work with transactions in Entity Framework 6.0. Entity Framework internally maintains transactions when the SaveChanges() method is called. When we execute another operation, the Entity Framework creates a new transaction.

This content explains how to configure Entity Framework 6.0 and above to use stored procedures with a Code-First approach. It details overriding the OnModelCreating method in DbContext to map stored procedures for CRUD operations.

Entity Framework code First approach allows us to use our POCO (domain) classes as model and Entity framework is use this classes to querying data, change tracking and other updating function.

In this article you will learn about the Index attribute with Entity Framework 6.1.

The Model First Approach in Entity Framework allows users to create and manage entity models using the EDMX file. It features a design surface for editing entities, a model browser for navigation, and mapping details for entity relationships.

Master multi-tenant migrations in Entity Framework 6.0 with ease. Learn seamless data management strategies for code-first models, ensuring robust and efficient database migrations in a multi-tenant environment.

This article shows how to delete an existing entity without retrieving it from the database and gain some performance benefit from it.

This article helps you to understand how to discard the changes from DbContext or ObjectContext.

In this article, you will learn about Proxy Objects, ObjectStateManager, and EntityState to leverage advanced tracking features for data manipulation and performance optimization in your .NET applications.

This explains the explicitly triggering model validation using Entity Framework 6.0.

This article helps you to understand what a proxy in the Entity Framework is and how to turn on and turn off a proxy and how to create a proxy instance explicitly.

This article will help you understand the difference between shadowing (method hiding) and overriding.

This article explains various types of joins in LINQ query. Learn Inner join, Outer Join, Left Outer join, Right Outer join, Full outer join, Cross Join, Group Join in LINQ query.

This article explains the undocumented sp_MSforeachdb procedure in SQL server.

This article explains two ways to delete all the table data within a database.

This article explain the sp_MSforeachtable procedure in SQL server.

Explore the distinction between 'ref' and 'out' keywords in C#. Learn how 'ref' passes arguments by reference for both input and output, while 'out' is used solely for output parameters, aiding in flexible parameter passing and variable modification within methods.

This article shows how to create a dynamic PIVOT query in SQL Server.

This article shows how to find nth highest value from a database table.

This article explains how to change a layout page at runtime or based on a condition in our MVC application.

This article describes an undocumented physical row locator function in SQL Server 2008.

This article provides five ways to remove duplicate data (rows) from a SQL Server table.

TempData is a temporary data storage mechanism in ASP.NET MVC, facilitating state management between HTTP requests. Stored in session variables, it aids in passing data between consecutive requests. TempData utilizes TempDataDictionary and ITempDataProvider interfaces.

This article provides a workaround for multiple models in a single view in MVC.
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article