NOTE: with 'entity' i mean an object that needs to be saved in the db hi all, i have 2 question about working with entities without an id
1) it's possible to save an entity without generating an id column in the db? i have a simple class as class Result { int Value; DateTime Time; } to have the simplest db i want know if there's a way to have in the Result table only the 2 columns of the property without the id column wich i will never use. 2)the realy important question: what limitation i have if i work with an entity without an id property in the .net object? there's some article where there's a description of this situation? i see for example that if a entityes reference an object without an id property with a many-to-one relationship the delete-orphan option did'nt work (i don't make a deep test on that so i'm not 100 % sure). i'm interested to know what i loose if i don't use id to choose between the 2 option (use an entity with/without the id) thanks all --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to nhusers@googlegroups.com To unsubscribe from this group, send email to nhusers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---