I'm looking to host a number of configuration parameters for customers in RavenDb database, while numereous data points that are generated on a minute-by-minute basis for these parameters in Azure Table storage. I need a basic way to connect between RavenDb and ATS. Obviously, this connection is to be done via keys. My issue is that RavenDb uses forward slashes in all of its Id fields, while ATS pukes when a forward slash is used in either PartitionKey or RowKey.
My question is as follows: Is it possible to have a read-only Id key in my RavenDb entities (no setters). Such key approach would return the value of a Guid-based key pre-pended with "entity/" prefix. This way, I can store the Guid-based ID key in raven entities as well and be able to compare ravenEntity.RootId (guid) to storageEntity.PartitionKey (string based on guid). I'm worried that even if my entities seem to persist to Raven and load back OK.. I may have an issue with some more obscure functionality?
Are there other suggested or perhaps worked out approaches to handle such relationship?