La méthode Update de PetaPoco.Database en C# permet de mettre à jour une table dans une base de données. Elle prend en paramètre un objet contenant les nouvelles valeurs à attribuer aux colonnes de la table. Cette méthode effectue la mise à jour en se basant sur la clé primaire de la table. Elle retourne un nombre entier correspondant au nombre de lignes qui ont été modifiées. L'utilisation de cette méthode permet de simplifier le processus de mise à jour des enregistrements dans une base de données en utilisant PetaPoco.
C# (CSharp) PetaPoco Database.Update - 31 exemples trouvés. Ce sont les exemples réels les mieux notés de PetaPoco.Database.Update extraits de projets open source. Vous pouvez noter les exemples pour nous aider à en améliorer la qualité.