Example #1
0
        /// <summary>
        /// Create a new dept object.
        /// </summary>
        /// <param name="deptno">Initial value of the deptno property.</param>
        public static dept Createdept(global::System.Int32 deptno)
        {
            dept dept = new dept();

            dept.deptno = deptno;
            return(dept);
        }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the depts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTodepts(dept dept)
 {
     base.AddObject("depts", dept);
 }