/// <summary> /// Create a new Votes object. /// </summary> /// <param name="v_fromusername">Initial value of the v_fromusername property.</param> /// <param name="v_tousername">Initial value of the v_tousername property.</param> /// <param name="v_score">Initial value of the v_score property.</param> /// <param name="v_timestamp">Initial value of the v_timestamp property.</param> public static Votes CreateVotes(global::System.String v_fromusername, global::System.String v_tousername, global::System.Int32 v_score, global::System.DateTime v_timestamp) { Votes votes = new Votes(); votes.v_fromusername = v_fromusername; votes.v_tousername = v_tousername; votes.v_score = v_score; votes.v_timestamp = v_timestamp; return votes; }
/// <summary> /// Deprecated Method for adding a new object to the Votes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToVotes(Votes votes) { base.AddObject("Votes", votes); }