internal List <NameValuePair> getAllBobsCount() { if (Kinds == null) { return(new List <NameValuePair>()); } var toReturn = new List <NameValuePair>(); foreach (var table in Kinds) { var res = new TableStore(table).Count(); toReturn.Add(new NameValuePair() { Name = table.Value, Value = res.Result.ToString() }); } return(toReturn); }
public LocalEntityStore() { _localDb = new LocalDB(); defaultTableStore = new TableStore(Constants.KIND_DEFAULT); }