You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
SQLCommandBuilder<br />
• Fornisce in modo automatico le istruzioni SQL necessarie per<br />
trasformare le modifiche su un DataTable in aggiornamenti<br />
effettivi su tabelle del DB.<br />
• Per generare le istruzioni di Insert, Update e Delete l’oggetto<br />
SQLCommandBuilder usa la proprietà SelectCommand per<br />
estrarre un set di dati da confrontare con il DataTable che si<br />
intende aggiorenare<br />
• Da questo confronto l’SQLCommandBuilder crea le istruzioni<br />
SQL che saranno eseguire dall’oggetto dataAdapter.<br />
• Vedi : Conferma aggiornamento<br />
• Annullamento molto semplice: basta invocare il metodo<br />
RejectChanges<br />
Inf. Med. - 7. Accesso ai dati -<br />
A.A. 2013/14