DataDbcontext.cs

(完整代码) 1KB

using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Threading.Tasks;
using WebApplication1.Models;

namespace WebApplication1
{
    public class DataDbcontext: DbContext
    {
        public DataDbcontext(DbContextOptions<DataDbcontext> options)
            : base(options)
        {

        }

        public DbSet<Puorder> puorders { get; set; }
        public DbSet<FA_AssetUse> fA_AssetUses { get; set; }
        public DbSet<FA_AssetUseDtl> fA_AssetUseDtls { get; set; }

        public DbSet<Activity> activities { get; set; }
        public DbSet<ActivityRule> activityRules { get; set; }
        public DbSet<AreaTable> areaTables { get; set; }
        public DbSet<SurnameTable> surnameTables { get; set; }
        public DbSet<PU_AppVouch> pU_AppVouch { get; set; }

        public DbSet<PU_AppVouchs> pU_AppVouchs { get; set; }
        public DbSet<department> department { get; set; }
        public DbSet<hr_hi_person> hr_hi_person { get; set; }
        public DbSet<Inventory> Inventory { get; set; }
        public DbSet<InventoryClass> InventoryClass { get; set; }
        public DbSet<ComputationUnitClass> ComputationUnit { get; set; }

        public DbSet<InventoryPic> Inventorypic { get; set; }
        protected override void OnModelCreating(ModelBuilder modelBuilder)
         {
             base.OnModelCreating(modelBuilder);
         }
}
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。