Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
General MM .NET question
Message
De
25/02/2009 10:02:36
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
General MM .NET question
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01384040
Message ID:
01384040
Vues:
142
I am trying to understand the overall design of the Mere Mortals framework. After experimenting with the jump start, it seems that the framework expects the user to edit one record at a time and then save those changes before moving onto another record. If the user attempts to move to another record without saving the changes to the first record, they are asked if they want to save the changes. Answering No to that question seems to cancel the changes to the first record and then move onto the next record.

I am a C.P.A. and in my world we work with a group of accounting transactions at a time. We may have several debits and several credits that need to be edited and saved together as a group. We may add new records or delete records or edit existing records but we want to save the entire group of records all at one time. I have experimented with the ImmediateDelete property of the Business Object to keep the framework from propagating deletions to the backend database immediately. But after deleting a record in the business object's datatable, I seem to be prohibited from doing anything with any other record until I either save the changes by answering Yes when prompted because I want to move to another record, or answering No which cancels the deletion.

I must not be seeing the forest for the trees. Certainly there must be a way built into the framework to accomodate working with a group of records before saving all of them at one time. I never want to use grids for editing, I just want to be able to edit multiple records one at a time and then save all the changes.

Sam Tenney
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform