CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.dotnetnuke.custom_modules Tags:
Item Type: NewsGroup Date Entered: 4/11/2005 9:07:58 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 13 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
AlphaMeasure
Asp.Net User
How Can I Clear Module Tables When Module Is Deleted?4/11/2005 9:07:58 PM

0/0

I'm in the process of developing my first DNN module.  I have a series of tables used to store the data associated with my module.

When the user deletes an instance of my module, I'd like to go into my custom tables and clean out any existing data.

What's the best way to accomplish this in the DNN framework?

Thanks,

Josh

 

 

Imsoccrman
Asp.Net User
Re: How Can I Clear Module Tables When Module Is Deleted?4/12/2005 6:02:17 AM

0/0

You could enforce referential integrity at the database level... When the Module Record is deleted, you can let the DB delete the child records.

Just an idea..


Steve Walker
Platform Architect, Waterfield Technologies
SharePoint Forums
happyplace2020
Asp.Net User
Re: How Can I Clear Module Tables When Module Is Deleted?4/12/2005 8:05:13 AM

0/0

When a module is deleted from a page, at the database level the module is only marked as deleted, so that it can be restored, and not physically deleted from the database. To delete the module from the database you would need to clear the recycle bin.
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Elements of Sonata Theory: Norms, Types, and Deformations in the Late-Eighteenth-Century Sonata Authors: James Arnold Hepokoski, Warren Darcy, Pages: 661, Published: 2006
Embedded Systems: Architecture, Programming and Design Authors: Raj. Kamal, Pages: 0, Published: 2003
Algebraic Specification of Communication Protocols Authors: S. Mauw, G. J. Veltink, Pages: 197, Published: 1993
Conference Record Authors: IEEE Communications Society, IEEE Communications Society, Institute of Electrical and Electronics Engineers (U.S.). Denver Section, Pages: 0, Published: 1991
SQL: a beginner's guide Authors: Robert Sheldon, Forrest Houlette, Pages: 560, Published: 2003
OpenVMS Alpha Internals and Data Structures: Memory Management Authors: Ruth E. Goldenberg, Pages: 466, Published: 2002
IECEC 96: Proceedings of the 31st Intersociety Energy Conversion Engineering Conference. Authors: P R K Chetty, W D Jackson, National Capital Area Council, Aerospace Electronic Systems Society, IEEE, Electron Devices Society, Pages: 0, Published: 1996
Proceedings of 1997 IEEE International Conference on Evolutionary Computation (ICEC '97): April 13-16, 1997, University Place Hotel, Indianapolis, IN USA Authors: IEEE Neural Networks Council, Evolutionary Programming Society, Pages: 724, Published: 1997

Web:
Proposed Improvements to Module Cleanup Thus, when a module is deleted, I explicitly clear its __dict__ carefully. ... C3 removes the reference to the module from the modules table in a way that ...
Scheduled workflow state change set by custom module is deleted ... The problem is that the workflow_execute_transition function in workflow.module purges this table right after it is updated. ...
Error: Edit User Defined Table is currently unavailable. - User ... Completely deleted the tables, deleted the Desktop/GammaconUTD directory, ... Try to remove the module from all tabs, clear the recycle bin, ...
SugarCRM Forums - Fatal error after uninstalling new module! I deleted all records in the database then I un-installed the module, chose the option to delete the tables. After this I did a quick repair ...
Deleted a module definition, whole directory was deleted! - ASP ... I just deleted a module definition by simply clicking on the "delete" ... only deleted the directory, but from the sql and sprocs table too. ...
ReleaseNotes KNOWN PROBLEMS: - Disabling the module may not clear the alarm status on the Process table. - Some module configuration files are not removed after the ...
[moodle] Log of /moodle/admin/modules.php MDL-6786 Improved dropping of block and module tables during uninstall; ... module confguration (records from config) is deleted when a module is deleted. ...
PHPlist module / Datatypes / Contribs + subscription and unsubscription from a nominated list. + user is removed from PHPList when deleted from eZ publish This module can be discussed at ...
\\Krypton\common\CCS\Groups\SAINT\7.3.1\Release Notes 7.3.1 ... When a module is deleted using the Replace and Schedule a Student Module (RSM) ... The original version of the Student Module Credits (SMC) table has now ...
Help with a Google Reader Module | drupal.org Used the Devel module to clear the cache. The last post to Twitter was picked up . ... Both tables were deleted. Where is the tmp directory? ...

Videos:
django: Web Development for Perfectionists with Deadlines Google TechTalks April 26, 2006 Jacob Kaplan-Moss ABSTRACT Django is one of the premier web frameworks for Python, and is often compared to Ruby-on...




Search This Site:










weird innerexception problem

can masterpage find out which page is loaded in a content place holder

drop shadow on dynamic menus

how to add new content to text file

login controls

asp.net application will not run on v1.1.4322

auto-login with loginview?

cant add control to toolbox in visual studio

editor(gettype(coloreditor), gettype(uitypeeditor))

wh4l hosting is confusing me...

call a vbscript function

a problem on aspcreateuser

parser error message: could not load type 'storelocatorvb.global'.

system.stackoverflowexception problem

session variable

external user repository integration

passing variable from content page to web user control embedded in a master page

direct interface into a dll through browser

parsing varibles from asp to excel?

security alert message redirecting from login page

creating an account

using theme to define bordercolor for itemstyle on boundfield

2 level log in

cannot open database "profiles" requested by the login. the login failed.

knowledge check ~ anyone want to slaughter my studying??

object cannot be cast from dbnull to other types. - seeking suggestions on how to recover

assume all input is malicious until proven otherwise

new here

setting the border color of a table

'how to' md5 password

 
All Times Are GMT