If have 5 views in my DB (SQL 2005). 2 I added today. On refreshing the catalog I'm able to select the new added views. But the strange thing is these views (which are called vw_Oa and vw_RetourOa), appear as Oa_ and RetourOa_ in LLBLGen. Nothing strange here, I have set the prefect as vw_, the only strange thing is these two typed view have both a underscore at the end. I think that is strange because the other three don't have this underscore. But that is ok.
The problem is when I add a field to one of these views and i do an unattendent refresh the names of the last two added views are changes to Oa and RetourOA (without the underscore at the end). Now when I regenerate the DAL, I receive the exception "The namespace 'xxxx' already contains a definition for 'OaFieldIndex'" (the same exception for the RetourOA part)
It comes from the ContantsEnum.cs file.
To solve the problem I first have to delete the typed views in LLBLGen and then add them again. They appear in the list again followed by the underscore as described. Now when I regenerate everythings works fine.
I work with LLBLGen 2.5, .NET 2.0 using selfservicing.
I have set the option to clean the project file on regeneration, so that is not the solution. I think this is a bug. Also maybe someone could explain me why the views so with an underscore at the end.