Example #1
0
 public static GeneralSide NewGenSide(Person p, Discussion d, int side)
 {
     var res = new GeneralSide();
     res.Person = p;
     res.Discussion = d;
     res.Side = side;
     return res;
 }
Example #2
0
 /// <summary>
 /// Create a new GeneralSide object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="side">Initial value of the Side property.</param>
 public static GeneralSide CreateGeneralSide(global::System.Int32 id, global::System.Int32 side)
 {
     GeneralSide generalSide = new GeneralSide();
     generalSide.Id = id;
     generalSide.Side = side;
     return generalSide;
 }
Example #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the GeneralSide EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGeneralSide(GeneralSide generalSide)
 {
     base.AddObject("GeneralSide", generalSide);
 }
Example #4
0
 private static GeneralSide CreateGeneralSide(Person p, Discussion d, int side)
 {
     var genSide = new GeneralSide();
     genSide.Side = (int) SideCode.Neutral;
     genSide.Discussion = d;
     genSide.Person = p;
     return genSide;
 }