Exemple #1
0
        public void hede()
        {
            FACULTY fac = new FACULTY();
            DEPARTMENT DP = fac.DEPARTMENT.FirstOrDefault<DEPARTMENT>();

            System.Windows.Forms.MessageBox.Show(context.FACULTY.FirstOrDefault<FACULTY>().FACU_NAME);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the FACULTY EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFACULTY(FACULTY fACULTY)
 {
     base.AddObject("FACULTY", fACULTY);
 }
 /// <summary>
 /// Create a new FACULTY object.
 /// </summary>
 /// <param name="fACU_ID">Initial value of the FACU_ID property.</param>
 /// <param name="fACU_NAME">Initial value of the FACU_NAME property.</param>
 public static FACULTY CreateFACULTY(global::System.Int32 fACU_ID, global::System.String fACU_NAME)
 {
     FACULTY fACULTY = new FACULTY();
     fACULTY.FACU_ID = fACU_ID;
     fACULTY.FACU_NAME = fACU_NAME;
     return fACULTY;
 }