DbContextMock<(Of <(<'TEntity>)>)> Constructor (Expression<(Of <(<'Func<(Of <(<'TEntity>)>)>>)>)>, MockBehavior)

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

Syntax


public DbContextMock(
	Expression<Func<TEntity>> newExpression,
	MockBehavior behavior
)
Public Sub New ( _
	newExpression As Expression(Of Func(Of TEntity)), _
	behavior As MockBehavior _
)
public:
DbContextMock(
	Expression<Func<TEntity>^>^ newExpression, 
	MockBehavior^ behavior
)

Parameters

newExpression
Type: Expression<(Of <(<'Func<(Of <(<'TEntity>)>)>>)>)>
behavior
Type: MockBehavior