KeyGeneratorTimeBasedTableName Method

Generates the Azure table name for a particular DateTimeOffset

Definition

Namespace: InnerDrive.Azure
Assembly: InnerDrive.Azure (in InnerDrive.Azure.dll) Version: 5.2.9017.0
C#
public static string TimeBasedTableName(
	string baseTableName,
	DateTimeOffset date
)

Parameters

baseTableName  String
The root Azure table name to use
date  DateTimeOffset
The DateTimeOffset of the entity to be stored

Return Value

String
A String containing the Azure table name to use

Remarks

The table name will be the baseTableName plus the year and month (UTC) of date.

See Also