Ejemplo n.º 1
0
 /// <summary>
 /// takes the given Entry and inserts it into the server
 /// </summary>
 /// <returns>the reflected entry from the server if any given</returns>
 public Y Insert <Y>(Feed <Y> feed, Y entry) where Y : Entry, new()
 {
     return(Insert(new Uri(feed.AtomFeed.Post), entry));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// performs a batch operation.
 /// </summary>
 /// <param name="feed">the original feed, used to find the batch endpoing </param>
 /// <param name="entries">List of entries of type Y, that are to be batched</param>
 /// <returns></returns>
 public Feed <Y> Batch <Y>(List <Y> entries, Feed <Y> feed) where Y : Entry, new()
 {
     return(this.Batch(entries, feed, GDataBatchOperationType.Default));
 }