I need to use the FILESTREAM feature of SQL Server Express 2008 feature. In order to use this, I must be able to generate the following query. And I need to be able to execute this inside an existing LLBLGen transaction. When I add a row to a table with a FILESTREAM field, I need to subsequently invoke this SQL to find the pathname to be used to stream a blob into that field.
select MyField.PathName() from MyTable where MyTable.MyGuidField='004A0341-E760-4F9B-ADE7-A33B46CC21D7'
I've searched hi and lo for a way to invoke my own SQL with LLBLGen and have had no luck. Also, tried concocting it by building fields and filters, also with no luck. I really would like to stay away from stored procs and UDTs. But if LLBLGen wont' let me build this SQL, then I guess I might have to punt.