Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to override Me.Save() function for encrypted table
Message
From
16/12/2008 09:10:54
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
16/12/2008 03:00:06
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01367744
Message ID:
01367842
Views:
8
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform