Previous Next
sde-vs_orm_user_guide Chapter 14 - Introduction to Object-Relational Mapping

Chapter 14 - Introduction to Object-Relational Mapping

Smart Development Environment for Microsoft Visio Studio .NET (SDE-VS) is not only a visual UML modeling plug-in, but also an Object-Relational Mapping plug-in with IDE which supports building database application faster, better and cheaper. This chapter gives you an introduction to object-relational mapping and describes the key benefits of object-relational mapping.

In this chapter:

Introduction

Software applications are most likely to be developed with a database such that all data working with the application system can be retained, resulting in information and knowledge. Hence, database application is widely adopted by businesses of all sizes. In order to access and manipulate the relational database, a standard computer language, Structured Query Language (SQL) has to be used. SQL statements play an important role when developing database application.

Taking a trading system as an example, if the end-user wants to update a Sales Order record, the system has to retrieve the corresponding record from the Sales Order table and display to the end-user. After the end-user confirms the modification of data, the system has to update the record accordingly. It is noticeable that a database application requires a lot of coding for handling SQL statements so as to access and manipulate the database.

Hence, it is inevitable that developers spend almost 50% of development time for implementing the code with SQL statement. Moreover, mapping between the persistent code and database table is maintained throughout the development life cycle. Once there is a change in the structure of a database table, SQL statements which related to the modified table have to be re-written. Developers have to keep an eye on every change in the database schema.

Smart Development Environment for Microsoft Visio Studio .NET (SDE-VS) provides a solution to develop database application by supporting Object-Relational Mapping (ORM). Being supported with object-relational mapping, an ease-to-use environment is provided bridging between object model, data model and relational database. SDE-VS not only provides you a visual modeling for both logical data design and physical data design, but also automates the mapping between object model and data model.

SDE-VS also generates a cost-effective, reliable, scalable and high-performance object to relational mapping layer. The generated mapping layer includes the support of transaction, cache and other optimized feature. SDE-VS increases the productivity and significantly reduces the risk of developing the mapping layer manually.

SDE-VS is capable of generating Java and .NET persistent code; Smart Development Environment Enterprise Edition for Visual Studio .NET (SDE-VS EE) supports both object-relational mapping for Java and .NET while Smart Development Environment Professional Edition for Visual Studio .NET (SDE-VS PE) supports object-relational mapping for .NET. You can thus develop your project in Java or .NET source with object-relational mapping easily.

Figure 14.1 - Introduction of SDE for ORM

The overview of SDE-VS for Object-Relational Mapping

Overview Diagram

Figure 14.2 - The overview of SDE-VS for ORM

Key Benefits

SDE-VS provides the following key features of object-relational mapping so as to simplify your development:


Previous Next
Visual Paradigm International Limited
Website: www.visual-paradigm.com
E-mail: support@visual-paradigm.com