/// <summary> /// Deprecated Method for adding a new object to the GroupPhotos EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGroupPhotos(GroupPhotos groupPhotos) { base.AddObject("GroupPhotos", groupPhotos); }
/// <summary> /// Create a new GroupPhotos object. /// </summary> /// <param name="gp_id">Initial value of the gp_id property.</param> /// <param name="g_id">Initial value of the g_id property.</param> /// <param name="u_username">Initial value of the u_username property.</param> /// <param name="gp_name">Initial value of the gp_name property.</param> /// <param name="gp_description">Initial value of the gp_description property.</param> /// <param name="gp_image">Initial value of the gp_image property.</param> /// <param name="gp_date">Initial value of the gp_date property.</param> public static GroupPhotos CreateGroupPhotos(global::System.Int32 gp_id, global::System.Int32 g_id, global::System.String u_username, global::System.String gp_name, global::System.String gp_description, global::System.Byte[] gp_image, global::System.DateTime gp_date) { GroupPhotos groupPhotos = new GroupPhotos(); groupPhotos.gp_id = gp_id; groupPhotos.g_id = g_id; groupPhotos.u_username = u_username; groupPhotos.gp_name = gp_name; groupPhotos.gp_description = gp_description; groupPhotos.gp_image = gp_image; groupPhotos.gp_date = gp_date; return groupPhotos; }