常用方法
常用方法
常用方法
常用方法
public IReadOnlyRepository <TAggregateRoot, TKey> CreateReadOnlyRepository() { CheckType(typeof(TAggregateRoot), typeof(TKey)); return(_repositoryProvider.GetReadOnlyRepository()); }