mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-06 00:10:55 +08:00
28 lines
557 B
C#
28 lines
557 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace FreeSql.Tests.QuestDb.Utils
|
|
{
|
|
/// <summary>
|
|
/// 测试方法的执行顺序
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Method)]
|
|
public class OrderAttribute : Attribute
|
|
{
|
|
/// <summary>
|
|
/// 顺序
|
|
/// </summary>
|
|
public int Sort
|
|
{
|
|
get; set;
|
|
}
|
|
public OrderAttribute(int sort)
|
|
{
|
|
this.Sort = sort;
|
|
}
|
|
}
|
|
}
|