--	添加音频应用
INSERT INTO [DB_CLASS]
           ([Name]
           ,[Remark]
           ,[Icon]
           ,[Url]
           ,[Type])
     VALUES
           ('音频管理'
           ,'在线播放、管理、共享音乐资源'
           ,'Template/Image/icon_application_music.gif'
           ,'Main/Music/Default.aspx'
           ,0);
--	添加应用扩展类型
INSERT INTO [DB_CLASS_EXTENSION]
           ([ClassId]
           ,[Name]
           ,[Extension])
	SELECT ClassId, 'MP3 音乐', 'mp3'
		From DB_CLASS Where Name = '音频管理';
INSERT INTO [DB_CLASS_EXTENSION]
           ([ClassId]
           ,[Name]
           ,[Extension])
	SELECT ClassId, 'Windows 音频', 'wmv'
		From DB_CLASS Where Name = '音频管理';
--	添加标签
INSERT INTO [DB_ATTRIBUTE]
           ([ClassId]
           ,[Name]
           ,[Remark]
           ,[Type]
           ,[Required]
           ,[Special]
           ,[DefaultValue])
	SELECT ClassId, '歌手', '', 1, 0, 5, ''
		From DB_CLASS Where Name = '音频管理';
INSERT INTO [DB_ATTRIBUTE]
           ([ClassId]
           ,[Name]
           ,[Remark]
           ,[Type]
           ,[Required]
           ,[Special]
           ,[DefaultValue])
	SELECT ClassId, '专辑', '', 1, 0, 6, ''
		From DB_CLASS Where Name = '音频管理';