Example #1
0
        /// <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);
        }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PasswordHistories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPasswordHistories(PasswordHistory passwordHistory)
 {
     base.AddObject("PasswordHistories", passwordHistory);
 }