Search This Blog

Wednesday, November 25, 2015

Need to migrate your sql server database and wondering how will you get all the objects sql scripts ?

Found out that it is quite simple.

In case the link gets broken:

  1. Mouse right-click on the database in question, in the database explorer
  2. Select Tasks
  3. Select Generate Scripts
  4. Choose all the objects you want the scripts to be generated.
That's all.



Thursday, November 12, 2015

Project will not build after adding function or procedure to edmx

Having issues in trying to add a function/procedure to your Entity Data Model - it will not build after that ?
What's more, it works perfectly with Entity Framework version 5 ? And with 6, which you are trying now, does not ?

Well, here's the solution.

Lessons learned: there is such a thing as Entity Framework Tools for Visual Studio, and we need to make sure we have it updated/in sync with the version of Visual Studio we are using in combination with a package we have just downloaded/added to our project.

Dependencies, dependencies, dependencies...

Monday, November 9, 2015

Sunday, November 8, 2015

One more chapter on the topic "Do Not Use Regex to Parse Html"

My bit of contribution to the topic of not using regex to parse html, which comes after I put much effort in doing so :-)

See this question in stackoverflow I just posted.