File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
Examples.FirstAutomappedProject/Entities
Examples.FirstProject/Entities Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ namespace Examples.FirstAutomappedProject.Entities
2
2
{
3
3
public class Employee
4
4
{
5
- public virtual int Id { get ; private set ; }
5
+ public virtual int Id { get ; protected set ; }
6
6
public virtual string FirstName { get ; set ; }
7
7
public virtual string LastName { get ; set ; }
8
8
public virtual Store Store { get ; set ; }
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ namespace Examples.FirstAutomappedProject.Entities
4
4
{
5
5
public class Product
6
6
{
7
- public virtual int Id { get ; private set ; }
7
+ public virtual int Id { get ; protected set ; }
8
8
public virtual string Name { get ; set ; }
9
9
public virtual double Price { get ; set ; }
10
10
public virtual Location Location { get ; set ; }
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ namespace Examples.FirstAutomappedProject.Entities
4
4
{
5
5
public class Store
6
6
{
7
- public virtual int Id { get ; private set ; }
7
+ public virtual int Id { get ; protected set ; }
8
8
public virtual string Name { get ; set ; }
9
9
public virtual IList < Product > Products { get ; set ; }
10
10
public virtual IList < Employee > Staff { get ; set ; }
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ namespace Examples.FirstProject.Entities
4
4
{
5
5
public class Employee
6
6
{
7
- public virtual int Id { get ; private set ; }
7
+ public virtual int Id { get ; protected set ; }
8
8
public virtual string FirstName { get ; set ; }
9
9
public virtual string LastName { get ; set ; }
10
10
public virtual Store Store { get ; set ; }
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ namespace Examples.FirstProject.Entities
4
4
{
5
5
public class Product
6
6
{
7
- public virtual int Id { get ; private set ; }
7
+ public virtual int Id { get ; protected set ; }
8
8
public virtual string Name { get ; set ; }
9
9
public virtual double Price { get ; set ; }
10
10
public virtual Location Location { get ; set ; }
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ namespace Examples.FirstProject.Entities
4
4
{
5
5
public class Store
6
6
{
7
- public virtual int Id { get ; private set ; }
7
+ public virtual int Id { get ; protected set ; }
8
8
public virtual string Name { get ; set ; }
9
9
public virtual IList < Product > Products { get ; set ; }
10
10
public virtual IList < Employee > Staff { get ; set ; }
You can’t perform that action at this time.
0 commit comments