Change search
ReferencesLink to record
Permanent link

Direct link
Unit Testing and Performance Using Entity Framework 4.0
Umeå University, Faculty of Science and Technology, Department of Computing Science.
2013 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

POANGEN is a web application for rent management. The core of the application is a module that performs rent calculations. In the past the application relied heavily on business logic in stored procedures that made the program hard to test and maintain.

The purpose of this thesis was tofind a new method for combining unit testing and data access. A new implementation of the rent calculation had to be created that was easier to test, maintain and have good performance.

This thesis shows how to combine data access and unit tests using Entity Framework 4.0, an object relational mapping framework from Microsoft. The new module uses the Repository and Specification design patterns to create a data abstraction that is suitable for unit testing.

Also the performance of Entity Framework 4.0 is evaluated and compared to traditional data loading and it shows that Entity Framework 4.0 severely lacks in performance when loading or saving large amounts of data. However the use of POCO entities makes it possible to create optimized functionality for time critical data access.

Place, publisher, year, edition, pages
, UMNAD, 935
National Category
Engineering and Technology
URN: urn:nbn:se:umu:diva-68046OAI: diva2:615605
External cooperation
Educational program
Master of Science Programme in Computing Science and Engineering
Available from: 2013-04-11 Created: 2013-04-11 Last updated: 2013-04-11Bibliographically approved

Open Access in DiVA

fulltext(464 kB)356 downloads
File information
File name FULLTEXT01.pdfFile size 464 kBChecksum SHA-512
Type fulltextMimetype application/pdf

By organisation
Department of Computing Science
Engineering and Technology

Search outside of DiVA

GoogleGoogle Scholar
Total: 356 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 169 hits
ReferencesLink to record
Permanent link

Direct link