示例#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));
 }
示例#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));
 }