- 适配 FreeSql.Provider.MySqlConnector,和它对应的266个单元测试;

This commit is contained in:
28810
2019-06-03 12:40:10 +08:00
parent 15ee2a096a
commit 3dd60d5492
41 changed files with 7841 additions and 36 deletions

View File

@ -0,0 +1,21 @@
using FreeSql.DataAnnotations;
using System;
using Xunit;
namespace FreeSql.Tests.MySqlConnector {
public class MySqlDbFirstTest {
[Fact]
public void GetDatabases() {
var t1 = g.mysql.DbFirst.GetDatabases();
}
[Fact]
public void GetTablesByDatabase() {
var t2 = g.mysql.DbFirst.GetTablesByDatabase(g.mysql.DbFirst.GetDatabases()[0]);
}
}
}