コード例 #1
0
 /// <summary>
 /// Create a new VC_Staff object.
 /// </summary>
 /// <param name="staff_Id">Initial value of the Staff_Id property.</param>
 /// <param name="user_Id">Initial value of the User_Id property.</param>
 /// <param name="staff_Name">Initial value of the Staff_Name property.</param>
 /// <param name="staff_Department">Initial value of the Staff_Department property.</param>
 /// <param name="staff_College">Initial value of the Staff_College property.</param>
 /// <param name="staff_Gender">Initial value of the Staff_Gender property.</param>
 /// <param name="staff_LibraryId">Initial value of the Staff_LibraryId property.</param>
 /// <param name="staff_Designation">Initial value of the Staff_Designation property.</param>
 /// <param name="staff_EmailId">Initial value of the Staff_EmailId property.</param>
 /// <param name="staff_Birthdate">Initial value of the Staff_Birthdate property.</param>
 /// <param name="staff_Security_Que">Initial value of the Staff_Security_Que property.</param>
 /// <param name="staff_Security_Ans">Initial value of the Staff_Security_Ans property.</param>
 /// <param name="created_TS">Initial value of the Created_TS property.</param>
 /// <param name="updated_TS">Initial value of the Updated_TS property.</param>
 public static VC_Staff CreateVC_Staff(global::System.Int32 staff_Id, global::System.Int32 user_Id, global::System.String staff_Name, global::System.String staff_Department, global::System.String staff_College, global::System.String staff_Gender, global::System.Int32 staff_LibraryId, global::System.String staff_Designation, global::System.String staff_EmailId, global::System.DateTime staff_Birthdate, global::System.String staff_Security_Que, global::System.String staff_Security_Ans, global::System.DateTime created_TS, global::System.DateTime updated_TS)
 {
     VC_Staff vC_Staff = new VC_Staff();
     vC_Staff.Staff_Id = staff_Id;
     vC_Staff.User_Id = user_Id;
     vC_Staff.Staff_Name = staff_Name;
     vC_Staff.Staff_Department = staff_Department;
     vC_Staff.Staff_College = staff_College;
     vC_Staff.Staff_Gender = staff_Gender;
     vC_Staff.Staff_LibraryId = staff_LibraryId;
     vC_Staff.Staff_Designation = staff_Designation;
     vC_Staff.Staff_EmailId = staff_EmailId;
     vC_Staff.Staff_Birthdate = staff_Birthdate;
     vC_Staff.Staff_Security_Que = staff_Security_Que;
     vC_Staff.Staff_Security_Ans = staff_Security_Ans;
     vC_Staff.Created_TS = created_TS;
     vC_Staff.Updated_TS = updated_TS;
     return vC_Staff;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the VC_Staff EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToVC_Staff(VC_Staff vC_Staff)
 {
     base.AddObject("VC_Staff", vC_Staff);
 }