0

I'm preparing a csv file to be imported into RavenDb, and have a column named Raven-Entity-Name to specify into which collection the documents have to be imported.

This data will be used by an ASP.NET MVC app, and so that RavenDb's default identity part separator (/) doesn't wreck havoc with my routes, I define a custom one on my app's start-up:

DocumentStore.Conventions.IdentityPartsSeparator = "-";

The csv import actually generates id's using the default separator, is there a way I can specify a custom IdentityPartsSeparator when importing a csv file or is manually generating the id's on the csv file the only option?

Sergi Papaseit
  • 15,999
  • 16
  • 67
  • 101

1 Answers1

0

No, there isn't. You need to load the csv file using your code to control that.

Ayende Rahien
  • 22,925
  • 1
  • 36
  • 41