/// <summary> /// Deprecated Method for adding a new object to the PROFESSOR EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPROFESSOR(PROFESSOR pROFESSOR) { base.AddObject("PROFESSOR", pROFESSOR); }
/// <summary> /// Create a new PROFESSOR object. /// </summary> /// <param name="pROF_ID">Initial value of the PROF_ID property.</param> /// <param name="pROF_NAME">Initial value of the PROF_NAME property.</param> public static PROFESSOR CreatePROFESSOR(global::System.Int32 pROF_ID, global::System.String pROF_NAME) { PROFESSOR pROFESSOR = new PROFESSOR(); pROFESSOR.PROF_ID = pROF_ID; pROFESSOR.PROF_NAME = pROF_NAME; return pROFESSOR; }