SqlHelper.GetTimestamp Method

Namespace:
Weavy.Core.Repos
Assembly:
Weavy.Core.dll

GetTimestamp(EntityType?)

Gets the value of the current timestamp from the database.

public static long GetTimestamp(EntityType? type = default(EntityType? ))

Parameters

type
Weavy.Core.Models.EntityType?

When specified, gets latest timestamp for the specified EntityType, otherwise gets the timestamp for the entire database.

Returns

long