/// <summary> /// Create a new archive_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> public static archive_Photos Createarchive_Photos(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) { archive_Photos archive_Photos = new archive_Photos(); archive_Photos.p_id = p_id; archive_Photos.u_username = u_username; archive_Photos.p_name = p_name; archive_Photos.p_description = p_description; archive_Photos.p_approved = p_approved; archive_Photos.p_primary = p_primary; archive_Photos.p_explicit = p_explicit; archive_Photos.p_private = p_private; return archive_Photos; }
/// <summary> /// Deprecated Method for adding a new object to the archive_Photos EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToarchive_Photos(archive_Photos archive_Photos) { base.AddObject("archive_Photos", archive_Photos); }