By tag: using
0
kicks
What If I Don’t Call Dispose() on my LINQ to SQL DataContext Object?
Steven Walther recently posted on the subject of disposing of DataContext objects and provided some interesting insight into what actually happens. From what he says it sounds like the DataContext object acts much like the SqlDataAdapter class. It opens the connection right before a query is execu...
0
kicks
Using "using" with a method
A nice coding technique I've just run into. It's one of those things that it's good to know about. Enjoy!
0
kicks
Multiple “using” statements
Tips on saving some indenting space on multiple "using" statements
0
kicks
How to Alias Namespaces and Data Types
One of the little known features of .NET is that you can give complete namespaces and data types alias's that you can reference them with in code. This trick allows you to get around the issue of having ambiguous namespaces and/or objects.
0
kicks
Using LINQ to SQL (Part 1)
"LINQ to SQL is an O/RM (object relational mapping) implementation that ships in the .NET Framework "Orcas" release, and which allows you to model a relational database using .NET classes. You can then query the database using LINQ, as well as update/insert/delete data from it.
LI...