FreeSql/FreeSql.Tests/FreeSql.Tests/QuestDb/QuestDbDbFirstTest.cs
2023-02-21 09:38:45 +08:00

32 lines
743 B
C#

using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreeSql.Tests.QuestDb.QuestDbTestModel;
using Xunit;
namespace FreeSql.Tests.QuestDb
{
public class QuestDbDbFirstTest
{
[Fact]
public void Test_ExistsTable()
{
var existsTable = QuestDbTest.fsql.DbFirst.ExistsTable(nameof(QuestDb_Model_Test01));
}
[Fact]
public void Test_GetTablesByDatabase()
{
var tablesByDatabase = QuestDbTest.fsql.DbFirst.GetTablesByDatabase("");
tablesByDatabase.ForEach(d =>
{
Debug.WriteLine(d.Name);
});
}
}
}