|
by Eric Gunnerson via Eric Gunnerson's Compendium : CSharp on 10/30/2007 12:36:00 AM
In my last post, I showed how to create custom data types, but there's an obvious problem with that approach.
There's only one of them.
That means that when you do a query for your custom type, you get all the custom types that meet your filter.
If your application creates multiple custom types, then it needs a layer that can do the appropriate thing and give you the types that you want.
As is often the case in computer science, we're going to approach it by adding in a layer of indirection. We
... [ read more ]
|
|