/// <summary> /// Create a new PasswordHistory object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="lastLogin">Initial value of the LastLogin property.</param> public static PasswordHistory CreatePasswordHistory(global::System.Int32 id, global::System.DateTime lastLogin) { PasswordHistory passwordHistory = new PasswordHistory(); passwordHistory.Id = id; passwordHistory.LastLogin = lastLogin; return(passwordHistory); }
/// <summary> /// Deprecated Method for adding a new object to the PasswordHistories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPasswordHistories(PasswordHistory passwordHistory) { base.AddObject("PasswordHistories", passwordHistory); }