kala-tamin How to map table records to Any type using Castle ActiveRecord

How to map table records to Any type using Castle ActiveRecord

I know it's possible to create Any relationships where the related record could be of any type.

Is there a way to tell the ActiveRecord the records in a table belong to many different types even when there is no relationships? For example I have a table in which there is a string field that stores the type of each record in table. I'd like ActiveRecord to recognize the type of each record and subsequently instantiate the correct type when querying that table.

Can anyone say if that's possible?

Email errors in a asp.net mvc application


ASP.NET MVC: First access after some minutes slow, then every following request is fast
There are three ways of doing this. How to get all input controls which are of type file in jqueryEach method is design to suit each of these three situations:. Razor view engine - exception when calling Any Function Single Table Inheritance uses a single table with a discriminator column to determine which type each row contains.. Write css for individual page in mvc3 project Class Table Inheritance involves using different tables for each class where the "base" table defined the primary key, and the others "inherit" it.. Asp.net WebForms app that runs MVC in a subfolder Concrete Table Inheritance is a third way to map a class hierarchy, each concrete class has its own database table.. how do i have a facebook-like scrolling updates on my website showing all activity http://www.castleproject.org/activerecord/documentation/v1rc1/usersguide/typehierarchy.html. Razor view engine - How can I add Partial Views

98 out of 100 based on 73 user ratings 1008 reviews