Transactions in Entity Framework with Examples
In this article, I am going to discuss How to use Transactions in Entity Framework Database First Approach with Examples. We are going to work with the same example that we created in our Introduction to Entity Framework Database First Approach article. Please read our Introduction to Entity Framework Database First article before proceeding to this article.
What is a Transaction?
A Transaction is a set of operations (multiple DML Operations) that ensures either all database operations succeeded or all of them failed to ensure data consistency. This means the job is never half done, either all of it is done or nothing is done
Validate Entity in Entity Framework with Examples
In this article, I am going to discuss How to Validate an Entity in Entity Framework Database First Approach with Examples. Please read our previous article where we discussed How to use Transactions in Entity Framework Database First Approach.
What are the Validations?
Validation is one of the most important features that we need to apply to the data that we are going to store in the database. In simple terms, we can say that validations are nothing but some rules set by the developer on the input data of a web page so as to satisfy the business rules for that particular input data in order to maintain the proper data in a system.
DbEntityEntry Class in Entity Framework
In this article, I am going to discuss DbEntityEntry Class in Entity Framework Database First Approach with Examples. Please read our previous article where we discussed How to Validate Entities in Entity Framework Database First Approach. We are going to work with the same example that we created in our Introduction to Entity Framework Database First Approach article.
DbEntityEntry Class in Entity Framework
The DbEntityEntry Class is one of the most important classes in Entity Framework. In Entity Framework, this Class is useful in retrieving various information about an entity. You can get an instance of the DBEntityEntry type of a particular entity by calling the Entry method on the DbContext object by passing the entity
Change Tracking in Entity Framework
In this article, I am going to discuss Change Tracking in Entity Framework Database First Approach with Examples. Please read our previous article where we discussed DbEntityEntry Class in Entity Framework Database First Approach. We are going to work with the same example that we created in our Introduction to Entity Framework Database First Approach article.
Change Tracking in Entity Framework
Let us understand, how Entity Framework tracks changes in entities during their lifetime. The Entity Framework supports automatic change tracking of the attached entities during the lifetime of the context.
Logging Database Commands in Entity Framework
In this article, I am going to discuss Logging Database Commands in Entity Framework Database First Approach with Examples. Please read our previous article where we discussed Change Tracking in Entity Framework Database First Approach. We are going to work with the same example that we created in our Introduction to Entity Framework Database First Approach article.
Logging Database Commands in Entity Framework
Let us understand, how to log commands and queries which is generated and sent to the database by Entity Framework 6. Prior to Entity Framework 6, we used the database tracing tool or third-party tracing tools like SQL Profiler to trace database queries and commands sent by Entity Framework.
Chapter- Entity Framework in C#
Transactions in Entity Framework
Validate Entity in Entity Framework
DbEntityEntry Class in Entity Framework
Change Tracking in Entity Framework
Logging Database Commands in Entity Framework
Text Document Links used in the Video:
Author : Pranaya Rout
Website : https://dotnettutorials.net/
Transactions in Entity Framework : https://dotnettutorials.net/lesson/tr...
Validate Entity in Entity Framework : https://dotnettutorials.net/lesson/va...
DbEntityEntry Class in Entity Framework : https://dotnettutorials.net/lesson/db...
Change Tracking in Entity Framework : https://dotnettutorials.net/lesson/ch...
Logging Database Commands in Entity Framework : https://dotnettutorials.net/lesson/lo...
#dotnettutorials #csharp #pranaya #dotnettutorialspranaya
#EntityFramework #EntityFrameworkInteroduction
#EntityFrameworkByDotNetTutorials #EntityFrameworkInteroductionByDotNetTutorials
#EntityFrameworkByPranaya #EntityFrameworkInteroductionByPranaya
#TransactionsinEntityFramework
#ValidateEntityinEntityFramework
#DbEntityEntryClassinEntityFramework
#ChangeTrackinginEntityFramework
#LoggingDatabaseCommandsinEntityFramework