Это мой mssql UDT
create type ConditionUDT as Table
(
Name varchar(150),
PackageId int
);
Это моя mssql хранимая процедура
create Procedure [dbo].[Condition_insert]
@terms_conditions ConditionUDT readonly
as
begin
insert into dbo.condition (name, p_id)
select [Name],[PackageId]
from @terms_conditions;
end