开发者

NHibernate - Is there a way to map a formula that uses sql function and returns Table?!

I have a sql function that returns table and I need to map it to a collection i'm trying with formula but as far as i can tell formula is good only to single returned value (right?!?)

is there a way to use formula and map it to a DataTable or some other collection

<propery name="Prop" type="DataTable" for开发者_StackOverflow社区mula="select function(...)"/>

if not what are my other options?!

thanks!


http://ayende.com/blog/1720/using-sql-functions-in-nhibernate

For return value you can use DTO or Persistence class

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜