# Enrichment

> **Warning:** You are viewing the **Feeds v2** documentation. Feeds v2 is in maintenance mode and no longer receives new features. New projects should use [Feeds v3](https://getstream.io/activity-feeds/docs/dotnet-csharp/), a major upgrade in performance, capabilities, and developer experience. To move an existing app, follow the [migration guide](https://getstream.io/activity-feeds/docs/dotnet-csharp/v2-to-v3-migration/).

## Enrichment of Collection Entries

Objects stored inside collections can be embedded inside activities or user objects. This allows you to integrate with Stream without building a complex integration with another database.
Stream's collections can be used as your data source for data enrichment.

```csharp label="C#"
// first we add our object to the food collection
var collectionData = new Dictionary<string, object>();
collectionData.Add("name", "Cheese Burger");
collectionData.Add("ingredients", new[] { "cheese", "burger", "bread", "lettuce", "tomato" });
var cheeseBurger = await client.Collections.AddAsync("food", collectionData, "123");

// the object returned by .add can be embedded directly inside of an activity
var activity = new Activity("jim", "grill", cheeseBurger.Ref("food"));
await userFeed.AddActivityAsync(activity);

// if we now read the feed, the activity we just added will include the entire full object
await userFeed.GetEnrichedFlatActivitiesAsync();
```

---

For the most recent version of this documentation, visit [https://getstream.io/activity-feeds/docs/dotnet-csharp/v2/collections-enrichment/](https://getstream.io/activity-feeds/docs/dotnet-csharp/v2/collections-enrichment/).