Skip to content

Commit 3cb9647

Browse files
fix linter
1 parent 833b2d2 commit 3cb9647

File tree

2 files changed

+1
-3
lines changed
  • examples/EntityFrameworkCore.Ydb.Samples

2 files changed

+1
-3
lines changed

examples/EntityFrameworkCore.Ydb.Samples/Database.Operations.Tutorial/Program.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,6 @@ static void ReadCSV(HRContext context)
438438
var employees = new List<Employee>();
439439
var skills = new List<Skill>();
440440
var departments = new List<Department>();
441-
var profiles = new List<EmployeeProfile>();
442441

443442
using var reader = new StreamReader("data.csv");
444443

@@ -484,7 +483,6 @@ static void ReadCSV(HRContext context)
484483
Phone = phone,
485484
Email = email
486485
};
487-
profiles.Add(profile);
488486

489487
// Create Employee object
490488
var employee = new Employee

examples/EntityFrameworkCore.Ydb.Samples/Schema.OneToOne/Models.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public class Department
66
public required string Name { get; set; }
77

88
// Collection navigation containing children
9-
public ICollection<Employee> Employees { get; set; }
9+
public required ICollection<Employee> Employees { get; set; }
1010
}
1111

1212
public class Employee

0 commit comments

Comments
 (0)