Hi everyone,

I'm reading a book to learn how to use Entity Framework, exactly using "Code First".

The book takes the issue of Concurrency and tell how to avoid problems with it (if I'm honest, I thought using a database with SQL Server Express would do it by himself configuring nothing special).

Since the book is in english and it's not my first language perhaps I'm not understanding it completely, so I come here to see if someone can lend me a hand.

The book explains how to add concurrency in some different ways, using annotations on the definition of the classes that contains the tables and also using the fluent API. My doubt comes when the book later talks about configuring non-timestamp fields for concurrency. I don't know if it's an alternative way to do this or I've to do togheter with the definition of a certain field of byte kind and declared as TimeStamp.

To sum up, I've add this field to all my classes that defines a table:

public byte[] RowVersion { get; set; }
Is this enought to be sure I'll not have concurrency problems or I have to so something else??

Many thanks