예제 #1
0
 /// <summary>
 /// 將新物件加入 tblSite EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet&lt;T&gt; 屬性的 .Add 方法。
 /// </summary>
 public void AddTotblSite(tblSite tblSite)
 {
     base.AddObject("tblSite", tblSite);
 }
예제 #2
0
 /// <summary>
 /// 建立新 tblSite 物件。
 /// </summary>
 /// <param name="sITE_ID">SITE_ID 屬性的初始值。</param>
 /// <param name="cUSTROMER_ID">CUSTROMER_ID 屬性的初始值。</param>
 /// <param name="sITE_NAME">SITE_NAME 屬性的初始值。</param>
 /// <param name="sITE_ADDRESS">SITE_ADDRESS 屬性的初始值。</param>
 /// <param name="x">X 屬性的初始值。</param>
 /// <param name="y">Y 屬性的初始值。</param>
 /// <param name="n3_CONTENT">N3_CONTENT 屬性的初始值。</param>
 /// <param name="iSBIM">ISBIM 屬性的初始值。</param>
 public static tblSite CreatetblSite(global::System.String sITE_ID, global::System.Int32 cUSTROMER_ID, global::System.String sITE_NAME, global::System.String sITE_ADDRESS, global::System.Double x, global::System.Double y, global::System.Int32 n3_CONTENT, global::System.Boolean iSBIM)
 {
     tblSite tblSite = new tblSite();
     tblSite.SITE_ID = sITE_ID;
     tblSite.CUSTROMER_ID = cUSTROMER_ID;
     tblSite.SITE_NAME = sITE_NAME;
     tblSite.SITE_ADDRESS = sITE_ADDRESS;
     tblSite.X = x;
     tblSite.Y = y;
     tblSite.N3_CONTENT = n3_CONTENT;
     tblSite.ISBIM = iSBIM;
     return tblSite;
 }