CinderellaMGS.SQL_Queries.AddGodmotherShift C# (CSharp) Method

AddGodmotherShift() public method

Adds a godmother to a shift.
public AddGodmotherShift ( string shift, string ID ) : void
shift string Shift ID
ID string Godmother ID
return void
        public void AddGodmotherShift(string shift, string ID)
        {
            string tempSQLa = "INSERT INTO [CinderellaMGS].[dbo].[FairyGodmotherShift]([fairyGodmotherID], [shiftID]) VALUES(" + ID + ", " + shift + ")";
            //string tempSQLb = "";

            string sql = tempSQLa;
            database.ExecuteQuery(sql);
        }