protected override void ConfigureClassMap(PackageMetadataClassMap map) { map.Map(x => x.Metadata.Type).Index(3); map.Map(x => x.Metadata.Url).Index(4); map.Map(x => x.Metadata.Branch).Index(5); map.Map(x => x.Metadata.Commit).Index(6); }
private Configuration CreateCsvConfiguration() { var configuration = new Configuration { HasHeaderRecord = false, }; var map = new PackageMetadataClassMap(); ConfigureClassMap(map); configuration.RegisterClassMap(map); return(configuration); }
protected override void ConfigureClassMap(PackageMetadataClassMap map) { map.Map(x => x.Metadata).Index(3); }
protected abstract void ConfigureClassMap(PackageMetadataClassMap map);