Пример #1
0
 /// <summary>
 /// Create a new department object.
 /// </summary>
 /// <param name="department_id">Initial value of the department_id property.</param>
 /// <param name="name">Initial value of the name property.</param>
 public static department Createdepartment(global::System.Int32 department_id, global::System.String name)
 {
     department department = new department();
     department.department_id = department_id;
     department.name = name;
     return department;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the department EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTodepartment(department department)
 {
     base.AddObject("department", department);
 }