为了访问sqlite,我们需要在Nuget中安装Microsoftr的EntityFrameworkCore、EntityFrameworkCore.Sqlite、EntityFrameworkCore.Sqlite.Core 在SharedLibrary的Models里增加employee using System;using System.Collections.Gener
在BlazorApp1增加文件夹data,里面增加类dbcont using SharedLibrary.Models;using System.Collections.Generic;using Microsoft.EntityFrameworkCore;namespace BlazorApp1.data{public class dbcont : DbContext{public db