Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Commented Issue: IsConcurrencyToken(true) doesn't output etag attribute on edm model [460]

$
0
0
The method is not working when set property as concurrency token.

For example:
builder
.Entity<Vehicle>()
.Abstract()
.HasKey(v => v.Name)
.HasKey(v => v.Model)
.Property(v => v.WheelCount).IsConcurrencyToken(true);

The edm model is:

<EntityType Name="Vehicle" Abstract="true">
<Key>
<PropertyRef Name="Name" />
<PropertyRef Name="Model" />
</Key>
<Property Name="Name" Type="Edm.String" Nullable="false" />
<Property Name="Model" Type="Edm.Int32" Nullable="false" />
<Property Name="WheelCount" Type="Edm.Int32" Nullable="false" />

There is no etag attribute added to the property element.
Comments: Let us remove the IsConcurrencyToken since we don't support eTag yet.

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>