ccshane / ScriptDomTutorial

My work on documenting the Microsoft.SqlServer.TransactSql.ScriptDom library
6 stars 5 forks source link

DataContainer.cs does not have all needed Methodes to pass the test completely #1

Closed NucsuM closed 8 years ago

NucsuM commented 8 years ago

Hello cris,

I also want to implement a t-sql parser with ScriptDom. I have a lot of scripts which I want to analyze. The Microsoft api-documentation does not contain examples :( . In my view, your blog is the biggest collection of examples about the usage of ScriptDom.

The "Joins"-Branch seams to have the latest code. So I created a Visual Studio Solution like in your Blog...

My Problem is that the DataContainer-Class does not have all the methodes to pass the tests[1]. The Method AddTable in DataContainer.cs accept one parameter, but the SqlStatementsParser.cs try to call this methode with two or three parameters[2].

Do you have a complete version of the DataContainer.cs in your local git-staging-area (that pass all the unittests) ? :)

Thanks

Robert

[1] github1

[2] github2

ccshane commented 8 years ago

Thank you. I have updated all of the code with new versions in the Joins branch. This should now be working. I'm not sure what happened there. I'll need to go through the other branches and clean them up as well.