You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Templates/All-In-One-Template/MySpaProject/MySpaProject.EntityFramework/EntityFramework/MySpaProjectDbContext.cs
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,13 @@
1
-
usingSystem.Data.Entity;
2
-
usingAbp.Domain.Entities;
3
-
usingAbp.EntityFramework;
1
+
usingAbp.EntityFramework;
4
2
5
3
namespaceMySpaProject.EntityFramework
6
4
{
7
5
publicclassMySpaProjectDbContext:AbpDbContext
8
6
{
9
7
//TODO: Define an IDbSet for each Entity...
10
8
11
-
publicvirtualIDbSet<User>Users{get;set;}//Example
9
+
//Example:
10
+
//public virtual IDbSet<User> Users { get; set; }
12
11
13
12
/* NOTE:
14
13
* Setting "Default" to base class helps us when working migration commands on Package Manager Console.
@@ -31,10 +30,11 @@ public MySpaProjectDbContext(string nameOrConnectionString)
0 commit comments