We’re going to use LINQ2SQL in a project. Don’t ask why we’re not doing Entity Framework. When you start out with LINQ2SQL, you’ll google bing on “LINQ2SQL”. This, if you feel lucky, ends up in this page:
http://msdn.microsoft.com/en-us/library/bb425822.aspx
The page is long and old. The read, you’ll just have to cope with. That it is old is sometimes annoying because it’s outdated. What I couldn’t really find was the DataShape class on msdn. That’s because it’s now called the DataLoadOptions class. The DataShape class comes from the beta version of LINQ2SQL.
Hope this helps out other people searching for the DataShape class.
Recently in one of our projects, we had to do some performance optimizations that required us to look a bit closer at the resources our application used. In general, you should always dispose an object that’s implementing the IDisposable interface.
K2’s client API’s use a connection to the K2 server which needs to be closed and disposed after you’re done using them. In C# you can use the using-statement to dispose your objects when you’re done with it. The using-statement only works on objects that inherits from IDisposable.
Here are some examples of how to correctly use the using-statement when using K2 API’s.
Read more »
Just a quick post to let you know that the KB001200 that i posted about, is now available!
Customers that already have a K2 blackpearl/blackpoint license can download this update from their customer portal.
There’s a PDF up that shows all the features (and know issues).
And if you want to upgrade, check this PDF.