breeze.debug.jsの場合:
function updateConcurrencyProperty(entity, property) {
...
else if (property.datatype === DataType.Binary) {
// best guess - that this is a timestamp column and is computed on the server during save
// - so no need to set it here.
return;
} else {
// this just leaves DataTypes of Boolean, String and Byte - none of which should be the
// type for a concurrency column.
// NOTE: thought about just returning here but would rather be safe for now.
throw new Error("Unable to update the value of concurrency property before saving: " + property.name);
}
モデルにタイムスタンプがあります。なぜこれが推奨されないのですか?ASP.NetのEFチュートリアルは、タイムスタンプを使用します。Concurrencycheck列として何をお勧めしますか?