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; }
public UnitOfWorkManager(ISQLCommandDataAccessConnection con) { _Con = con; resList = new List <IUnitOfWorkCommandConnection>(); }