Menu

object index[] <=> ObjectViewRow index[]

2005-11-17
2013-03-07
  • gennadii_donchyts

    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

     
    • Martijn Boland

      Martijn Boland - 2005-11-18

      Good question! I really can't think of a reason why it shouldn't be ObjectViewRow.

       
    • Donald L Mull Jr.

      Will change.

      I'll implement object IList.this[int index] explicitle to satisfy IList.

       

Log in to post a comment.

MongoDB Logo MongoDB