v1.1.2
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System;
|
||||
|
||||
namespace CC.Yi.Model
|
||||
{
|
||||
public partial class DataContext : IdentityDbContext
|
||||
public partial class DataContext : DbContext
|
||||
{
|
||||
public DataContext(DbContextOptions<DataContext> options) : base(options)
|
||||
{
|
||||
|
||||
}
|
||||
public DbSet<result_user> result_user { get; set; }
|
||||
//public DbSet<result_user> result_user { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,11 +2,9 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
||||
|
||||
namespace CC.Yi.Model
|
||||
{
|
||||
public partial class DataContext :IdentityDbContext
|
||||
public partial class DataContext :DbContext
|
||||
{
|
||||
public DbSet<student> student { get; set; }
|
||||
}
|
||||
|
||||
@@ -17,11 +17,9 @@ using Microsoft.EntityFrameworkCore;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
||||
|
||||
namespace CC.Yi.Model
|
||||
{
|
||||
public partial class DataContext :IdentityDbContext
|
||||
public partial class DataContext :DbContext
|
||||
{
|
||||
<# foreach(string k in ModelData){
|
||||
#>
|
||||
|
||||
Reference in New Issue
Block a user