efcore icon indicating copy to clipboard operation
efcore copied to clipboard

Cosmos: Honor ValueGenerated

Open AndriySvyryd opened this issue 5 years ago • 2 comments

It would avoid setting a property if it is currently assigned the default value.

AndriySvyryd avatar Dec 18 '20 18:12 AndriySvyryd

@AndriySvyryd In what way is ValueGenerated not currently honored by the Cosmos provider?

ajcvickers avatar Jun 21 '24 12:06 ajcvickers

Cosmos doesn't call GetBeforeSaveBehavior() and GetAfterSaveBehavior() to determine how a given property should be handled.

AndriySvyryd avatar Jun 21 '24 21:06 AndriySvyryd