SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE PROCEDURE [dbo].[p_sys_md_csharp_print_table_dictionary] 
	@tbl as IdTextTableType READONLY,
	@dictionary_name varchar(64)
AS
BEGIN
	SET NOCOUNT ON;
	
	print ''
	
	print char(9) + char(9) + 'public static Dictionary<string,string> ' + @dictionary_name + ' = new Dictionary<string,string>()'
	print char(9) + char(9) + '{'
	
	exec p_sys_md_csharp_print_idtexttable @tbl = @tbl, @add_comma_after = 1
	
	print char(9) + char(9) + '};'
	
END


GO
