public async Task <IActionResult> Edit(string Id) { var model = _sqliteFreeSql.Select <TemplateConfig>().Where(m => m.Id.Equals(Id)).ToOne(); _sqliteFreeSql.Dispose(); return(View(model)); }
/// <summary> /// 修改连接 /// </summary> /// <returns></returns> public IActionResult Edit(string Id) { SetSqlTypeList(); var model = _sqliteFreeSql.Select <SqlConnect>().Where(m => m.Id.Equals(Id)).ToOne(); _sqliteFreeSql.Dispose(); return(View(model)); }