2011-06-27 6 views
0

J'ai deux tables avec Pk et Fk relation.Quand je l'insère dans une table (Table EventLog) je reçois un IDlog (autogénéré) maintenant je dois insérer dans la deuxième table (Table EventErrorLog).Insérer des données relationnelles en utilisant Dataset

La méthode AddRow

public LOG_FIRE_EventLogErrorRow AddLOG_FIRE_EventLogErrorRow(
    LOG_FIRE_EventLogRow parentLOG_FIRE_EventLogRowByFK_LOG_FIRE_EventLogError_LOG_FIRE_EventLog, 
    string errorDescription 
) 

besoin d'une ligne de EventLog table.How ne passent que?

Répondre

Questions connexes