ssifrank wrote:
Thanks for the reply. I'm using v3 and like I said I am able to make all the entity and field name changes I want but cannot find a way to access and change navigator names with a plugin when reverse engineering. I have been thru the SDK code for plural and singular and can change it and use visual studio to debug I'm either attaching to the wrong event or something else. My main plugin is attached to EntitiesAfterAdd to loop thru Entities and the Fields for each entity.
Given an entityDefinition, you can access its navigators and change their names with some code like this:
// here 'p' is the current Project object
var relationships = p.GetAllRelationshipsForEntity(entity, true);
foreach (RelationshipEdge rel in relationships)
{
rel.StartEntityNavigator = rel.StartEntityNavigator + "X";
rel.EndEntityNavigator = rel.EndEntityNavigator + "X";
}
ssifrank wrote:
Also is this the manual you mentioned?
LLBLGenPro.RTL.ReferenceManual.chm
That is for the runtime library (the classes you use in your generated code).
The one I'm talking about is titled "LLBLGen Pro v3.0 designer assemblies reference manual" at the **Customer Area->v3.0 downloads->Documentation. **. The actual file is "LLBLGenPro.CoreAssemblies.ReferenceManual.chm" but you have to grab it from the download section.