diff --git a/XCode/DataAccessLayer/DAL.cs b/XCode/DataAccessLayer/DAL.cs index b3bd8f18d..82daf0433 100644 --- a/XCode/DataAccessLayer/DAL.cs +++ b/XCode/DataAccessLayer/DAL.cs @@ -182,7 +182,10 @@ public static DAL Create(String connName) return dal; } - private void Reset() + /// + /// 重置Dal,注意,此操作会引起表结构重新检查,用于删除表后再次执行表检查,适用于一些删库删表需要重新建表的操作 + /// + public void Reset() { _Db.TryDispose(); @@ -885,4 +888,4 @@ public IList ModelTables set => _ModelTables = value; } #endregion -} \ No newline at end of file +}