IPrefetchPath2Add Method (IPrefetchPathElement2, IEntityFactory2) |
Namespace: SD.LLBLGen.Pro.ORMSupportClasses
IPrefetchPathElement2 Add( IPrefetchPathElement2 elementToAdd, IEntityFactory2 entityFactoryToUse )
Exception | Condition |
---|---|
ArgumentException | When elementToAdd is not specifying a fetch meant for an entity of type rootEntityType set in the constructor of this class |