Hello,

I've got an Attachments table I am dealing with. Originally the data was 
table-bound VARBINARY(MAX), and the row ids were (are) BIGINT, etc.

The domain model, and related views and view models, are also, 
inexplicably, strongly coupled with the BIGINT (or C# long) Id property. 
There's enough there that I really don't want to muck with the Id one way 
or another if I can avoid it.

We are wanting to migrate the binary data from table to FILESTREAM, via SQL 
Server 2008 R2 and its features. So the data portion is easy enough. What 
we also need is the ROWGUIDCOL column added. In and of itself, no problem.

Except in the domain model mapping through the NHibernate ORM. How do we 
help the Guid column comb, while also not mucking with the Id? Is 
CompositeId an option with this sort of thing, but I didn't see anything in 
particular jump out at me there, either?

Any ideas? Thank you...

Best regards,

Michael

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fluent-nhibernate+unsubscr...@googlegroups.com.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
Visit this group at http://groups.google.com/group/fluent-nhibernate.
For more options, visit https://groups.google.com/d/optout.

Reply via email to