Пример #1
0
 public override void EndTable()
 {
     if (Mode == 1 && CI != null)
     {
         PutUtf8("</table>");
         CI = null;
     }
 }
Пример #2
0
 public override void NewTable(DBNS.ColInfo ci)
 {
     CI = ci;
     if (Mode == 1)
     {
         PutUtf8("<table><tr>");
         for (int i = 0; i < ci.Count; i += 1)
         {
             PutUtf8("<th>" + ci.Name[i]);
         }
     }
 }
Пример #3
0
 public ColInfo Get()
 {
   ColInfo result = ColInfo.New( Names, Types );
   Names = null;   
   return result;
 }
Пример #4
0
 Table NewSysTable( int tableId, string name, ColInfo ci )
 {
   return new Table( this, Sys, name, ci, tableId );
 }
Пример #5
0
 int GetIx( ColInfo info, string name )
 {
   for ( int i = 0; i < info.Count; i += 1 )
     if ( info.Name[ i ] == name ) return i;
   return -1;
 }
Пример #6
0
 public override void NewTable(ColInfo info)
 {
     Table = new StoredTable(info);
 }
Пример #7
0
 public StoredTable(ColInfo info)
 {
     Info = info;
 }