Esempio n. 1
0
        public void DelChirp(String rowKey)
        {
            ChirpEntity res = (from c in ChirpEntities where c.RowKey == rowKey select c).First();

            DeleteObject(res);
            SaveChanges();
        }
Esempio n. 2
0
        public String AddChirp(string username, string text, DateTime timestamp)
        {
            TableServiceEntity entity = new ChirpEntity(username, text, timestamp);

            AddObject(TABLE_NAME, entity);
            SaveChanges();
            return(entity.RowKey);
        }