/// <summary>
 /// Create a new AdPhotos object.
 /// </summary>
 /// <param name="ap_id">Initial value of the ap_id property.</param>
 /// <param name="a_id">Initial value of the a_id property.</param>
 /// <param name="ap_description">Initial value of the ap_description property.</param>
 /// <param name="ap_image">Initial value of the ap_image property.</param>
 public static AdPhotos CreateAdPhotos(global::System.Int32 ap_id, global::System.Int32 a_id, global::System.String ap_description, global::System.Byte[] ap_image)
 {
     AdPhotos adPhotos = new AdPhotos();
     adPhotos.ap_id = ap_id;
     adPhotos.a_id = a_id;
     adPhotos.ap_description = ap_description;
     adPhotos.ap_image = ap_image;
     return adPhotos;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the AdPhotos EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAdPhotos(AdPhotos adPhotos)
 {
     base.AddObject("AdPhotos", adPhotos);
 }