Esempio n. 1
0
 /// <summary>
 /// 创建新的 View_WorkerjoinDepartment 对象。
 /// </summary>
 /// <param name="id">Id 属性的初始值。</param>
 /// <param name="cardNumber">CardNumber 属性的初始值。</param>
 /// <param name="jobNumber">JobNumber 属性的初始值。</param>
 /// <param name="name">Name 属性的初始值。</param>
 /// <param name="gender">Gender 属性的初始值。</param>
 /// <param name="departmentId">DepartmentId 属性的初始值。</param>
 /// <param name="jobTitleId">JobTitleId 属性的初始值。</param>
 public static View_WorkerjoinDepartment CreateView_WorkerjoinDepartment(global::System.String id, global::System.String cardNumber, global::System.String jobNumber, global::System.String name, global::System.Boolean gender, global::System.String departmentId, global::System.String jobTitleId)
 {
     View_WorkerjoinDepartment view_WorkerjoinDepartment = new View_WorkerjoinDepartment();
     view_WorkerjoinDepartment.Id = id;
     view_WorkerjoinDepartment.CardNumber = cardNumber;
     view_WorkerjoinDepartment.JobNumber = jobNumber;
     view_WorkerjoinDepartment.Name = name;
     view_WorkerjoinDepartment.Gender = gender;
     view_WorkerjoinDepartment.DepartmentId = departmentId;
     view_WorkerjoinDepartment.JobTitleId = jobTitleId;
     return view_WorkerjoinDepartment;
 }
Esempio n. 2
0
 /// <summary>
 /// 用于向 View_WorkerjoinDepartment EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToView_WorkerjoinDepartment(View_WorkerjoinDepartment view_WorkerjoinDepartment)
 {
     base.AddObject("View_WorkerjoinDepartment", view_WorkerjoinDepartment);
 }