Repository EF DBContext
问题 my question is a two part issue. I am using the repository and unit of work pattern with entity framework. I have the following StockTransferRepository and StockTransfer is my aggregateRoot. Public Class StockTransferRepository Inherits WMSBaseRepository(Of StockTransfer, Int64, Dictionary(Of String, String)) Implements IStockTransferRepository Public Sub New(uow As IUnitOfWork) MyBase.New(uow) End Sub Public Overrides Function GetObjectSet() As IQueryable(Of StockTransfer) Return