/// <summary> /// Deprecated Method for adding a new object to the Relationships EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRelationships(Relationships relationships) { base.AddObject("Relationships", relationships); }
/// <summary> /// Create a new Relationships object. /// </summary> /// <param name="r_id">Initial value of the r_id property.</param> /// <param name="u_username">Initial value of the u_username property.</param> /// <param name="r_type">Initial value of the r_type property.</param> /// <param name="r_accepted">Initial value of the r_accepted property.</param> /// <param name="r_timestamp">Initial value of the r_timestamp property.</param> public static Relationships CreateRelationships(global::System.Int32 r_id, global::System.String u_username, global::System.Int32 r_type, global::System.Boolean r_accepted, global::System.DateTime r_timestamp) { Relationships relationships = new Relationships(); relationships.r_id = r_id; relationships.u_username = u_username; relationships.r_type = r_type; relationships.r_accepted = r_accepted; relationships.r_timestamp = r_timestamp; return relationships; }