Skip to content

Commit adec2ba

Browse files
committed
Commented out example User entity.
1 parent 188a6d8 commit adec2ba

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Templates/All-In-One-Template/MySpaProject/MySpaProject.EntityFramework/EntityFramework/MySpaProjectDbContext.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
using System.Data.Entity;
2-
using Abp.Domain.Entities;
3-
using Abp.EntityFramework;
1+
using Abp.EntityFramework;
42

53
namespace MySpaProject.EntityFramework
64
{
75
public class MySpaProjectDbContext : AbpDbContext
86
{
97
//TODO: Define an IDbSet for each Entity...
108

11-
public virtual IDbSet<User> Users { get; set; } //Example
9+
//Example:
10+
//public virtual IDbSet<User> Users { get; set; }
1211

1312
/* NOTE:
1413
* Setting "Default" to base class helps us when working migration commands on Package Manager Console.
@@ -31,10 +30,11 @@ public MySpaProjectDbContext(string nameOrConnectionString)
3130
}
3231
}
3332

34-
public class User : Entity
35-
{
36-
public string Name { get; set; }
33+
//Example:
34+
//public class User : Entity
35+
//{
36+
// public string Name { get; set; }
3737

38-
public string Password { get; set; }
39-
}
38+
// public string Password { get; set; }
39+
//}
4040
}

0 commit comments

Comments
 (0)