/// <summary>
 /// Deprecated Method for adding a new object to the PhotoAccess EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPhotoAccess(PhotoAccess photoAccess)
 {
     base.AddObject("PhotoAccess", photoAccess);
 }
 /// <summary>
 /// Create a new PhotoAccess object.
 /// </summary>
 /// <param name="pa_photoowner">Initial value of the pa_photoowner property.</param>
 /// <param name="pa_photoviewer">Initial value of the pa_photoviewer property.</param>
 /// <param name="pa_dateaccessgranted">Initial value of the pa_dateaccessgranted property.</param>
 public static PhotoAccess CreatePhotoAccess(global::System.String pa_photoowner, global::System.String pa_photoviewer, global::System.DateTime pa_dateaccessgranted)
 {
     PhotoAccess photoAccess = new PhotoAccess();
     photoAccess.pa_photoowner = pa_photoowner;
     photoAccess.pa_photoviewer = pa_photoviewer;
     photoAccess.pa_dateaccessgranted = pa_dateaccessgranted;
     return photoAccess;
 }