Code to Insert/Update Database in Server UD Method

I need to make some database inserts from my product configurator into a UD table and it has been difficult to find information on how to accomplish this. I found this code snippet in the Tech ref Configurator guide but it seems to be incomplete. The Insert(Db.UD03, UD03) line seems to be another UD method that was not explained. Is there any information on how to do this insert and is there any documentation of any kind on this namespace? Any information on how LINQ is implemented in E10 or E11 would be greatly appreciated as well.

Do not do a Direct DB Insert, Use the BO

1 Like

Thank you for the reply,

I tried using that code and got this error in the UD Server Method.

_EV_1005476UserDefined.cs(93,67): error CS0234: The type or namespace name ‘Contracts’ does not exist in the namespace ‘Ice’ (are you missing an assembly reference?)_EV_1005476UserDefined.cs(97,46): error CS0246: The type or namespace name ‘UD01Tableset’ could not be found (are you missing a using directive or an assembly reference?)

Running on premises.

Did you bring in the Ice.Contracts.UD01 DLL in your references?