示例#1
0
        public void SomeOperation(AnotherEntityId id)
        {
            AnotherEntity entity = _anotherEntityRepository.GetById(id);

            entity.SomeLogic();

            _anotherEntityRepository.Update(entity);
        }
示例#2
0
 public AnotherEntity GetById(AnotherEntityId id)
 {
     throw new NotImplementedException();
 }