I created patch for this. OK to commit ? Andrus.
----- Original Message ----- From: "Andrus Moor" <[email protected]> To: <[email protected]> Sent: Sunday, June 14, 2009 7:24 PM Subject: [dblinq] Table attribute not found in parent class in new metadata engine > > New metadata engine does not find Table attribute in parent classes. > It requires that Table is present in the type which is used. > > [Table(Name="Dok")] > public class Dok: EntityBase, INofifyPropertyChanged { > } > > public class DokLadu { > } > > public class DokT: DokLadu { > } > > public class CartDokT: DokT { > } > > > Trying to use CartDokT to add new record to table causes > > The type 'CartDokT' is not mapped as a Table. > > or > > NullReferenceException in submit > > exception. > > In old engine Jiri added special method to AttribHelper to retrive parent > Table attribute > > Andrus. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DbLinq" 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/dblinq?hl=en -~----------~----~----~----~------~----~------~--~---
tableattrib.patch
Description: Binary data
