Thoughts on Software Development, .Net, OOP, Design Patterns and all things cool
Browse by Tags
All Tags »
Linq (
RSS)
-
|
Today I needed to load in an XML file into memory for later use. At first I was going to use the XmlDocument library (old habits die hard), but later switched over to the XDocument library. Why, not because one is better (ok, so I think that XDocument...
|
-
|
If you happen to be using Linq2Sql and are also someone who tests, I have something for you. You can use Linq's DataContext to create your database and then populate it with test data prior to each test run. Note that you can do this same...
|
-
|
Originally this series was meant to be titled 'Any thing you can do I can do better', but to be honest after writing the Xml/XPath examples I realized the XLinq is really no better per say than Xml/XPath. However, what XLinq does bring to...
|
-
|
Originally this series was meant to be titled 'Any thing you can do I can do better', but to be honest after writing the Xml/XPath examples I realized the XLinq is really no better per say than Xml/XPath. However, what XLinq does bring to...
|
-
|
Originally this series was meant to be titled 'Any thing you can do I can do better', but to be honest after writing the Xml/XPath examples I realized the XLinq is really no better per say than Xml/XPath. However, what XLinq does bring to...
|
-
|
Originally this series was meant to be titled 'Any thing you can do I can do better', but to be honest after writing the Xml/XPath examples I realized the XLinq is really no better per say than Xml/XPath. However, what XLinq does bring to...
|
-
|
For the first time in a long time I needed to update values inside an XML document. I have done this type of action many times in the past and have always hated it. The syntax is clunky and the process is simply painful. So today when I realized...
|
-
|
Today as I was diving further into my Linq2Sql Odyssey I ran into a need to do grouping on data. Bud not just single column grouping, I needed to group by multiple columns from multiple tables. Because it took me a few minutes to get right...
|
-
|
Gotta say, I am kinda flustered right now. Today I was trying to perform what I thought to be a pretty straight forward Linq2Sql query, but turns out it was not. Overview I have a query that joins a few tables together to get some data, but in place...
|
-
|
***** Disclaimer ****** I may be the last person to figure this out, but oh well. ***** End Disclaimer ****** Today as I was further exploring the coolness that is Linq to Sql I ran into a little situation. I was creating a query where I wanted...
|
-
|
If you have not taken a look at Linq (either Linq to objects or Linq to sql) you need to do so. I would say it is the coolest new feature that was released with .Net 3.5. But there is one thing that you MUST keep in mind when using Linq. ...
|
-
|
Again, this post is another in the recent string of How-to's. But it is just so hard to resist. .Net 3.5 has so many cool features, it is just fun to explore them all. In today's post I thought it would be fun to use Linq to access the file system...
|
-
|
This post is another in the recent string of How-to's. But it is just so hard to resist. .Net 3.5 has so many cool features, it is just fun to explore them all. Ok, so here is the issue we are going to solve today. We have a list of entities and we...
|
-
|
Ok, I am only a few days into using Linq and I am already getting annoyed. I have a need to create an abstract base class that will have a few common properties (columns) that will be used by all my inherited classes. Here is what I WAS wanting to do...
|
-
|
Can someone help me with this? I was trying to insert a record into our DB where the data type was a TinyInt and received this error "The primary key column of type 'TinyInt' cannot be generated by the server. ". I did a bit of Googling...
|
More Posts
Next page »