Esempio n. 1
0
 /// <summary>
 /// Create a new segment object.
 /// </summary>
 /// <param name="cRS">Initial value of the CRS property.</param>
 /// <param name="rLOC">Initial value of the RLOC property.</param>
 /// <param name="lang">Initial value of the Lang property.</param>
 /// <param name="segNum">Initial value of the SegNum property.</param>
 /// <param name="segmentSequence">Initial value of the SegmentSequence property.</param>
 /// <param name="stamp">Initial value of the Stamp property.</param>
 public static segment Createsegment(global::System.String cRS, global::System.String rLOC, global::System.String lang, global::System.String segNum, global::System.Int32 segmentSequence, global::System.DateTime stamp)
 {
     segment segment = new segment();
     segment.CRS = cRS;
     segment.RLOC = rLOC;
     segment.Lang = lang;
     segment.SegNum = segNum;
     segment.SegmentSequence = segmentSequence;
     segment.Stamp = stamp;
     return segment;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the segments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTosegments(segment segment)
 {
     base.AddObject("segments", segment);
 }