VS 2012 SSDT build CLR with IEnumerable failing on generated syntax
问题 I'm attempting to reuse some code found here. After adding a new using the c# (shown below) seems to be fine. When I go to publish the database, however, the code generator does not seem to recognize the IEnumerable type and ends up producing an error. The actual error (Incorrect Syntax near AS) from the generated code below is obvious, so my question is how can I get SSDT to generate the correct code and avoid the cause of the error? (I assume that I can add the CLR manually, however, I