usaved-value is for those people doing strange/imaginative things. Mere mortals does not need unsaved-value (personally never used).
On Wed, Jun 9, 2010 at 6:43 PM, cakee <[email protected]> wrote: > > In our project the contents of one DB are imported into another > database. The Id field is often used for data integrity so we cannot > clear it out. > > The current mapping for the id and version fields for every table in > the DB looks like this: > > <id name="Id" column="id" type="Guid" unsaved- > value="00000000-0000-0000-0000-000000000000" > > <generator class="MyProject.CustomGuidGenerator, Franklin"/> > </id> > <version name="Version" /> > > > My question is that I think that the we implemented the Unsaved-value > in the wrong place, but am unsure if it is wise to remove it from the > id field. What I would like to do is add the unsaved value to the > Version field and leave the id field alone using the guid.comb as the > generator. > > Thanks. > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<nhusers%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > > -- Fabio Maulo -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
