public override DbCommand NewQueryByPropertyCommand(string dataType, string propertyName, object propertyValue) { var command = base.NewQueryByPropertyCommand(dataType, propertyName, propertyValue); command.CommandText = "SELECT TOP(1) Completed " + $"FROM {TableName.Delimit()} " + "WHERE DataType = @DataType " + "AND PropertyName = @PropertyName " + "AND PropertyValue = @PropertyValue;"; return(command); }