Example #1
0
 //读取单表信息
 public async Task <ActionResult> GetSingleTableInfo(string tableName, string valueMember, string displayMember, string filedName, string where, string dbName, bool bDistinct, string sortFiled)
 {
     return(await Task.Run(() =>
     {
         return Content(JsonAppHelper.ToJson(api.GetSingleTableInfo(tableName, valueMember, displayMember, filedName, where, dbName, bDistinct, sortFiled)));
     }));
 }