I'm storing an object into Memcached using Enyim.
However, when pulling this object out of Memcached the related entities are null. Using System.Runtime.Caching the entities load perfectly fine. Any help or hints to store these related entities would be really appreciated. Thank you.
[Serializable]
public class Inventory
{
public Inventory() { }
public int InventoryID { get; set; }
//Not Null
public int ProductID { get; set; }
//Null with Enyim
public virtual Product Product { get; set; }
//Null with Enyim
public virtual ICollection<WarehouseInventory> WareHouseInventories { get; set; }
....
}