예제 #1
0
 public static void GenerateTables(this ITableContext context, Authentication authentication, int tryCount)
 {
     for (var i = 0; i < tryCount; i++)
     {
         context.GenerateTable(authentication);
     }
 }
예제 #2
0
 public static void Generate(this ITableContext context, Authentication authentication)
 {
     if (RandomUtility.Within(25) == true)
     {
         context.GenerateCategory(authentication);
     }
     else
     {
         context.GenerateTable(authentication);
     }
 }