NHibernate dateTime as an ID Bad idea?
- by Miau
hi there
I have an entity and it seems like using DateTime as the Id would be a good suit, however I there is this strange feeling that that it might be a terrible idea ( tho i cant come up with any logical reason as to why),
This is an immutable object ( ie once the value is recorded it shouldn't really change )
So DateTime as id field in NHibernate yay or Nay?
I would appreciate your comments on this