Using the HowTo section, I have tried to use the following code:-
DataAccessAdapter adapter = new DataAccessAdapter(true);
CustomerEntity customer = new CustomerEntity(1);
adapter.FetchEntity(customer);
adapter.CloseConnection();
When I compile the solution, I get the following range of errors that I dont understand and then the specific errors 78 and 79 relative to the customer entity being of the wrong type. I only downloaded today, this is my first time, please bear with me
Thanks a lot.
Error 1 The namespace 'Melrose.HelperClasses' already contains a definition for 'FieldInfoProviderSingleton' C:\test\DatabaseGeneric\HelperClasses\FieldInfoProvider.cs 24 24 Melrose
Error 5 The namespace 'Melrose' already contains a definition for 'AddressFieldIndex' C:\test\DatabaseGeneric\ConstantsEnums.cs 18 14 Melrose
Error 78 The best overloaded method match for 'SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.FetchEntity(SD.LLBLGen.Pro.ORMSupportClasses.IEntity2)' has some invalid arguments C:\Documents and Settings\Gary\My Documents\Visual Studio 2005\Projects\llbltest\llbltest\Form1.cs 32 13 llbltest
Error 79 Argument '1': cannot convert from 'Melrose.EntityClasses.CustomerEntity' to 'SD.LLBLGen.Pro.ORMSupportClasses.IEntity2' C:\Documents and Settings\Gary\My Documents\Visual Studio 2005\Projects\llbltest\llbltest\Form1.cs 32 33 llbltest