/// <summary> /// Deprecated Method for adding a new object to the Photos EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPhotos(Photos photos) { base.AddObject("Photos", photos); }
/// <summary> /// Create a new Photos object. /// </summary> /// <param name="p_id">Initial value of the p_id property.</param> /// <param name="u_username">Initial value of the u_username property.</param> /// <param name="p_name">Initial value of the p_name property.</param> /// <param name="p_description">Initial value of the p_description property.</param> /// <param name="p_approved">Initial value of the p_approved property.</param> /// <param name="p_primary">Initial value of the p_primary property.</param> /// <param name="p_explicit">Initial value of the p_explicit property.</param> /// <param name="p_private">Initial value of the p_private property.</param> /// <param name="p_manual_approval">Initial value of the p_manual_approval property.</param> /// <param name="p_salute">Initial value of the p_salute property.</param> public static Photos CreatePhotos(global::System.Int32 p_id, global::System.String u_username, global::System.String p_name, global::System.String p_description, global::System.Boolean p_approved, global::System.Boolean p_primary, global::System.Boolean p_explicit, global::System.Boolean p_private, global::System.Boolean p_manual_approval, global::System.Boolean p_salute) { Photos photos = new Photos(); photos.p_id = p_id; photos.u_username = u_username; photos.p_name = p_name; photos.p_description = p_description; photos.p_approved = p_approved; photos.p_primary = p_primary; photos.p_explicit = p_explicit; photos.p_private = p_private; photos.p_manual_approval = p_manual_approval; photos.p_salute = p_salute; return photos; }