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
-~----------~----~----~----~------~----~------~--~---

Reply via email to