Sunday, February 05, 2012
Support » Support Forum
Register Login
HomeWhat is NDO?- Executive Overview- NDO for DevelopersHow NDO Works- Persistent Classes- Mapping- Queries- Reverse Engineering- Inheritance, Polymorphism- Distributed ApplicationsLicensingSupport- Support Forum- FAQ- Solutions- Downloads- E-Mail Support- Tutorial VideosOnline ShopContact
Welcome to the NDO support forum!
Please register/login at the site if you want to post a thread. We sometimes copy support mails of common interest to the forum. They appear with anonymous sender. Please post your messages in English language if possible. You can do your posts also in German, we will translate your post and our answer so that all users of the forum can read your posts. The forum software requires that javascript is enabled. Please do not insert licence information or licence keys in forum posts. If you know a good answer to a post of another user, feel free to reply! The forum is monitored. We reserve the right to remove posts we consider not to be useful for other forum users.
Wie kann ich die Klasse QueryHelper in VB.NET ansprechen?
How to use the QueryHelper classes in VB.NET?
Hi, I translated the sample in the NDO Users Guide into VB.NET:
dim qh as new Employee.QueryHelper Dim q as Query = pm.NewQuery(GetType(Employee), qh.travels.purpose & " LIKE 'TechEd 2006'")First I create an instance of the QueryHelper object. This instance provides the names of the persistent fields of the Employee class. As you can see in the sample, you can navigate over the relation travels to the travel child objects and query for conditions in the child objects.
Regards:Robert
[translated] Ok, thanks, your translation seems to work but the class VB doesn't know the class QueryHelper at compile time. Is this only a feature of C#?
Ok, Vielen Dank, die Übersetzung scheint korrekt, aber die Klasse Queryhelper ist in VB.NET zum Zeitpunkt der Übersetzung nicht bekannt. Wie kann man das Problem lösen und die Funktionalität des Querhelpers in VB.NET nutzen, oder ist diese Funktionalität nur unter c# verfügbar? Gruss VehringRu