mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
Add QuestDb
This commit is contained in:
@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace FreeSql.Provider.QuestDb.Subtable
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Property, Inherited = true)]
|
||||
public class AutoSubtableAttribute : Attribute
|
||||
{
|
||||
public SubtableType? SubtableType
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
public AutoSubtableAttribute(SubtableType type)
|
||||
{
|
||||
SubtableType = type;
|
||||
}
|
||||
}
|
||||
}
|
19
Providers/FreeSql.Provider.QuestDb/Subtable/SubtableType.cs
Normal file
19
Providers/FreeSql.Provider.QuestDb/Subtable/SubtableType.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace FreeSql.Provider.QuestDb.Subtable
|
||||
{
|
||||
public enum SubtableType
|
||||
{
|
||||
Year = 1,
|
||||
Month = 2,
|
||||
Day = 3,
|
||||
Hour = 4,
|
||||
Second = 5,
|
||||
Minute = 6,
|
||||
Millisecond = 7,
|
||||
Weekday = 8,
|
||||
Quarter = 9
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user