File tree 8 files changed +70
-70
lines changed
SQLite.CodeFirst.Console/Entity
SQLite.CodeFirst.NetCore.Console/Entity
8 files changed +70
-70
lines changed Original file line number Diff line number Diff line change 4
4
5
5
namespace SQLite . CodeFirst . Console . Entity
6
6
{
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 ; }
14
14
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 ; }
17
17
18
- [ StringLength ( 255 ) ]
19
- public string Name { get ; set ; }
18
+ [ StringLength ( 255 ) ]
19
+ public string Name { get ; set ; }
20
20
21
- public virtual ICollection < FooRelationshipA > FooeyACollection { get ; set ; }
21
+ public virtual ICollection < FooRelationshipA > FooeyACollection { get ; set ; }
22
22
23
- public virtual ICollection < FooRelationshipB > FooeyBCollection { get ; set ; }
24
- }
23
+ public virtual ICollection < FooRelationshipB > FooeyBCollection { get ; set ; }
24
+ }
25
25
}
Original file line number Diff line number Diff line change 3
3
4
4
namespace SQLite . CodeFirst . Console . Entity
5
5
{
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 ; }
12
12
13
- [ StringLength ( 255 ) ]
14
- public string Name { get ; set ; }
13
+ [ StringLength ( 255 ) ]
14
+ public string Name { get ; set ; }
15
15
16
- public virtual ICollection < FooCompositeKey > Fooey { get ; set ; }
17
- }
16
+ public virtual ICollection < FooCompositeKey > Fooey { get ; set ; }
17
+ }
18
18
}
Original file line number Diff line number Diff line change 3
3
4
4
namespace SQLite . CodeFirst . Console . Entity
5
5
{
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 ; }
12
12
13
- [ StringLength ( 255 ) ]
14
- public string Name { get ; set ; }
13
+ [ StringLength ( 255 ) ]
14
+ public string Name { get ; set ; }
15
15
16
- public virtual ICollection < FooCompositeKey > Fooey { get ; set ; }
17
- }
16
+ public virtual ICollection < FooCompositeKey > Fooey { get ; set ; }
17
+ }
18
18
}
Original file line number Diff line number Diff line change 1
1
namespace SQLite . CodeFirst . Console . Entity
2
2
{
3
- interface IEntity
3
+ public interface IEntity
4
4
{
5
5
int Id { get ; set ; }
6
6
}
Original file line number Diff line number Diff line change 4
4
5
5
namespace SQLite . CodeFirst . NetCore . Console . Entity
6
6
{
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 ; }
14
14
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 ; }
17
17
18
- [ StringLength ( 255 ) ]
19
- public string Name { get ; set ; }
18
+ [ StringLength ( 255 ) ]
19
+ public string Name { get ; set ; }
20
20
21
- public virtual ICollection < FooRelationshipA > FooeyACollection { get ; set ; }
21
+ public virtual ICollection < FooRelationshipA > FooeyACollection { get ; set ; }
22
22
23
- public virtual ICollection < FooRelationshipB > FooeyBCollection { get ; set ; }
24
- }
23
+ public virtual ICollection < FooRelationshipB > FooeyBCollection { get ; set ; }
24
+ }
25
25
}
Original file line number Diff line number Diff line change 3
3
4
4
namespace SQLite . CodeFirst . NetCore . Console . Entity
5
5
{
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 ; }
12
12
13
- [ StringLength ( 255 ) ]
14
- public string Name { get ; set ; }
13
+ [ StringLength ( 255 ) ]
14
+ public string Name { get ; set ; }
15
15
16
- public virtual ICollection < FooCompositeKey > Fooey { get ; set ; }
17
- }
16
+ public virtual ICollection < FooCompositeKey > Fooey { get ; set ; }
17
+ }
18
18
}
Original file line number Diff line number Diff line change 3
3
4
4
namespace SQLite . CodeFirst . NetCore . Console . Entity
5
5
{
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 ; }
12
12
13
- [ StringLength ( 255 ) ]
14
- public string Name { get ; set ; }
13
+ [ StringLength ( 255 ) ]
14
+ public string Name { get ; set ; }
15
15
16
- public virtual ICollection < FooCompositeKey > Fooey { get ; set ; }
17
- }
16
+ public virtual ICollection < FooCompositeKey > Fooey { get ; set ; }
17
+ }
18
18
}
Original file line number Diff line number Diff line change 1
1
namespace SQLite . CodeFirst . NetCore . Console . Entity
2
2
{
3
- interface IEntity
3
+ public interface IEntity
4
4
{
5
5
int Id { get ; set ; }
6
6
}
You can’t perform that action at this time.
0 commit comments