SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE PROCEDURE [dbo].[p_sys_md_csharp_print_table_enum] 
	@tbl as IdTextTableType READONLY,
	@enum_name varchar(64)
AS
BEGIN
	SET NOCOUNT ON;
	
	print ''
	
	print Char(9) + 'public enum ' + @enum_name
	print Char(9) + '{'
	
	exec p_sys_md_csharp_print_idtexttable @tbl = @tbl, @add_comma_after = 1
	
	print Char(9) + '}'
	
END

GO
