コード例 #1
0
        /// <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);
        }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the courseinfoes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTocourseinfoes(courseinfo courseinfo)
 {
     base.AddObject("courseinfoes", courseinfo);
 }