SQL Server 数据类型对应.NET类型的EF模型定义
SQL Server 数据类型对应.NET类型的EF模型定义
C# 全选
public Guid Id { get; set; }
public long? a1 { get; set; }
[MaxLength(50)]
public byte[] a2 { get; set; }
public bool? a3 { get; set; }
[StringLength(10)]
public string a4 { get; set; }
[Column(TypeName = "date")]
public DateTime? a5 { get; set; }
public DateTime? a6 { get; set; }
[Column(TypeName = "datetime2")]
public DateTime? a7 { get; set; }
public DateTimeOffset? a8 { get; set; }
public decimal? a9 { get; set; }
public double? a10 { get; set; }
public DbGeography a11 { get; set; }
public DbGeometry a12 { get; set; }
[Column(TypeName = "image")]
public byte[] a14 { get; set; }
public int? a15 { get; set; }
[Column(TypeName = "money")]
public decimal? a16 { get; set; }
[StringLength(10)]
public string a17 { get; set; }
[Column(TypeName = "ntext")]
public string a18 { get; set; }
[Column(TypeName = "numeric")]
public decimal? a19 { get; set; }
[StringLength(50)]
public string a20 { get; set; }
public string a21 { get; set; }
public float? a22 { get; set; }
[Column(TypeName = "smalldatetime")]
public DateTime? a23 { get; set; }
public short? a24 { get; set; }
[Column(TypeName = "smallmoney")]
public decimal? a25 { get; set; }
[Column(TypeName = "text")]
public string a27 { get; set; }
public TimeSpan? a28 { get; set; }
[Column(TypeName = "timestamp")]
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
[MaxLength(8)]
public byte[] a29 { get; set; }
public byte? a30 { get; set; }
public Guid? a31 { get; set; }
[MaxLength(50)]
public byte[] a32 { get; set; }
public byte[] a33 { get; set; }
[StringLength(50)]
public string a34 { get; set; }
public string a35 { get; set; }
[Column(TypeName = "xml")]
public string a36 { get; set; }
版权声明:本文为开发框架文库发布内容,转载请附上原文出处连接
NewDoc C/S框架网