No joy:
Here's the SQL that's being executed:
declare @P1 int
set @P1=NULL
exec sp_executesql N'INSERT INTO [dbo].[Container] ([ProcessCodeId]) VALUES (@ProcessCodeId);SELECT @ContainerId=SCOPE_IDENTITY()', N'@ContainerId int output,@ProcessCodeId int', @ContainerId = @P1 output, @ProcessCodeId = 24
select @P1
Here the setup for LLBL...
ContainerEntity ce = new ContainerEntity();
ce.Fields["ContainerId"].ForcedCurrentValueWrite(Convert.ToInt32(aNode.Tag));
ce.ProcessCodeId = (int)grdMain.Selected.Rows[0].Cells["ProcessCodeId"].Value;
ce.Save();