Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Business object database abstraction
Message
 
À
16/02/2006 05:08:47
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01096686
Message ID:
01097662
Vues:
12
Yalcin,

>In our application we have a requirement that winform applications and web applications has no knowledge about the source of data. Data access is handled by a module which works behind the web services layer. Moreover, we can't even write a single sql query. However, we have methods in the web services interfaces that auto generate sql queries for our requests.
>
>We are planning to use Mere Mortals .NET in our winform applications. We want to use business objects in a manner such that none of those business object will have direct access to database tables and they do not contain any SQL statements. However, we couldn't figure out how to bind the windows controls to data items. So, the question is, is there any way to bind the windows controls to data elements. Please note that I am talking about business objects in the client side.

I highly recommend using stored procedures to accomplish this. All of the business object data access methods can specify the name of a stored procedure for retrieving and updating data...no SQL necessary. I recommend checking out the MM .NET Dev Guide sections under "Calling Stored Procedures".

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform