コード例 #1
0
        public async Task <IActionResult> Edit(string Id)
        {
            var model = _sqliteFreeSql.Select <TemplateConfig>().Where(m => m.Id.Equals(Id)).ToOne();

            _sqliteFreeSql.Dispose();
            return(View(model));
        }
コード例 #2
0
        /// <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));
        }