Ejemplo n.º 1
0
 public bool IsOld() => SqlUtils.ExecuteQuery($"SELECT old FROM teamTable WHERE teamId = \'{TeamId}\'", "old").First() == "1";
Ejemplo n.º 2
0
 public static bool Exists(string teamId)
 {
     teamId = Regex.Replace(teamId, "[^a-zA-Z0-9]", "");
     return(SqlUtils.ExecuteQuery($"SELECT * FROM teamTable WHERE teamId = \'{teamId}\'", "teamId").Any());
 }