Exemplo n.º 1
0
 /// <summary>
 /// 创建数据库表
 /// </summary>
 /// <param name="tableStr">The table string.</param>
 /// <returns>Result.</returns>
 public Result CreateTable(TableStructure tableStr)
 {
     try
     {
         return(_db.CreateTable(tableStr));
     }
     catch (Exception ex)
     {
         throw new Exception("创建表" + tableStr.TableName + "出错!" + ex.Message);
     }
 }