I am trying to figure out best way to model class inheritance in DocumentDb.
Say my classes are structured as

```
class A
 property X
 property Y
 property Z

class B inherits from A
  property W

```

Is there a built in support to handle this? If I use Lambda expressions in my client code, will they be able to distinguish between the types automatically?

Will the following query only return objects of type B back? Or will it also consider instances of base class A?

```
var bCollection = from o in client.CreateDocumentQuery<B>(collectionLink)
                  where X > 2
                  select o;

```