Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Opinions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOpinions(Opinion opinion)
 {
     base.AddObject("Opinions", opinion);
 }
Пример #2
0
 /// <summary>
 /// Create a new Opinion object.
 /// </summary>
 /// <param name="opinionId">Initial value of the OpinionId property.</param>
 public static Opinion CreateOpinion(global::System.Int32 opinionId)
 {
     Opinion opinion = new Opinion();
     opinion.OpinionId = opinionId;
     return opinion;
 }