Guid missing in templates for 3.5?

Guid missing in templates for 3.5?

Old forum URL: forums.lhotka.net/forums/t/4756.aspx


smithym posted on Sunday, April 27, 2008

Hi there,

 

just picked up my original book for csla (hard copy) and i loaded in the latest tempaltes (downloaded 3.5) and i created my business object... I notice Id / _id doesn't use a GUID


In the original book is explains making ID a guid

 

but now you have an INT.... So when using the factory methods the ID becomes what? Does anyone know why it was changed and should i continuing using a INT or change to GUID???

// TODO: add your own fields, properties and methods

private int _id;

Copyright (c) Marimer LLC