Hi!
We're using LLBL 2.5 Final, Adapter template group, C#, .NET 3.5 platform and Oracle as the DB.
We have a UserDataEntity which holds some data on our active user, and which is bound through a 1:1 relation to a UserSettingsEntity object that holds the app settings for the user (the settings are stored as an XML in a CLOB, so it's only that one entity in the settings table that I need to fetch and nothing more). Up until recently we generated the UserDataEntity class to contain the UserSettings property, mapped on the relation, even though we never actually used it. The settings were loaded with this code:
UserSettingsEntity settings = adapter.FetchNewEntity<UserSettingsEntity>(UserDataEntity.Current.GetRelationInfoUserSettings());
The loaded settings were read and discarded, never stored in the UserDataEntity.Current.UserSettings property. When we chose to generate the code without the UserSettings property (we were cleaning up, a lot of these fields mapped on relations were unneccessary to us), suddenly the generated UserDataEntity class didn't have the GetRelationInfoUserSettings() method.
In short - if we don't generate the field mapped on the relation, why don't we still get the accompanying GetRelationInfo...() method? It would still be very useful regardless of the property's existence, IMO.
I would appreciate any help in clarifying this, or perhaps if someone knows whether there's another (simple
) way to get an IRelationPredicateBucket for the purpose of the above query?
Josip Bakic