mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-21 02:58:05 +08:00
Update demo
This commit is contained in:
@@ -7,31 +7,23 @@ using System.Text;
|
||||
namespace TDengineTest
|
||||
{
|
||||
|
||||
public class CodeFirst03 : STable
|
||||
public class CodeFirst0311 : STable
|
||||
{
|
||||
[SqlSugar.SugarColumn(IsPrimaryKey = true)]
|
||||
public DateTime Ts { get; set; }
|
||||
public bool Boolean { get; set; }
|
||||
[SqlSugar.SugarColumn(SqlParameterDbType = typeof(CommonPropertyConvert))]
|
||||
public byte Byte { get; set; }
|
||||
[SqlSugar.SugarColumn(SqlParameterDbType =typeof(CommonPropertyConvert))]
|
||||
public bool Boolean { get; set; }
|
||||
public byte Byte { get; set; }
|
||||
public sbyte SByte { get; set; }
|
||||
public char Char { get; set; }
|
||||
public decimal Decimal { get; set; }
|
||||
[SqlSugar.SugarColumn(Length = 18, DecimalDigits = 2)]
|
||||
public decimal Decimal2 { get; set; }
|
||||
[SqlSugar.SugarColumn(Length = 18, DecimalDigits = 2)]
|
||||
public double Double { get; set; }
|
||||
[SqlSugar.SugarColumn(SqlParameterDbType = typeof(CommonPropertyConvert))]
|
||||
public decimal Decimal { get; set; }
|
||||
public decimal Decimal2 { get; set; }
|
||||
public double Double { get; set; }
|
||||
public float Float { get; set; }
|
||||
public int Int32 { get; set; }
|
||||
[SqlSugar.SugarColumn(SqlParameterDbType = typeof(CommonPropertyConvert))]
|
||||
public int Int32 { get; set; }
|
||||
public uint UInt32 { get; set; }
|
||||
public long Int64 { get; set; }
|
||||
[SqlSugar.SugarColumn(SqlParameterDbType = typeof(CommonPropertyConvert))]
|
||||
public long Int64 { get; set; }
|
||||
public ulong UInt64 { get; set; }
|
||||
public short Int16 { get; set; }
|
||||
[SqlSugar.SugarColumn(SqlParameterDbType = typeof(CommonPropertyConvert))]
|
||||
public short Int16 { get; set; }
|
||||
public ushort UInt16 { get; set; }
|
||||
public string String { get; set; }
|
||||
[SqlSugar.SugarColumn(Length = 100)]
|
||||
|
Reference in New Issue
Block a user