I'm wondering why ObjectView's index property returns object instead of ObjectViewRow? It would be nicer to use:
view[n].Xxx versus (view[n] as ObjectViewRow).Xxx
Thanks for the gread library :), I'm new to NHibernate but this library give one more point to use OR approach.
--Gena
Good question! I really can't think of a reason why it shouldn't be ObjectViewRow.
Will change.
I'll implement object IList.this[int index] explicitle to satisfy IList.
Log in to post a comment.
I'm wondering why ObjectView's index property returns object instead of ObjectViewRow? It would be nicer to use:
view[n].Xxx versus (view[n] as ObjectViewRow).Xxx
Thanks for the gread library :), I'm new to NHibernate but this library give one more point to use OR approach.
--Gena
Good question! I really can't think of a reason why it shouldn't be ObjectViewRow.
Will change.
I'll implement object IList.this[int index] explicitle to satisfy IList.