Skip to content

Conversation

jaliyaudagedara
Copy link
Owner

@jaliyaudagedara jaliyaudagedara commented Jun 13, 2022

C#: SQL Injection is not being detected: #codeql/issues/9536

{
public DbSet<ToDo> ToDos { get; set; }

public ToDoDbContext(DbContextOptions<ToDoDbContext> options)

Check notice

Code scanning / CodeQL

Compilation message

Warning CS8618 Non-nullable property 'ToDos' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
{
public int Id { get; set; }

public string Title { get; set; }

Check notice

Code scanning / CodeQL

Compilation message

Warning CS8618 Non-nullable property 'Title' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant