Class inheritance in DocumentDb
问题 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 hand this? If I use Lambda expressions in my client code, will it be able to distinguish b/w the types automatically? Will following query only bring objects of type B back? Or will it also consider instances of base class A? var bCollection = from o in client.CreateDocumentQuery