Пример #1
0
        public static IDataWrite <IList <FieldNameInputValuePairObject> > GetGERelationshipWriter(string path, string pathext, string headerText)
        {
            var con    = new CsvDataWriterConnection <GERelationshipFieldQuotedDto>(headerText);
            var conExt = new CsvDataWriterConnection <FICOFieldsDelimitedDto>(headerText);
            var writer = new FICOFileWriter <GERelationshipDto, GERelationshipFieldQuotedDto, FICOFieldsDelimitedDto>(con, conExt, path, pathext);

            return(writer);
        }
Пример #2
0
        public static IDataWrite <IList <FieldNameInputValuePairObject> > GetFICOFileWriter(string path, string pathext, string headerText)
        {
            Console.WriteLine("Beginning writer constructions: {0} {1}.", path, pathext);
            var con    = new CsvDataWriterConnection <FICOFieldsWriteDto>(headerText);
            var conExt = new CsvDataWriterConnection <FICOFieldsDelimitedDto>(headerText);
            var writer = new FICOFileWriter <FICOFieldsDto, FICOFieldsWriteDto, FICOFieldsDelimitedDto>(con, conExt, path, pathext);

            return(writer);
        }