Sudden confusion with snapshot
-
2012년 4월 6일 금요일 오전 8:08
Hi all. I hope you can help me out here.
If I want to pre-provision a database with say 2 tables with data that I want to hand out to 10 engineers what is the best way.
Currently I am provisioning the tables before deployment and then creating a snapshot. They then use the copied .sdf. It means I effectively have two copies of the database in bin/debug.
I am thinking why can't I provision the one database run the application locally, create and provision the .sdf in bin/debug then once stopped just copied the now provisioned sdf back to the root of my project and then that will get distributed to the clients.
Sorry really quickly thought out question as I'm off out. Many thanks Scott
모든 응답
-
2012년 4월 6일 금요일 오전 8:47got a funny feeling I'm being an idiot. Presumably I need to create the snapshot and then distribute that.
-
2012년 4월 6일 금요일 오전 11:44중재자
each scope that is provisioned has some kind of a unique id to differentiate it from other copies...if you distribute a provisioned database, that means each copy will have the same id... a snapshot is almost the same except that Sync Framework can detect it's a snapshot and automatically adjust the metadata accordingly.- 답변으로 표시됨 scottsanpedro 2012년 4월 6일 금요일 오전 11:58
-
2012년 4월 6일 금요일 오전 11:59Thanks JuneT. Had that sudden realisation I wasn't doing something right. Appreciate your time. Scott