Exemple #1
0
 /// <summary>
 /// 建立新 OMEMP 物件。
 /// </summary>
 /// <param name="eMPNO">EMPNO 屬性的初始值。</param>
 /// <param name="eMPNAME">EMPNAME 屬性的初始值。</param>
 /// <param name="pW">PW 屬性的初始值。</param>
 /// <param name="aDDR1">ADDR1 屬性的初始值。</param>
 /// <param name="tEL1">TEL1 屬性的初始值。</param>
 /// <param name="tEL2">TEL2 屬性的初始值。</param>
 /// <param name="mAIL">MAIL 屬性的初始值。</param>
 /// <param name="eDATE">EDATE 屬性的初始值。</param>
 /// <param name="sTOPCD">STOPCD 屬性的初始值。</param>
 /// <param name="oWNER">OWNER 屬性的初始值。</param>
 /// <param name="dATE">DATE 屬性的初始值。</param>
 /// <param name="sYSTM">SYSTM 屬性的初始值。</param>
 public static OMEMP CreateOMEMP(global::System.String eMPNO, global::System.String eMPNAME, global::System.String pW, global::System.String aDDR1, global::System.String tEL1, global::System.String tEL2, global::System.String mAIL, global::System.String eDATE, global::System.Int32 sTOPCD, global::System.String oWNER, global::System.String dATE, global::System.String sYSTM)
 {
     OMEMP oMEMP = new OMEMP();
     oMEMP.EMPNO = eMPNO;
     oMEMP.EMPNAME = eMPNAME;
     oMEMP.PW = pW;
     oMEMP.ADDR1 = aDDR1;
     oMEMP.TEL1 = tEL1;
     oMEMP.TEL2 = tEL2;
     oMEMP.MAIL = mAIL;
     oMEMP.EDATE = eDATE;
     oMEMP.STOPCD = sTOPCD;
     oMEMP.OWNER = oWNER;
     oMEMP.DATE = dATE;
     oMEMP.SYSTM = sYSTM;
     return oMEMP;
 }
Exemple #2
0
 /// <summary>
 /// 將新物件加入 OMEMP EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet&lt;T&gt; 屬性的 .Add 方法。
 /// </summary>
 public void AddToOMEMP(OMEMP oMEMP)
 {
     base.AddObject("OMEMP", oMEMP);
 }