CapDemo.BL.RecordBL.UpdateExist C# (CSharp) Метод

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

public UpdateExist ( Record Record ) : bool
Record CapDemo.DO.Record
Результат bool
        public bool UpdateExist(Record Record)
        {
            string query = "UPDATE [Record]"
                         + " SET [Exist]='" + Record.Exist_I + "'"
                         + " WHERE [Contest_ID] = '" + Record.IDContest + "' AND [Player_ID] = '" + Record.IDPlayer + "'";
            return DA.UpdateDatabase(query);
        }