/// <summary> /// Create a new courseinfo object. /// </summary> /// <param name="cid">Initial value of the cid property.</param> /// <param name="coursename">Initial value of the coursename property.</param> public static courseinfo Createcourseinfo(global::System.Int32 cid, global::System.String coursename) { courseinfo courseinfo = new courseinfo(); courseinfo.cid = cid; courseinfo.coursename = coursename; return(courseinfo); }
/// <summary> /// Deprecated Method for adding a new object to the courseinfoes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTocourseinfoes(courseinfo courseinfo) { base.AddObject("courseinfoes", courseinfo); }