ITemporal Interface
Adds temporal properties to an item
graph BT Type["ITemporal"] class Type type-node Implementing0["MenuDisplayItemModel"]-.->Type click Implementing0 "/SonghayCore/latest/Songhay.Models/MenuDisplayItemModel" Implementing1["DisplayItemModel"]-.->Type click Implementing1 "/SonghayCore/latest/Songhay.Models/DisplayItemModel" Implementing2["ColorDisplayItemModel"]-.->Type click Implementing2 "/SonghayCore/latest/Songhay.Models/ColorDisplayItemModel"

Syntax

public interface ITemporal

Properties

Name Property Type Summary
EndDate DateTime?
End/expiration DateTime of the item.
InceptDate DateTime?
Origin DateTime of the item.
ModificationDate DateTime?
Modification/editorial DateTime of the item.

Extension Methods

Name Value Summary
IsAssignableToISerializable<ITemporal>() bool
Determines whether the specified type can be assigned to System.Runtime.Serialization.ISerializable.
SetDefaults(DateTime?) void
Sets conventional default values for ITemporal data.
SetDefaults() void
Sets conventional default values for ITemporal data.
ToObjectOrDbNull<ITemporal>() object
Boxes the nullable in object or returns DBNull.
ToReferenceTypeValueOrThrow<ITemporal>(string) T
Returns the non-null value of the specified, nullable reference type or throws an ArgumentNullException when the value is null.