Assume we've got the following...

public class Customer
{
   public DiscountCard DiscountCard { get; set; }
}

public class abstract DiscountCard
{}

public class PlatinumCard : DiscountCard
{}

public class GoldCard : DiscountCard
{}

And we are using an IUserType to manage the transition between db and
out.  How would you write a query for all Customers with a GoldCard?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to