hello every one, nice. I declare a class like this: public class ExcelData : ActiveRecordBase { [Property] public string A; [Property] public string B; [Property] public string C; //.. other property, but no one mark [PrimaryKey] attribute } But I run the application ,ActiveRecord throw a Exception and say a ActiveRecord class must have [PrimaryKey] attribute. How to do to declare a ActiveRecord object without [PrimaryKey] attribute??
Thanks a lot. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to castle-project-users@googlegroups.com To unsubscribe from this group, send email to castle-project-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---