Lets suppose i have a CosmosDb collection that owns the documents explained by these 2 classes
public class DocumentA {