Missing Files?

Posts   
 
    
Posts: 8
Joined: 27-May-2011
# Posted on: 20-Jun-2011 11:42:02   

Every time I try to use the EntityView2, it tries to open the EntityViewBase.cs file and can't find it. Where is this file? The path it is looking for is: c:\Myprojects\LLBLGen Pro v3.1\Frameworks\LLBLGen Pro\RuntimeLibraries\ORMSupportClasses\Core\EntityViewBase.cs

It looks to me like it should be in the ORMSupport dll and not in a separate file. Is this a referencing issue? I have added the DBSpecific and DBGeneric projects for the Adapter template to my solution and set references to them and to the SD.LLBLGen.Pro.ORMSupportClasses.NET20 dll. Please help! I am using version 3.1 and VS 2010 against a SQL Server 2008 database, mainly with just the tables as entities being generated. I really want to make this work and be able to convince my boss to get this great tool!

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 20-Jun-2011 16:10:02   

Please make sure you are referencing the correct version of SD.LLBLGen.Pro.ORMSupportClasses.NET20 dll.

Posts: 8
Joined: 27-May-2011
# Posted on: 21-Jun-2011 02:18:03   

Walaa wrote:

Please make sure you are referencing the correct version of SD.LLBLGen.Pro.ORMSupportClasses.NET20 dll.

Thank you for responding. I just downloaded the latest from the trial download and was trying to follow the example code for the Adapter template. The entityview2 kept trying to look for the cs file from the ORMSupportClasses and I also couldn't refer to a customercollection, for example, for a customer entity. Is there somewhere where there is a step by step of the projects to add to your solution as well as all references to set if doing the self-servicing versus the adapter? I will probably choose adapter, but I need all the stuff to work to ensure a quick turnaround to get a purchase from my boss.

Thanks!

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 21-Jun-2011 04:05:52   

gregorymackay wrote:

Every time I try to use the EntityView2, it tries to open the EntityViewBase.cs file and can't find it. Where is this file? The path it is looking for is: c:\Myprojects\LLBLGen Pro v3.1\Frameworks\LLBLGen Pro\RuntimeLibraries\ORMSupportClasses\Core\EntityViewBase.cs

This is not clear to us. Anyway I think you are running into an Exception and the debugger tries to step into the source code. If that is the case, and an exception is thrown, please show us the exception stack trace.

If you want to look into the source code you can download it from the customer area at LLBLGen site. Then you can add them to your project and reference the involved projects (ORMSupportClasses for instance) instead of the assemblies included in the installation. That way you can step into those classes (EntityViewBase for instance).

gregorymackay wrote:

It looks to me like it should be in the ORMSupport dll and not in a separate file. Is this a referencing issue? I have added the DBSpecific and DBGeneric projects for the Adapter template to my solution and set references to them and to the SD.LLBLGen.Pro.ORMSupportClasses.NET20 dll. Please help! I am using version 3.1 and VS 2010 against a SQL Server 2008 database, mainly with just the tables as entities being generated. I really want to make this work and be able to convince my boss to get this great tool!

Please take a look at this. It describes how you should place the assemblies in order to compile your code.

If you need further assistance please let us know.

David Elizondo | LLBLGen Support Team