コード例 #1
0
 private string GetSoupTableNameFromDb(string soupName)
 {
     using (
         ISQLiteStatement stmt = Query(SmartStore.SoupNamesTable, new[] { SmartStore.IdCol }, String.Empty,
                                       String.Empty,
                                       SmartStore.SoupNamePredicate, soupName))
     {
         if (stmt.DataCount == 0)
         {
             return(null);
         }
         return(SmartStore.GetSoupTableName(stmt.GetInteger(SmartStore.IdCol)));
     }
 }