I'm using v2.6 & oracle db provider.
When I have generated code(adapter mode),in PersistenceInfoProvider.cs I found code as below:
base.AddElementMapping( "TQueryHistoryEntity", "liujian", @"ZYYY", "T_QUERY_HISTORY", 13 );
the @"ZYYY" is the scheme name which mapped to an user name of my db. When I execute a query,the generate sql statements like:
select ZYYY.T_QUERY_HISTORY.* from ZYYY.T_QUERY_HISTORY
but when I publish my program to my customer,and my customer use another db user name such as "AAA",even though they have same table structure, there will be an error for the sql statement:
select ZYYY.T_QUERY_HISTORY.* from ZYYY.T_QUERY_HISTORY.
As there isn't an user or scheme named "ZYYY" in my customer's DB,I must re-generate the code and change the scheme name to "AAA",and re-deploy my program.
If I have hunderds of customer,and all of them create different db user name(same db structure), have I to re-generate the code hunderds times and re-deploy my program hunderds times?