Skip to content

Commit c17750e

Browse files
committed
file scope namespace
1 parent 8c05acc commit c17750e

File tree

95 files changed

+957
-1054
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+957
-1054
lines changed

sample/Tracker/Tracker.Core/Data/Entities/Audit.cs

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@
22
using System.Collections.Generic;
33
using Tracker.Core.Definitions;
44

5-
namespace Tracker.Core.Data.Entities
5+
namespace Tracker.Core.Data.Entities;
6+
7+
/// <summary>
8+
/// Entity class representing data for table 'Audit'.
9+
/// </summary>
10+
public partial class Audit : IHaveIdentifier
611
{
712
/// <summary>
8-
/// Entity class representing data for table 'Audit'.
13+
/// Initializes a new instance of the <see cref="Audit"/> class.
914
/// </summary>
10-
public partial class Audit : IHaveIdentifier
15+
public Audit()
1116
{
12-
/// <summary>
13-
/// Initializes a new instance of the <see cref="Audit"/> class.
14-
/// </summary>
15-
public Audit()
16-
{
17-
#region Generated Constructor
17+
#region Generated Constructor
1818
#endregion
19-
}
19+
}
2020

21-
#region Generated Properties
21+
#region Generated Properties
2222
/// <summary>
2323
/// Gets or sets the property value representing column 'Id'.
2424
/// </summary>
@@ -109,8 +109,7 @@ public Audit()
109109

110110
#endregion
111111

112-
#region Generated Relationships
112+
#region Generated Relationships
113113
#endregion
114114

115-
}
116115
}

sample/Tracker/Tracker.Core/Data/Entities/Priority.cs

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22
using System.Collections.Generic;
33
using Tracker.Core.Definitions;
44

5-
namespace Tracker.Core.Data.Entities
5+
namespace Tracker.Core.Data.Entities;
6+
7+
/// <summary>
8+
/// Entity class representing data for table 'Priority'.
9+
/// </summary>
10+
public partial class Priority : IHaveIdentifier, ITrackCreated, ITrackUpdated
611
{
712
/// <summary>
8-
/// Entity class representing data for table 'Priority'.
13+
/// Initializes a new instance of the <see cref="Priority"/> class.
914
/// </summary>
10-
public partial class Priority : IHaveIdentifier, ITrackCreated, ITrackUpdated
15+
public Priority()
1116
{
12-
/// <summary>
13-
/// Initializes a new instance of the <see cref="Priority"/> class.
14-
/// </summary>
15-
public Priority()
16-
{
17-
#region Generated Constructor
17+
#region Generated Constructor
1818
Tasks = new HashSet<Task>();
1919
#endregion
20-
}
20+
}
2121

22-
#region Generated Properties
22+
#region Generated Properties
2323
/// <summary>
2424
/// Gets or sets the property value representing column 'Id'.
2525
/// </summary>
@@ -102,7 +102,7 @@ public Priority()
102102

103103
#endregion
104104

105-
#region Generated Relationships
105+
#region Generated Relationships
106106
/// <summary>
107107
/// Gets or sets the navigation collection for entity <see cref="Task" />.
108108
/// </summary>
@@ -113,5 +113,4 @@ public Priority()
113113

114114
#endregion
115115

116-
}
117116
}

sample/Tracker/Tracker.Core/Data/Entities/Role.cs

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22
using System.Collections.Generic;
33
using Tracker.Core.Definitions;
44

5-
namespace Tracker.Core.Data.Entities
5+
namespace Tracker.Core.Data.Entities;
6+
7+
/// <summary>
8+
/// Entity class representing data for table 'Role'.
9+
/// </summary>
10+
public partial class Role : IHaveIdentifier, ITrackCreated, ITrackUpdated
611
{
712
/// <summary>
8-
/// Entity class representing data for table 'Role'.
13+
/// Initializes a new instance of the <see cref="Role"/> class.
914
/// </summary>
10-
public partial class Role : IHaveIdentifier, ITrackCreated, ITrackUpdated
15+
public Role()
1116
{
12-
/// <summary>
13-
/// Initializes a new instance of the <see cref="Role"/> class.
14-
/// </summary>
15-
public Role()
16-
{
17-
#region Generated Constructor
17+
#region Generated Constructor
1818
UserRoles = new HashSet<UserRole>();
1919
#endregion
20-
}
20+
}
2121

22-
#region Generated Properties
22+
#region Generated Properties
2323
/// <summary>
2424
/// Gets or sets the property value representing column 'Id'.
2525
/// </summary>
@@ -86,7 +86,7 @@ public Role()
8686

8787
#endregion
8888

89-
#region Generated Relationships
89+
#region Generated Relationships
9090
/// <summary>
9191
/// Gets or sets the navigation collection for entity <see cref="UserRole" />.
9292
/// </summary>
@@ -97,5 +97,4 @@ public Role()
9797

9898
#endregion
9999

100-
}
101100
}

sample/Tracker/Tracker.Core/Data/Entities/Status.cs

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22
using System.Collections.Generic;
33
using Tracker.Core.Definitions;
44

5-
namespace Tracker.Core.Data.Entities
5+
namespace Tracker.Core.Data.Entities;
6+
7+
/// <summary>
8+
/// Entity class representing data for table 'Status'.
9+
/// </summary>
10+
public partial class Status : IHaveIdentifier, ITrackCreated, ITrackUpdated
611
{
712
/// <summary>
8-
/// Entity class representing data for table 'Status'.
13+
/// Initializes a new instance of the <see cref="Status"/> class.
914
/// </summary>
10-
public partial class Status : IHaveIdentifier, ITrackCreated, ITrackUpdated
15+
public Status()
1116
{
12-
/// <summary>
13-
/// Initializes a new instance of the <see cref="Status"/> class.
14-
/// </summary>
15-
public Status()
16-
{
17-
#region Generated Constructor
17+
#region Generated Constructor
1818
Tasks = new HashSet<Task>();
1919
#endregion
20-
}
20+
}
2121

22-
#region Generated Properties
22+
#region Generated Properties
2323
/// <summary>
2424
/// Gets or sets the property value representing column 'Id'.
2525
/// </summary>
@@ -102,7 +102,7 @@ public Status()
102102

103103
#endregion
104104

105-
#region Generated Relationships
105+
#region Generated Relationships
106106
/// <summary>
107107
/// Gets or sets the navigation collection for entity <see cref="Task" />.
108108
/// </summary>
@@ -113,5 +113,4 @@ public Status()
113113

114114
#endregion
115115

116-
}
117116
}

sample/Tracker/Tracker.Core/Data/Entities/Task.cs

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@
22
using System.Collections.Generic;
33
using Tracker.Core.Definitions;
44

5-
namespace Tracker.Core.Data.Entities
5+
namespace Tracker.Core.Data.Entities;
6+
7+
/// <summary>
8+
/// Entity class representing data for table 'Task'.
9+
/// </summary>
10+
public partial class Task : IHaveIdentifier, ITrackCreated, ITrackUpdated
611
{
712
/// <summary>
8-
/// Entity class representing data for table 'Task'.
13+
/// Initializes a new instance of the <see cref="Task"/> class.
914
/// </summary>
10-
public partial class Task : IHaveIdentifier, ITrackCreated, ITrackUpdated
15+
public Task()
1116
{
12-
/// <summary>
13-
/// Initializes a new instance of the <see cref="Task"/> class.
14-
/// </summary>
15-
public Task()
16-
{
17-
#region Generated Constructor
17+
#region Generated Constructor
1818
#endregion
19-
}
19+
}
2020

21-
#region Generated Properties
21+
#region Generated Properties
2222
/// <summary>
2323
/// Gets or sets the property value representing column 'Id'.
2424
/// </summary>
@@ -141,7 +141,7 @@ public Task()
141141

142142
#endregion
143143

144-
#region Generated Relationships
144+
#region Generated Relationships
145145
/// <summary>
146146
/// Gets or sets the navigation property for entity <see cref="User" />.
147147
/// </summary>
@@ -189,5 +189,4 @@ public Task()
189189

190190
#endregion
191191

192-
}
193192
}

sample/Tracker/Tracker.Core/Data/Entities/TaskExtended.cs

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@
22
using System.Collections.Generic;
33
using Tracker.Core.Definitions;
44

5-
namespace Tracker.Core.Data.Entities
5+
namespace Tracker.Core.Data.Entities;
6+
7+
/// <summary>
8+
/// Entity class representing data for table 'TaskExtended'.
9+
/// </summary>
10+
public partial class TaskExtended : ITrackCreated, ITrackUpdated
611
{
712
/// <summary>
8-
/// Entity class representing data for table 'TaskExtended'.
13+
/// Initializes a new instance of the <see cref="TaskExtended"/> class.
914
/// </summary>
10-
public partial class TaskExtended : ITrackCreated, ITrackUpdated
15+
public TaskExtended()
1116
{
12-
/// <summary>
13-
/// Initializes a new instance of the <see cref="TaskExtended"/> class.
14-
/// </summary>
15-
public TaskExtended()
16-
{
17-
#region Generated Constructor
17+
#region Generated Constructor
1818
#endregion
19-
}
19+
}
2020

21-
#region Generated Properties
21+
#region Generated Properties
2222
/// <summary>
2323
/// Gets or sets the property value representing column 'TaskId'.
2424
/// </summary>
@@ -93,7 +93,7 @@ public TaskExtended()
9393

9494
#endregion
9595

96-
#region Generated Relationships
96+
#region Generated Relationships
9797
/// <summary>
9898
/// Gets or sets the navigation property for entity <see cref="Task" />.
9999
/// </summary>
@@ -105,5 +105,4 @@ public TaskExtended()
105105

106106
#endregion
107107

108-
}
109108
}

sample/Tracker/Tracker.Core/Data/Entities/Tenant.cs

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22
using System.Collections.Generic;
33
using Tracker.Core.Definitions;
44

5-
namespace Tracker.Core.Data.Entities
5+
namespace Tracker.Core.Data.Entities;
6+
7+
/// <summary>
8+
/// Entity class representing data for table 'Tenant'.
9+
/// </summary>
10+
public partial class Tenant : IHaveIdentifier, ITrackCreated, ITrackUpdated
611
{
712
/// <summary>
8-
/// Entity class representing data for table 'Tenant'.
13+
/// Initializes a new instance of the <see cref="Tenant"/> class.
914
/// </summary>
10-
public partial class Tenant : IHaveIdentifier, ITrackCreated, ITrackUpdated
15+
public Tenant()
1116
{
12-
/// <summary>
13-
/// Initializes a new instance of the <see cref="Tenant"/> class.
14-
/// </summary>
15-
public Tenant()
16-
{
17-
#region Generated Constructor
17+
#region Generated Constructor
1818
Tasks = new HashSet<Task>();
1919
#endregion
20-
}
20+
}
2121

22-
#region Generated Properties
22+
#region Generated Properties
2323
/// <summary>
2424
/// Gets or sets the property value representing column 'Id'.
2525
/// </summary>
@@ -94,7 +94,7 @@ public Tenant()
9494

9595
#endregion
9696

97-
#region Generated Relationships
97+
#region Generated Relationships
9898
/// <summary>
9999
/// Gets or sets the navigation collection for entity <see cref="Task" />.
100100
/// </summary>
@@ -105,5 +105,4 @@ public Tenant()
105105

106106
#endregion
107107

108-
}
109108
}

0 commit comments

Comments
 (0)