Example #1
0
        public PackageProcessor(ISourceSchema schema, ILog log, ISqlBuilder sqlBuilder, IFileService fileService, IAppArgs args)
        {
            Affirm.ArgumentNotNull(schema, "schema");
            Affirm.ArgumentNotNull(log, "log");
            Affirm.ArgumentNotNull(sqlBuilder, "sqlBuilder");
            Affirm.ArgumentNotNull(fileService, "fileService");
            Affirm.ArgumentNotNull(args, "args");

            _schema      = schema;
            _sqlBuilder  = sqlBuilder;
            _fileService = fileService;
            _log         = log;
            _args        = args;
        }
Example #2
0
        public UnitOfWorkFactory(IAppArgs args)
        {
            Affirm.ArgumentNotNull(args, "args");

            _args = args;
        }