Posted On: Feb 22, 2018
Difference between Add and Add Range in Entity Framework:
Add | Add Range |
---|---|
Add is used to insert one element at a time in a collection. | AddRange is used to add multiple elements. |
The add method inserts the item at the end of a collection. | AddRange method is used to insert a set of records into a collection. |
Add method is implemented for a new element | AddRange is employed in a collection that is already created |
The addRange method is also used to add an array of nodes that are previously created in the collection.
Never Miss an Articles from us.
Entity Framework happens to be an open-source ORM or object-relational mapping framework utilized for ADO.Net. It is a set of mechanization that assists in the improvement of data-oriented software ad...
The new features in entity framework 7 include the following:New platforms: .NET along with the other distinct technologies like WPF, ASP.NET, WinForms is supported by Entity Framework 7. E...
To check, If you open up the reference file and detect system.entity.data, click the module and then inspect the runtime version numerical in the Properties explorer and you can witness the subversion...