コード例 #1
0
ファイル: PMS.Designer.cs プロジェクト: kyoliumiao/eHR-Phase2
 /// <summary>
 /// Deprecated Method for adding a new object to the DEPARTMENTs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDEPARTMENTs(DEPARTMENT dEPARTMENT)
 {
     base.AddObject("DEPARTMENTs", dEPARTMENT);
 }
コード例 #2
0
ファイル: PMS.Designer.cs プロジェクト: kyoliumiao/eHR-Phase2
 /// <summary>
 /// Create a new DEPARTMENT object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 public static DEPARTMENT CreateDEPARTMENT(global::System.Int32 id)
 {
     DEPARTMENT dEPARTMENT = new DEPARTMENT();
     dEPARTMENT.ID = id;
     return dEPARTMENT;
 }