CreationAuditableEntityCreatedTime Property

获取/设置录入时间。

Definition

Namespace: QuickAdmin.EntityBase.AuditableBaseImplementations
Assembly: QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 3.0.0
C#
[Column(CanUpdate = false, Position = -114)]
[Display(Name = "录入时间")]
public virtual DateTime CreatedTime { get; set; }

Property Value

DateTime
默认值为 NowForEntity。

Implements

ICreationAuditableEntityCreatedTime

Remarks

为适应不同需求,此属性默认未标记数据库服务器时间(ServerTime),而是使用了 NowForEntity 来作为默认值。 若要标记为数据库服务器时间,可使用 FreeSql 提供的 ConfigEntity() 方法。

See Also