|
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.1433
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace JocysCom.Sql.ScriptsGenerator.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute(@"---------------------------------------------------------------
-- Grant Permission To All Stored Procedures
---------------------------------------------------------------
-- Grant execute permission on procedures to user.
DECLARE @user sysname SET @user = 'UserName'
DECLARE @item nvarchar(128)
DECLARE items CURSOR LOCAL FAST_FORWARD READ_ONLY FOR
-- Put SQL String here to select item value from table.
SELECT [name] FROM sysobjects WHERE [type] = 'P' and [category] = 0 ORDER BY [name]
OPEN items
FETCH NEXT FROM items INTO @item
WHILE (@@fetch_status <> -1)
BEGIN
IF (@@fetch_status <> -2)
BEGIN
-- Do some action with item value.
EXEC('GRANT EXECUTE ON ['+@item+'] TO ['+@user+']')
END
FETCH NEXT FROM items INTO @item
END
DEALLOCATE items")]
public string PermissionTextBox {
get {
return ((string)(this["PermissionTextBox"]));
}
set {
this["PermissionTextBox"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute(@"--- <summary>
--- Insert new record into table.
--- </summary>
--- <param name=""RecordId"">Unique record Id.</param>
--- <param name=""RecordGuid"">Set Global Unique Identifier.</param>
--- <param name=""SomeValue"">Set record value.</param>
--- <param name=""RecordEnabled"">Enable or disable record.</param>
--- <returns>Unique Id of new record.</returns>
--- <remarks>
--- History:
--- 2007-11-02 - Created by Smith.
--- 2007-11-23 - Modified by Neo.
--- </remarks>
CREATE PROCEDURE [dbo].[solution_Category_InsertRecord] (
@RecordId Int,
@RecordGuid UniqueIdentifier,
@SomeValue NVarChar(200),
@RecordEnabled Bit
)
AS
-- Stored procedure starts here...
--- ----------------------------
--------------------------------")]
public string XcetSourceTextBox {
get {
return ((string)(this["XcetSourceTextBox"]));
}
set {
this["XcetSourceTextBox"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string XcetRegExTextBox {
get {
return ((string)(this["XcetRegExTextBox"]));
}
set {
this["XcetRegExTextBox"] = value;
}
}
}
}
|
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.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.