yes, i've gotten to really like SchemaUpdate and SchemaExport for the evolving dev work.
Will Shaver wrote: > So you want the column to be added to the database, but then for it > not to be mapped in your C# file/ class? > > On Tue, Mar 17, 2009 at 1:27 PM, jeff.jarrell <[email protected]> wrote: > > > > I have been using SchemaExport and SchemaUpdate to work with my > > database (quite happily). Now, I have to integrate with some > > components that use the MSFT Sync framework. The Sync implementation > > may have been setup poorly and I've tried to get away from it to no > > avail. > > > > So to make it work I have to add two columns to each table that have > > to be sync'd. A CreateTimestamp (int64) and a UpdateTimeStamp (.net > > byte[], sqlserver timestamp). These aren't updated client side, so I > > have update=false, and insert=false on the mapping. > > > > SchemaUpdate works great and I am ready to move forward. > > > > But... during the Sync process these columns get renamed on the target > > database to __sysChangeTxBsn and __sysInsertTxBsn AND of course NOW > > the mapping is no good. > > > > So what I need is a mapping to create a column on the database for > > SchemaExport, that is subsequently ignored. I know it's nuts, I know > > it makes no sense, but that is the world I am in... > > > > I am guessing that I am going to have to pre-process the hbm files > > before I build the session factory, but I am hoping for an easier way. > > > > Thanks, > > jeff > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
