'Can't CRUD using Entity Framework without discriminator field in COSMOS DB?

Currently when doing CRUD against a Cosmos database with Entity Framework, it's not allowing me to do so, unless I specify the HasDiscriminator in the ModelBuilder and also ensure that I have the discriminator field in my items in the COSMOS database, then I am able to do.

Also I have try to use HasNoDiscriminator still can't do CRUD operations against the cosmos db items.

See below:

enter image description here

enter image description here

enter image description here

I want to CRUD without discriminator field is there a way?



Solution 1:[1]

Line dict should not be inside marker. Try this:

fig.update_traces(
    marker=dict(
        color='lightblue',
        size=10),
    line=dict(
        color='purple',
        width=3
    )
)

What I mean, you havn't set your brackets correctly

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 ot98ikyq