/// <summary>
 /// 建立新 tblDevice 物件。
 /// </summary>
 /// <param name="projectID">ProjectID 屬性的初始值。</param>
 /// <param name="groupID">GroupID 屬性的初始值。</param>
 /// <param name="sectionID">SectionID 屬性的初始值。</param>
 /// <param name="deviceID">DeviceID 屬性的初始值。</param>
 /// <param name="shape">Shape 屬性的初始值。</param>
 /// <param name="rotation">Rotation 屬性的初始值。</param>
 /// <param name="devType">DevType 屬性的初始值。</param>
 /// <param name="x">X 屬性的初始值。</param>
 /// <param name="y">Y 屬性的初始值。</param>
 public static tblDevice CreatetblDevice(global::System.Int32 projectID, global::System.Int32 groupID, global::System.Int32 sectionID, global::System.Int32 deviceID, global::System.String shape, global::System.Double rotation, global::System.String devType, global::System.Int32 x, global::System.Int32 y)
 {
     tblDevice tblDevice = new tblDevice();
     tblDevice.ProjectID = projectID;
     tblDevice.GroupID = groupID;
     tblDevice.SectionID = sectionID;
     tblDevice.DeviceID = deviceID;
     tblDevice.Shape = shape;
     tblDevice.Rotation = rotation;
     tblDevice.DevType = devType;
     tblDevice.X = x;
     tblDevice.Y = y;
     return tblDevice;
 }
 /// <summary>
 /// 將新物件加入 tblDevice EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet&lt;T&gt; 屬性的 .Add 方法。
 /// </summary>
 public void AddTotblDevice(tblDevice tblDevice)
 {
     base.AddObject("tblDevice", tblDevice);
 }