This is a migrated thread and some comments may be shown as answers.

How to set up a custom column to calculate in database

1 Answer 40 Views
Design Time (Visual Designer & Tools)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Braden
Top achievements
Rank 1
Braden asked on 06 Mar 2013, 09:16 PM
Is there a way to define a custom column on a table to calculate it's value in the database that could then be queryable/sortable/etc.?  It appears that hibernate provides this sort of functionality and so far I haven't been able to find anything like this in OpenAccess.  http://docs.jboss.org/hibernate/core/3.6/reference/en-US/html/mapping.html#d0e6481

1 Answer, 1 is accepted

Sort by
0
Ady
Telerik team
answered on 08 Mar 2013, 02:09 PM
Hello Braden,

  At the moment OpenAccess does not have a similar functionality. The closest you can get to influencing the generated SQL is the 'SQL<T>' extension method. You can find a blog post of how to use it, here.
 

Kind regards,
Ady
the Telerik team
OpenAccess ORM Q1 2013 is out featuring Multi-Diagrams, Persistent Data Stream Support and much more. Check out all of the latest highlights.
Tags
Design Time (Visual Designer & Tools)
Asked by
Braden
Top achievements
Rank 1
Answers by
Ady
Telerik team
Share this question
or