DbContextMock<(Of <(<'TEntity>)>)> Class
Wrapper for Mock.
Implements the [T:FastMoq.Models.MockModel<T>.Mock]
Namespace:
FastMoq.ModelsAssembly: FastMoq.Core (in FastMoq.Core.dll)
Syntax
public class DbContextMock<TEntity> : Mock<TEntity>, IDbContextMock<TEntity> where TEntity : DbContext
Public Class DbContextMock(Of TEntity As DbContext) _ Inherits Mock(Of TEntity) _ Implements IDbContextMock(Of TEntity)
generic<typename TEntity> where TEntity : DbContext public ref class DbContextMock : public Mock<TEntity>, IDbContextMock<TEntity>
Type Parameters
- TEntity
- The type of the t entity.
Inheritance Hierarchy
FastMoq.Models..::..DbContextMock<(Of <(<'TEntity>)>)>