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();
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Can anyone tell me whether ObjectBroker support object-oriented queries?
Thanks.
I meant "ORM.NET", not "ObjectBroker"...
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();