/// <summary> /// 创建新的 vUTPCycle 对象。 /// </summary> /// <param name="cycle">Cycle 属性的初始值。</param> /// <param name="cycleID">CycleID 属性的初始值。</param> public static vUTPCycle CreatevUTPCycle(global::System.Int16 cycle, global::System.String cycleID) { vUTPCycle vUTPCycle = new vUTPCycle(); vUTPCycle.Cycle = cycle; vUTPCycle.CycleID = cycleID; return vUTPCycle; }
/// <summary> /// 用于向 vUTPCycle EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddTovUTPCycle(vUTPCycle vUTPCycle) { base.AddObject("vUTPCycle", vUTPCycle); }