[ActiveRecord("List_Lookups",and now for derived class DeleteAll(), FindAll() etc are just ready to be use isn't that cool?
DiscriminatorColumn = "Type",
DiscriminatorType = "String",
DiscriminatorValue = "NA")]
public class Lookup: ActiveRecordBase where T: class
{
.... some code ...
}
[ActiveRecord(DiscriminatorValue = "PTL")]Now I am ready to focus on another matter ;)
public class ProjectTypeList: Lookup
{
.. zero code ;)
}
By the way x1r0k3wl's comment come to rescue.