Ejemplo n.º 1
0
 /// <summary>
 /// Clean events database.
 /// </summary>
 public static void CleanEventsDatabase()
 {
     StorageUtilities.DeleteAllRows(
         server: Server,
         database: EventsDatabase,
         tableNames: string.Format(CultureInfo.InvariantCulture, "[{0}].[Events]", DefaultEventSchemaName));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Clean usage database.
 /// </summary>
 public static void CleanUsageDatabase()
 {
     StorageUtilities.DeleteAllRows(
         server: Server,
         database: UsageDatabase,
         tableNames: string.Format(CultureInfo.InvariantCulture, "[{0}].[UsageRecords]", DefaultUsageSchemaName));
 }