Your code is quite difficult to read without proper styling. I recommend the 'Special Container'. We created a DLL from a c# class library generated from the .NET Object Binding Wizard and placed the DLL in our bin/ folder.
Assuming lcontainerImco.Connection is a CacheConnection object from 'Intersystems.Data.CacheClient' and you have imported 'Intersystems.Data.CacheTypes'. The following should work.