Ejemplo n.º 1
0
 /// <summary>
 /// 建立新 tblEngineRoomConfig 物件。
 /// </summary>
 /// <param name="eRID">ERID 屬性的初始值。</param>
 /// <param name="eRName">ERName 屬性的初始值。</param>
 /// <param name="lineID">LineID 屬性的初始值。</param>
 /// <param name="direction">Direction 屬性的初始值。</param>
 /// <param name="gPSX">GPSX 屬性的初始值。</param>
 /// <param name="gPSY">GPSY 屬性的初始值。</param>
 public static tblEngineRoomConfig CreatetblEngineRoomConfig(global::System.Int32 eRID, global::System.String eRName, global::System.String lineID, global::System.String direction, global::System.Double gPSX, global::System.Double gPSY)
 {
     tblEngineRoomConfig tblEngineRoomConfig = new tblEngineRoomConfig();
     tblEngineRoomConfig.ERID = eRID;
     tblEngineRoomConfig.ERName = eRName;
     tblEngineRoomConfig.LineID = lineID;
     tblEngineRoomConfig.Direction = direction;
     tblEngineRoomConfig.GPSX = gPSX;
     tblEngineRoomConfig.GPSY = gPSY;
     return tblEngineRoomConfig;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 將新物件加入 tblEngineRoomConfig EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet&lt;T&gt; 屬性的 .Add 方法。
 /// </summary>
 public void AddTotblEngineRoomConfig(tblEngineRoomConfig tblEngineRoomConfig)
 {
     base.AddObject("tblEngineRoomConfig", tblEngineRoomConfig);
 }