Пример #1
0
 public static void CreateTempDatabase(ITransaction transaction) => _tempDatabases[transaction] = new UserDatabase();
Пример #2
0
        public override void Save(User entity)
        {
            var user = DbUser.FromDomainModel(entity);

            _unitOfWork.Store(user, tran => UserDatabase.Temp(tran).UsersTable);
        }