LCStream Class

I am using DECS Connectivity to connect to SQL Server. I have used a LCStream class instance in my agent to connect to a DECS connection.Now I do not know how to initialize the LCStream class(the Append method related to the LCFieldList class is not working in this context). Please send me the code for connecting to the database with a LCStream class variable.

Thanks and Regards,

Sayantan.