Skip to content

Commit f21bb45

Browse files
committed
Code cleanup
1 parent 4c5ad2a commit f21bb45

File tree

8 files changed

+70
-70
lines changed

8 files changed

+70
-70
lines changed

SQLite.CodeFirst.Console/Entity/FooCompositeKey.cs

+14-14
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@
44

55
namespace 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
}

SQLite.CodeFirst.Console/Entity/FooRelationshipA.cs

+10-10
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33

44
namespace 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
}

SQLite.CodeFirst.Console/Entity/FooRelationshipB.cs

+10-10
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33

44
namespace 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
}

SQLite.CodeFirst.Console/Entity/IEntity.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace SQLite.CodeFirst.Console.Entity
22
{
3-
interface IEntity
3+
public interface IEntity
44
{
55
int Id { get; set; }
66
}

SQLite.CodeFirst.NetCore.Console/Entity/FooCompositeKey.cs

+14-14
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@
44

55
namespace 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
}

SQLite.CodeFirst.NetCore.Console/Entity/FooRelationshipA.cs

+10-10
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33

44
namespace 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
}

SQLite.CodeFirst.NetCore.Console/Entity/FooRelationshipB.cs

+10-10
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33

44
namespace 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
}

SQLite.CodeFirst.NetCore.Console/Entity/IEntity.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace SQLite.CodeFirst.NetCore.Console.Entity
22
{
3-
interface IEntity
3+
public interface IEntity
44
{
55
int Id { get; set; }
66
}

0 commit comments

Comments
 (0)