Esempio n. 1
0
        /// <summary>
        /// Create a new tbldepartment object.
        /// </summary>
        /// <param name="departmentId">Initial value of the DepartmentId property.</param>
        /// <param name="departmentName">Initial value of the DepartmentName property.</param>
        public static tbldepartment Createtbldepartment(global::System.Int32 departmentId, global::System.String departmentName)
        {
            tbldepartment tbldepartment = new tbldepartment();

            tbldepartment.DepartmentId   = departmentId;
            tbldepartment.DepartmentName = departmentName;
            return(tbldepartment);
        }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tbldepartments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotbldepartments(tbldepartment tbldepartment)
 {
     base.AddObject("tbldepartments", tbldepartment);
 }