Wrox Programmer Forums
BOOK: Professional DotNetNuke Module Programming ISBN: 978-0-470-17116-5
This is the forum to discuss the Wrox book Professional DotNetNuke Module Programming by Mitchel Sellers and Shaun Walker - Wrox DotNetNuke Series Editor; ISBN: 978-0-470-17116-5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional DotNetNuke Module Programming ISBN: 978-0-470-17116-5 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 18th, 2010, 11:18 AM
Authorized User
Join Date: Jan 2010
Posts: 29
Thanks: 0
Thanked 1 Time in 1 Post
Default delete / approve sprocs

I'm creating a new module and using the book as a guide. I'm at the point where I'm writing my stored procedures.

In the past when writing procedures that affect a single record (like update and delete sprocs), I have passed in the record's primary key value to identify the record. In the book, both 'entryID' and 'moduleID' are passed in. Does the ModuleID have to be included for the cascading delete in the modules table to work? Or could it safely be omitted from the 'ApproveGuestbookEntry' and 'DeleteGuestbookEntry' sprocs?

I don't want to omit the moduleID now and have a 'gotcha' moment later.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to delete file System.IO.Delete error maricar C# 13 March 14th, 2014 06:50 AM
SProcs and Not Linq Queries fzr600dave BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio 2 May 17th, 2009 02:04 PM
SQLDataSource and SPROCS mattgb1 ASP.NET 2.0 Basics 0 June 5th, 2007 08:40 PM
if the approve button is click for the second time debjanib ASP.NET 1.0 and 1.1 Professional 1 August 15th, 2006 08:21 AM
Crucial - need help with ras + asp + mssql sprocs cr_ras_zke Crystal Reports 0 October 18th, 2003 08:02 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.