Пример #1
0
 /// <exception cref="System.SqlSyntaxErrorException" />
 private DalShowIndex ShowIndex(ShowIndexType _showIndexType)
 {
     lexer.NextToken();
     Match(MySqlToken.KwFrom, MySqlToken.KwIn);
     var tempId = Identifier();
     if (lexer.Token() == MySqlToken.KwFrom || lexer.Token() == MySqlToken.KwIn)
     {
         lexer.NextToken();
         var tempId2 = Identifier();
         return new DalShowIndex(_showIndexType, tempId, tempId2);
     }
     return new DalShowIndex(_showIndexType, tempId);
 }
Пример #2
0
 public ShowIndex(ShowIndexType showIndexType, Identifier table)
 {
     Table = table;
     IndexType = showIndexType;
 }
Пример #3
0
 public ShowIndex(ShowIndexType showIndexType, Identifier table)
 {
     Table     = table;
     IndexType = showIndexType;
 }
Пример #4
0
 public ShowIndex(ShowIndexType showIndexType, Identifier table, Identifier database)
 {
     Table = table;
     Table.Parent = database;
     IndexType = showIndexType;
 }
Пример #5
0
 public ShowIndex(ShowIndexType showIndexType, Identifier table, Identifier database)
 {
     Table        = table;
     Table.Parent = database;
     IndexType    = showIndexType;
 }