CinderellaMGS.SQL_Queries.insertPair C# (CSharp) Méthode

insertPair() public méthode

public insertPair ( string cinderellaID, string godmotherID ) : void
cinderellaID string
godmotherID string
Résultat void
        public void insertPair(string cinderellaID, string godmotherID)
        {
            string query = "INSERT INTO [CinderellaFGPairing]([cinderellaID], [fairyGodmotherID]) VALUES(";
            query += cinderellaID + ", " + godmotherID + ")";

            database.ExecuteQuery(query);
        }