Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to override Me.Save() function for encrypted table
Message
De
16/12/2008 09:10:54
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
16/12/2008 03:00:06
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Divers
Thread ID:
01367744
Message ID:
01367842
Vues:
7
Hi Liew,

>Hi Kevin,
>
>I'm currently testing XP_CRYPT to encrypt our data in our database. XP_CRYPT attempts to create a view from the original table. However this had cause some issue with the MM.NET save method. The SQL return set en error "The column is read-only", how to we should resolve this issue? Is MM.NET save method can be alter is such way that we could overwrite its original behavior?
>
>MM Version : 2.1
>
>Kindly Advise.

I don't know anything about XP_CRYPT but can offer this info. the form Save() method is marked virtual (overridable) for your purpose so it can be overriden no problem. That said, I suspect this isn't the method you need to override since the form Save method does not contain the meat of the save. Ultimately the form save methods end up calling the business objects SaveDataSet() method and you should be able to override this in your aBusinessObject class if you want your changes application wide, or in any individual business object class. You might want to open the Mere Mortals Framework Windows Forms solution and then open the mmBusinessForm.cs file to look at all the Save methods so you know what is actually happening.

Good luck
Tim
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform