Exemplo n.º 1
0
        public Logger(ISQLCommandMapping <LogHead, Guid> headCommand, ISQLCommandMapping <LogBody, Guid> bodyCommand)
        {
            ISQLCommandDataAccessConnection _Con = (ISQLCommandDataAccessConnection)DependencyManager.Instance.Resolver <ISQLCommandDataAccessConnection>();

            _headCommand = headCommand;
            _bodyCommand = bodyCommand;
            _headCommand.SQLDataAccessConnection = _Con;
            _bodyCommand.SQLDataAccessConnection = _Con;
        }
Exemplo n.º 2
0
 public UnitOfWorkManager(ISQLCommandDataAccessConnection con)
 {
     _Con    = con;
     resList = new List <IUnitOfWorkCommandConnection>();
 }