コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Faculties EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFaculties(Faculty faculty)
 {
     base.AddObject("Faculties", faculty);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Faculty object.
 /// </summary>
 /// <param name="user_Name">Initial value of the User_Name property.</param>
 /// <param name="password">Initial value of the Password property.</param>
 /// <param name="department_Id">Initial value of the Department_Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Faculty CreateFaculty(global::System.String user_Name, global::System.String password, global::System.String department_Id, global::System.String name)
 {
     Faculty faculty = new Faculty();
     faculty.User_Name = user_Name;
     faculty.Password = password;
     faculty.Department_Id = department_Id;
     faculty.Name = name;
     return faculty;
 }