Example #1
0
File: Model.cs Project: AiSvt/pr
 /// <summary>
 /// Deprecated Method for adding a new object to the departmentSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTodepartmentSet(department department)
 {
     base.AddObject("departmentSet", department);
 }
Example #2
0
File: Model.cs Project: AiSvt/pr
 /// <summary>
 /// Create a new department object.
 /// </summary>
 /// <param name="id_dep">Initial value of the Id_dep property.</param>
 /// <param name="dep_name">Initial value of the dep_name property.</param>
 public static department Createdepartment(global::System.Int32 id_dep, global::System.String dep_name)
 {
     department department = new department();
     department.Id_dep = id_dep;
     department.dep_name = dep_name;
     return department;
 }