コード例 #1
0
 /// <summary>
 /// Adds a claim to a given call (if that claim is notalready there).
 /// </summary>
 /// <param name="LinkedClaim"></param>
 internal void AddClaim(claim LinkedClaim)
 {
     if (!CallHasClaim(LinkedClaim))
     {
         LinkedClaim.ExecuteNonQuery("INSERT INTO call_claim_ids (call_id, claim_id) VALUES ("
                                     + id + ", " + LinkedClaim.id + ")");
     }
 }