Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Segment EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSegment(Segment segment)
 {
     base.AddObject("Segment", segment);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Segment object.
 /// </summary>
 /// <param name="segmentId">Initial value of the SegmentId property.</param>
 /// <param name="parentId">Initial value of the ParentId property.</param>
 public static Segment CreateSegment(global::System.Int32 segmentId, global::System.Int32 parentId)
 {
     Segment segment = new Segment();
     segment.SegmentId = segmentId;
     segment.ParentId = parentId;
     return segment;
 }