CinderellaMGS.SQL_Queries.setPairing C# (CSharp) Метод

setPairing() публичный Метод

Pairs a godmother and Cinderella.
public setPairing ( string godmotherID, string cinderellaID ) : void
godmotherID string ID of the Godmother
cinderellaID string ID of the Cinderella
Результат void
        public void setPairing(string godmotherID, string cinderellaID)
        {
            string query = "INSERT INTO [CinderellaFGPairing]([cinderellaID], [fairyGodmotherID]) VALUES(";
            query += cinderellaID + "," + godmotherID + ")";

            database.ExecuteQuery(query);
        }