Inheritance: System.Data.Objects.DataClasses.EntityObject
 /// <summary>
 /// Deprecated Method for adding a new object to the UserCaches EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserCaches(UserCache userCache)
 {
     base.AddObject("UserCaches", userCache);
 }
 /// <summary>
 /// Create a new UserCache object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="photo">Initial value of the Photo property.</param>
 public static UserCache CreateUserCache(global::System.Int32 id, global::System.String name, global::System.Byte[] photo)
 {
     UserCache userCache = new UserCache();
     userCache.Id = id;
     userCache.Name = name;
     userCache.Photo = photo;
     return userCache;
 }