Esempio n. 1
0
 /// <summary>
 /// Create a new Cycle object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="cycle1">Initial value of the cycle1 property.</param>
 /// <param name="cycleGuid">Initial value of the cycleGuid property.</param>
 public static Cycle CreateCycle(global::System.Int32 id, global::System.String cycle1, global::System.Guid cycleGuid)
 {
     Cycle cycle = new Cycle();
     cycle.id = id;
     cycle.cycle1 = cycle1;
     cycle.cycleGuid = cycleGuid;
     return cycle;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Cycles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCycles(Cycle cycle)
 {
     base.AddObject("Cycles", cycle);
 }