File tree Expand file tree Collapse file tree 8 files changed +70
-70
lines changed
SQLite.CodeFirst.Console/Entity
SQLite.CodeFirst.NetCore.Console/Entity Expand file tree Collapse file tree 8 files changed +70
-70
lines changed Original file line number Diff line number Diff line change 44
55namespace SQLite . CodeFirst . Console . Entity
66{
7- /// <summary>
8- /// See https://github.com/msallin/SQLiteCodeFirst/issues/109
9- /// </summary>
10- public class FooCompositeKey
11- {
12- [ Key , Column ( Order = 1 ) ]
13- public int Id { get ; set ; }
7+ /// <summary>
8+ /// See https://github.com/msallin/SQLiteCodeFirst/issues/109
9+ /// </summary>
10+ public class FooCompositeKey
11+ {
12+ [ Key , Column ( Order = 1 ) ]
13+ public int Id { get ; set ; }
1414
15- [ Key , Column ( Order = 2 ) , StringLength ( 20 ) ]
16- public string Version { get ; set ; }
15+ [ Key , Column ( Order = 2 ) , StringLength ( 20 ) ]
16+ public string Version { get ; set ; }
1717
18- [ StringLength ( 255 ) ]
19- public string Name { get ; set ; }
18+ [ StringLength ( 255 ) ]
19+ public string Name { get ; set ; }
2020
21- public virtual ICollection < FooRelationshipA > FooeyACollection { get ; set ; }
21+ public virtual ICollection < FooRelationshipA > FooeyACollection { get ; set ; }
2222
23- public virtual ICollection < FooRelationshipB > FooeyBCollection { get ; set ; }
24- }
23+ public virtual ICollection < FooRelationshipB > FooeyBCollection { get ; set ; }
24+ }
2525}
Original file line number Diff line number Diff line change 33
44namespace SQLite . CodeFirst . Console . Entity
55{
6- /// <summary>
7- /// See https://github.com/msallin/SQLiteCodeFirst/issues/109
8- /// </summary>
9- public class FooRelationshipA
10- {
11- public int Id { get ; set ; }
6+ /// <summary>
7+ /// See https://github.com/msallin/SQLiteCodeFirst/issues/109
8+ /// </summary>
9+ public class FooRelationshipA
10+ {
11+ public int Id { get ; set ; }
1212
13- [ StringLength ( 255 ) ]
14- public string Name { get ; set ; }
13+ [ StringLength ( 255 ) ]
14+ public string Name { get ; set ; }
1515
16- public virtual ICollection < FooCompositeKey > Fooey { get ; set ; }
17- }
16+ public virtual ICollection < FooCompositeKey > Fooey { get ; set ; }
17+ }
1818}
Original file line number Diff line number Diff line change 33
44namespace SQLite . CodeFirst . Console . Entity
55{
6- /// <summary>
7- /// See https://github.com/msallin/SQLiteCodeFirst/issues/109
8- /// </summary>
9- public class FooRelationshipB
10- {
11- public int Id { get ; set ; }
6+ /// <summary>
7+ /// See https://github.com/msallin/SQLiteCodeFirst/issues/109
8+ /// </summary>
9+ public class FooRelationshipB
10+ {
11+ public int Id { get ; set ; }
1212
13- [ StringLength ( 255 ) ]
14- public string Name { get ; set ; }
13+ [ StringLength ( 255 ) ]
14+ public string Name { get ; set ; }
1515
16- public virtual ICollection < FooCompositeKey > Fooey { get ; set ; }
17- }
16+ public virtual ICollection < FooCompositeKey > Fooey { get ; set ; }
17+ }
1818}
Original file line number Diff line number Diff line change 11namespace SQLite . CodeFirst . Console . Entity
22{
3- interface IEntity
3+ public interface IEntity
44 {
55 int Id { get ; set ; }
66 }
Original file line number Diff line number Diff line change 44
55namespace SQLite . CodeFirst . NetCore . Console . Entity
66{
7- /// <summary>
8- /// See https://github.com/msallin/SQLiteCodeFirst/issues/109
9- /// </summary>
10- public class FooCompositeKey
11- {
12- [ Key , Column ( Order = 1 ) ]
13- public int Id { get ; set ; }
7+ /// <summary>
8+ /// See https://github.com/msallin/SQLiteCodeFirst/issues/109
9+ /// </summary>
10+ public class FooCompositeKey
11+ {
12+ [ Key , Column ( Order = 1 ) ]
13+ public int Id { get ; set ; }
1414
15- [ Key , Column ( Order = 2 ) , StringLength ( 20 ) ]
16- public string Version { get ; set ; }
15+ [ Key , Column ( Order = 2 ) , StringLength ( 20 ) ]
16+ public string Version { get ; set ; }
1717
18- [ StringLength ( 255 ) ]
19- public string Name { get ; set ; }
18+ [ StringLength ( 255 ) ]
19+ public string Name { get ; set ; }
2020
21- public virtual ICollection < FooRelationshipA > FooeyACollection { get ; set ; }
21+ public virtual ICollection < FooRelationshipA > FooeyACollection { get ; set ; }
2222
23- public virtual ICollection < FooRelationshipB > FooeyBCollection { get ; set ; }
24- }
23+ public virtual ICollection < FooRelationshipB > FooeyBCollection { get ; set ; }
24+ }
2525}
Original file line number Diff line number Diff line change 33
44namespace SQLite . CodeFirst . NetCore . Console . Entity
55{
6- /// <summary>
7- /// See https://github.com/msallin/SQLiteCodeFirst/issues/109
8- /// </summary>
9- public class FooRelationshipA
10- {
11- public int Id { get ; set ; }
6+ /// <summary>
7+ /// See https://github.com/msallin/SQLiteCodeFirst/issues/109
8+ /// </summary>
9+ public class FooRelationshipA
10+ {
11+ public int Id { get ; set ; }
1212
13- [ StringLength ( 255 ) ]
14- public string Name { get ; set ; }
13+ [ StringLength ( 255 ) ]
14+ public string Name { get ; set ; }
1515
16- public virtual ICollection < FooCompositeKey > Fooey { get ; set ; }
17- }
16+ public virtual ICollection < FooCompositeKey > Fooey { get ; set ; }
17+ }
1818}
Original file line number Diff line number Diff line change 33
44namespace SQLite . CodeFirst . NetCore . Console . Entity
55{
6- /// <summary>
7- /// See https://github.com/msallin/SQLiteCodeFirst/issues/109
8- /// </summary>
9- public class FooRelationshipB
10- {
11- public int Id { get ; set ; }
6+ /// <summary>
7+ /// See https://github.com/msallin/SQLiteCodeFirst/issues/109
8+ /// </summary>
9+ public class FooRelationshipB
10+ {
11+ public int Id { get ; set ; }
1212
13- [ StringLength ( 255 ) ]
14- public string Name { get ; set ; }
13+ [ StringLength ( 255 ) ]
14+ public string Name { get ; set ; }
1515
16- public virtual ICollection < FooCompositeKey > Fooey { get ; set ; }
17- }
16+ public virtual ICollection < FooCompositeKey > Fooey { get ; set ; }
17+ }
1818}
Original file line number Diff line number Diff line change 11namespace SQLite . CodeFirst . NetCore . Console . Entity
22{
3- interface IEntity
3+ public interface IEntity
44 {
55 int Id { get ; set ; }
66 }
You can’t perform that action at this time.
0 commit comments