You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
600 B
19 lines
600 B
3 weeks ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
using System.Threading.Tasks;
|
||
|
|
||
|
namespace ReZero.SuperAPI
|
||
|
{
|
||
|
public class DllGetTables : IDataService
|
||
|
{
|
||
|
public async Task<object> ExecuteAction(DataModel dataModel)
|
||
|
{
|
||
|
var dbId =Convert.ToInt32(dataModel.DefaultParameters.First().Value);
|
||
|
var db = App.GetDbById(dbId);
|
||
|
var dataBaseList = db!.DbMaintenance.GetTableInfoList(false).Where(it=>!it.Name.ToLower().StartsWith("zero_"));
|
||
|
return await Task.FromResult(dataBaseList);
|
||
|
}
|
||
|
}
|
||
|
}
|