using FLY.OBJComponents.Server.Model; using SQLite; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FLY.Weight2.Server.Model { /// /// 数据库对象 /// public class DbModel:SQLiteDbContext,IErrorDBModel { /// /// Flow表 对象 /// public DBTable TbFlow { get; } = new DBTable(); /// /// Error表 对象 /// public DBTable TbError { get; } = new DBTable(); /// /// /// /// sqlite数据库路径 public DbModel(string dbpath) : base(dbpath) { } /// /// /// public DbModel() : this(@"D:\blowingdata\weight2.sqlite3") { } } }