mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-24 17:20:58 +08:00
TDengine 增加Select相关功能
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FreeSql.DataAnnotations
|
||||
{
|
||||
/// <summary>
|
||||
/// TDengine 超级表 - 子表
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Class)]
|
||||
public class SubTableAttribute : TableAttribute
|
||||
{
|
||||
/// <summary>
|
||||
/// 超表名称
|
||||
/// </summary>
|
||||
public string SuperTableName { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -10,7 +10,11 @@ namespace FreeSql.DataAnnotations
|
||||
/// TDengine 超级表
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Class)]
|
||||
public class STableAttribute : Attribute
|
||||
public class SuperTableAttribute : TableAttribute
|
||||
{
|
||||
/// <summary>
|
||||
/// 超表名称
|
||||
/// </summary>
|
||||
public string STableName { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user