Esempio n. 1
0
 /// <summary>
 /// 创建新的 Account_College 对象。
 /// </summary>
 /// <param name="accountId">AccountId 属性的初始值。</param>
 /// <param name="collegeId">CollegeId 属性的初始值。</param>
 /// <param name="email">Email 属性的初始值。</param>
 /// <param name="userName">UserName 属性的初始值。</param>
 /// <param name="password">Password 属性的初始值。</param>
 /// <param name="loginTimes">LoginTimes 属性的初始值。</param>
 /// <param name="createDate">CreateDate 属性的初始值。</param>
 /// <param name="modifyDate">ModifyDate 属性的初始值。</param>
 public static Account_College CreateAccount_College(global::System.Int32 accountId, global::System.Int32 collegeId, global::System.String email, global::System.String userName, global::System.String password, global::System.Int32 loginTimes, global::System.DateTime createDate, global::System.DateTime modifyDate)
 {
     Account_College account_College = new Account_College();
     account_College.AccountId = accountId;
     account_College.CollegeId = collegeId;
     account_College.Email = email;
     account_College.UserName = userName;
     account_College.Password = password;
     account_College.LoginTimes = loginTimes;
     account_College.CreateDate = createDate;
     account_College.ModifyDate = modifyDate;
     return account_College;
 }
Esempio n. 2
0
 /// <summary>
 /// 用于向 Account_College EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToAccount_College(Account_College account_College)
 {
     base.AddObject("Account_College", account_College);
 }