Skip to content

AutoFixture

Alex Fox Gill edited this page May 11, 2016 · 7 revisions

The AutoFixture customization is called (unsurprisingly) LazyEntityGraphCustomization (source). It takes a single constructor parameter of type ModelMetadata.

To customize a fixture:

new Fixture().Customize(new LazyEntityGraphCustomization(modelMetadata));
Clone this wiki locally