コード例 #1
0
 /// <summary>
 /// Create a new Sequence object.
 /// </summary>
 /// <param name="idSequence">Initial value of the idSequence property.</param>
 /// <param name="resource">Initial value of the Resource property.</param>
 /// <param name="nextVal">Initial value of the nextVal property.</param>
 public static Sequence CreateSequence(global::System.Int32 idSequence, global::System.String resource, global::System.Int32 nextVal)
 {
     Sequence sequence = new Sequence();
     sequence.idSequence = idSequence;
     sequence.Resource = resource;
     sequence.nextVal = nextVal;
     return sequence;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Sequences EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSequences(Sequence sequence)
 {
     base.AddObject("Sequences", sequence);
 }