예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserLoginHistories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserLoginHistories(UserLoginHistory userLoginHistory)
 {
     base.AddObject("UserLoginHistories", userLoginHistory);
 }
예제 #2
0
 /// <summary>
 /// Create a new UserLoginHistory object.
 /// </summary>
 /// <param name="autoInc">Initial value of the AutoInc property.</param>
 /// <param name="userID">Initial value of the UserID property.</param>
 /// <param name="stratTime">Initial value of the StratTime property.</param>
 /// <param name="counterNumber">Initial value of the CounterNumber property.</param>
 public static UserLoginHistory CreateUserLoginHistory(global::System.Int64 autoInc, global::System.String userID, global::System.DateTime stratTime, global::System.Int16 counterNumber)
 {
     UserLoginHistory userLoginHistory = new UserLoginHistory();
     userLoginHistory.AutoInc = autoInc;
     userLoginHistory.UserID = userID;
     userLoginHistory.StratTime = stratTime;
     userLoginHistory.CounterNumber = counterNumber;
     return userLoginHistory;
 }