/// <summary>
 /// Deprecated Method for adding a new object to the userphotoes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTouserphotoes(userphoto userphoto)
 {
     base.AddObject("userphotoes", userphoto);
 }
 /// <summary>
 /// Create a new userphoto object.
 /// </summary>
 /// <param name="photoid">Initial value of the photoid property.</param>
 /// <param name="uid">Initial value of the uid property.</param>
 public static userphoto Createuserphoto(global::System.Int32 photoid, global::System.Int32 uid)
 {
     userphoto userphoto = new userphoto();
     userphoto.photoid = photoid;
     userphoto.uid = uid;
     return userphoto;
 }