Below are the minimal changes needed to be made to handle this senario:
DataDictionary.cs:
DataObject:
tableName ->
tableInName
tableOutName
KeyProperty/DataProperty:
columnName ->
columnInName
columnOutName
EntityGenerator.cs:
nh-mapping-in.<proj>.<app>.xml
nh-mapping-out.<proj>.<app>.xml
NHibernateDataLayer.cs:
OpenSession(AccessMode mode)
{
if mode == READ, load nh-mapping-in.<proj>.<app>.xml
if mode == WRITE, load nh-mapping-out.<proj>.<app>.xml
}
Original issue reported on code.google.com by hdle6880@gmail.com on 13 May 2010 at 6:34
Original issue reported on code.google.com by
hdle6880@gmail.com
on 13 May 2010 at 6:34