Click here to Skip to main content
15,881,757 members
Articles / Programming Languages / C#

Genesis Hybrid Smart Client Framework part III

Rate me:
Please Sign up or sign in to vote.
4.29/5 (10 votes)
19 Jun 2009Ms-PL10 min read 33.9K   7  
This is part III of a VII part series. This article covers the back-end of the Genesis Smart Client Framework including the database design.
��USE [BlueMarble.Genesis.Dev] /****** Object:  StoredProcedure [dbo].[Security_RibbonRole_Update]    Script Date: 05/20/2009 22:37:08 ******/

SET ANSI_NULLS OFF

GO

SET QUOTED_IDENTIFIER ON

GO

/*

----------------------------------------------------------------------------------------------------

-- Date Created: 20 May 2007



-- Created By: Eliyahu Business Systems (http://www.eliyahu.co.za)

-- Purpose: Updates a record in the Security_RibbonRole table

----------------------------------------------------------------------------------------------------

*/





CREATE PROCEDURE [dbo].[Security_RibbonRole_Update]

(



	@RibbonGuid uniqueidentifier   ,



	@OriginalRibbonGuid uniqueidentifier   ,



	@RoleGuid uniqueidentifier   ,



	@OriginalRoleGuid uniqueidentifier   

)

AS





				

				

				-- Modify the updatable columns

				UPDATE

					dbo.[Security_RibbonRole]

				SET

					[RibbonGuid] = @RibbonGuid

					,[RoleGuid] = @RoleGuid

				WHERE

[RibbonGuid] = @OriginalRibbonGuid 

AND [RoleGuid] = @OriginalRoleGuid

GO

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)


Written By
We Fix Code
South Africa South Africa
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions