Menu

Does ORM.NET support OO queries?

Help
D.Choi
2006-09-15
2013-03-22
  • D.Choi

    D.Choi - 2006-09-15

    Hi,

    Can anyone tell me whether ObjectBroker support object-oriented queries?

    Thanks.

     
    • D.Choi

      D.Choi - 2006-09-15

      I meant "ORM.NET", not "ObjectBroker"...

       
    • David Parslow

      David Parslow - 2006-09-19

      ORM.NET uses strongly typed (i.e. via code) object queries.  It does not support loosely typed object query (i.e. object (entity) sql query string) like hybernate's hql or ADO.vNext's eSQL.

      Strongly typed ORM.NET Query example:
      DataManager dm = new DataManager(myDsn);
      dm.QueryCriteria.Add(JoinPath.Contact.Columns.FirstName, "Dave", OrmLib.MatchType.Extact);
      Contact dave = dm.GetContact();

       

Log in to post a comment.