Commit e4279208 by zxw

调整数据库上下文关联

parent 5cbfb0f5
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using JmpModel.TempModel;
namespace JmpModel.Model.DataContext
{
public partial class JunmppolicesqlContext
{
partial void OnModelCreatingPartial(ModelBuilder modelBuilder)
{
modelBuilder.Entity<useCountResult>(entity =>
{
entity.HasNoKey();
});
}
}
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论