源代码改用vs默认格式化

This commit is contained in:
28810
2019-06-27 09:40:35 +08:00
parent 873364c7ee
commit f8c3608fda
309 changed files with 73814 additions and 67594 deletions

View File

@ -2,53 +2,64 @@ using FreeSql.DataAnnotations;
using System;
using Xunit;
namespace FreeSql.Tests.MySqlConnector {
public class MySqlAdoTest {
[Fact]
public void Pool() {
var t1 = g.mysql.Ado.MasterPool.StatisticsFullily;
}
namespace FreeSql.Tests.MySqlConnector
{
public class MySqlAdoTest
{
[Fact]
public void Pool()
{
var t1 = g.mysql.Ado.MasterPool.StatisticsFullily;
}
[Fact]
public void SlavePools() {
var t2 = g.mysql.Ado.SlavePools.Count;
}
[Fact]
public void SlavePools()
{
var t2 = g.mysql.Ado.SlavePools.Count;
}
[Fact]
public void ExecuteReader() {
}
[Fact]
public void ExecuteArray() {
}
[Fact]
public void ExecuteNonQuery() {
}
[Fact]
public void ExecuteScalar() {
}
[Fact]
public void ExecuteReader()
{
[Fact]
public void Query() {
var t3 = g.mysql.Ado.Query<xxx>("select * from song");
}
[Fact]
public void ExecuteArray()
{
var t4 = g.mysql.Ado.Query<(int, string, string)>("select * from song");
}
[Fact]
public void ExecuteNonQuery()
{
var t5 = g.mysql.Ado.Query<dynamic>("select * from song");
}
}
[Fact]
public void ExecuteScalar()
{
[Fact]
public void QueryMultipline() {
var t3 = g.mysql.Ado.Query<xxx, (int, string, string), dynamic>("select * from song; select * from song; select * from song");
}
}
class xxx {
public int Id { get; set; }
public string Path { get; set; }
public string Title2 { get; set; }
}
}
[Fact]
public void Query()
{
var t3 = g.mysql.Ado.Query<xxx>("select * from song");
var t4 = g.mysql.Ado.Query<(int, string, string)>("select * from song");
var t5 = g.mysql.Ado.Query<dynamic>("select * from song");
}
[Fact]
public void QueryMultipline()
{
var t3 = g.mysql.Ado.Query<xxx, (int, string, string), dynamic>("select * from song; select * from song; select * from song");
}
class xxx
{
public int Id { get; set; }
public string Path { get; set; }
public string Title2 { get; set; }
}
}
}