EFConcurrencyModeTest

EFConcurrencyModeTest helps you write unit tests (for e.g. NUnit) that test whether optimistic concurrency for Entity Framework is enabled in your EDMX files.


Keywords
ef, entity, entityframework, nunit, test, testing
License
Unlicense
Install
Install-Package EFConcurrencyModeTest -Version 2.0.3

Documentation

EFConcurrencyModeTest

EFConcurrencyModeTest helps you write unit tests (for e.g. NUnit) that test whether optimistic concurrency for Entity Framework is enabled in your EDMX files.

See the documentation for more information.

Associated blog post.

How to build

For some reason, on certain computers you can only run "build.cmd" from the "Developer Command Prompt" (under the Visual Studio folder of the start menu).

Building in Visual Studio 2017

As of April 2017, Visual Studio 2017 doesn't install the \Program Files (x86)\MSBuild\Microsoft\VisualStudio\v15.0\FSharp\Microsoft.FSharp.Targets file correctly (at least not on my computer). If this is the case, you need to create that file and insert the following content:

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="$(MSBuildProgramFiles32)\Microsoft SDKs\F#\4.1\Framework\v4.0\Microsoft.FSharp.Targets" />
</Project>

See Visual F# issue #2340 for more information.