|
2 | 2 | using System.Collections.Generic;
|
3 | 3 | using Microsoft.EntityFrameworkCore;
|
4 | 4 |
|
5 |
| -namespace Tracker.Data.Mapping |
| 5 | +namespace Tracker.PostgreSQL.Core.Data.Mapping |
6 | 6 | {
|
7 | 7 | public partial class TaskExtendedMap
|
8 |
| - : IEntityTypeConfiguration<Tracker.Data.Entities.TaskExtended> |
| 8 | + : IEntityTypeConfiguration<Tracker.PostgreSQL.Core.Data.Entities.TaskExtended> |
9 | 9 | {
|
10 |
| - public void Configure(Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<Tracker.Data.Entities.TaskExtended> builder) |
| 10 | + public void Configure(Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<Tracker.PostgreSQL.Core.Data.Entities.TaskExtended> builder) |
11 | 11 | {
|
12 | 12 | #region Generated Configure
|
13 | 13 | // table
|
@@ -65,11 +65,25 @@ public void Configure(Microsoft.EntityFrameworkCore.Metadata.Builders.EntityType
|
65 | 65 | // relationships
|
66 | 66 | builder.HasOne(t => t.Task)
|
67 | 67 | .WithOne(t => t.TaskExtended)
|
68 |
| - .HasForeignKey<Tracker.Data.Entities.TaskExtended>(d => d.TaskId) |
| 68 | + .HasForeignKey<Tracker.PostgreSQL.Core.Data.Entities.TaskExtended>(d => d.TaskId) |
69 | 69 | .HasConstraintName("FK_TaskExtended_Task_TaskId");
|
70 | 70 |
|
71 | 71 | #endregion
|
72 | 72 | }
|
73 | 73 |
|
| 74 | + #region Generated Constants |
| 75 | + public const string TableSchema = "public"; |
| 76 | + public const string TableName = "TaskExtended"; |
| 77 | + |
| 78 | + public const string ColumnTaskId = "TaskId"; |
| 79 | + public const string ColumnUserAgent = "UserAgent"; |
| 80 | + public const string ColumnBrowser = "Browser"; |
| 81 | + public const string ColumnOperatingSystem = "OperatingSystem"; |
| 82 | + public const string ColumnCreated = "Created"; |
| 83 | + public const string ColumnCreatedBy = "CreatedBy"; |
| 84 | + public const string ColumnUpdated = "Updated"; |
| 85 | + public const string ColumnUpdatedBy = "UpdatedBy"; |
| 86 | + public const string ColumnRowVersion = "RowVersion"; |
| 87 | + #endregion |
74 | 88 | }
|
75 | 89 | }
|
0 commit comments