/****** Object: StoredProcedure [dbo].[getSplitValue] Script Date: 03/13/2014 13:58:12 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [dbo].[getSplitValue] AS --定义获取GUID ) SET @NEWID= REPLACE(NEWID(),'-','') --判断临时表数据是否存在,如果…
方式一:Linq List<Test> list = new List<Test>(); list.Add(new Test { score = 10, name = "张君宝" }); list.Add(new Test { score = 20, name = "刘惜君" }); list.Add(new Test { score = 20, name = "刘惜君" }); list.Add(new Test { s…