Ejemplo n.º 1
0
 public SQLiteGenerator(IDataGenerationJobService jobService, IVersionService versionService, AnmatConfiguration configuration)
 {
     this.scriptBuilder  = new StringBuilder();
     this.jobService     = jobService;
     this.versionService = versionService;
     this.configuration  = configuration;
 }
Ejemplo n.º 2
0
        public CsvDocumentReader(AnmatConfiguration configuration)
        {
            this.configuration  = configuration;
            this.typeConverters = new Dictionary <Type, Func <string, DocumentMetadata, DocumentColumnMetadata, string> > ();

            this.LoadTypeConverters();
        }
Ejemplo n.º 3
0
        public DocumentGenerator(string name, IDocumentReader reader, IDataGenerationJobService jobService,
                                 IDocumentMetadataService metadataService, AnmatConfiguration configuration)
        {
            this.reader          = reader;
            this.jobService      = jobService;
            this.metadataService = metadataService;
            this.configuration   = configuration;

            this.Name     = name;
            this.Metadata = this.GetMetadata();
        }