/// <summary> /// Deprecated Method for adding a new object to the Authentications EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAuthentications(Authentication authentication) { base.AddObject("Authentications", authentication); }
/// <summary> /// Create a new Authentication object. /// </summary> /// <param name="authenticationID">Initial value of the AuthenticationID property.</param> /// <param name="employeeID">Initial value of the EmployeeID property.</param> /// <param name="password">Initial value of the Password property.</param> public static Authentication CreateAuthentication(global::System.Int32 authenticationID, global::System.Int32 employeeID, global::System.String password) { Authentication authentication = new Authentication(); authentication.AuthenticationID = authenticationID; authentication.EmployeeID = employeeID; authentication.Password = password; return authentication; }