/// <summary> /// Deprecated Method for adding a new object to the Interests EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToInterests(Interests interests) { base.AddObject("Interests", interests); }
/// <summary> /// Create a new Interests object. /// </summary> /// <param name="i_id">Initial value of the i_id property.</param> /// <param name="i_from_username">Initial value of the i_from_username property.</param> /// <param name="i_to_username">Initial value of the i_to_username property.</param> /// <param name="i_date_posted">Initial value of the i_date_posted property.</param> /// <param name="i_deleted_by_fromuser">Initial value of the i_deleted_by_fromuser property.</param> /// <param name="i_deleted_by_touser">Initial value of the i_deleted_by_touser property.</param> public static Interests CreateInterests(global::System.Int32 i_id, global::System.String i_from_username, global::System.String i_to_username, global::System.DateTime i_date_posted, global::System.Boolean i_deleted_by_fromuser, global::System.Boolean i_deleted_by_touser) { Interests interests = new Interests(); interests.i_id = i_id; interests.i_from_username = i_from_username; interests.i_to_username = i_to_username; interests.i_date_posted = i_date_posted; interests.i_deleted_by_fromuser = i_deleted_by_fromuser; interests.i_deleted_by_touser = i_deleted_by_touser; return interests; }