IDbContextMock<(Of <(<'TEntity>)>)>..::..SetupDbSets Method

Create Mock Setup for the database sets that are marked as virtual.

Namespace:  FastMoq.Models
Assembly:  FastMoq.Core (in FastMoq.Core.dll)

Syntax


DbContextMock<TEntity> SetupDbSets(
	Mocker mocks
)
Function SetupDbSets ( _
	mocks As Mocker _
) As DbContextMock(Of TEntity)
DbContextMock<TEntity>^ SetupDbSets(
	Mocker^ mocks
)

Parameters

mocks
Type: FastMoq..::..Mocker
The Mocker from test context.

Return Value

DbContext Mock.