var cmd = new SqlCommand("SelectListValue");
cmd.CommandType = CommandType.StoredProcedure;
cmd.Connection = conn;
cmd.Parameters.Add(CreateTableGuidParameter("@ids", ids));
var reader = cmd.ExecuteReader();
CERATE PROCEDURE SelectListValue
( @ids [dbo].[TableUniqueIdentifierType] readonly )
AS
BEGIN
SELECT * FROM @ids
END
CREATE TYPE [dbo].[TableUniqueIdentifierType] AS TABLE(
[ID] [uniqueidentifier] NOT NULL
)