コード例 #1
0
        /// <summary>
        /// Create a new tbluser object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="username">Initial value of the username property.</param>
        /// <param name="password">Initial value of the password property.</param>
        /// <param name="roleid">Initial value of the roleid property.</param>
        public static tbluser Createtbluser(global::System.Int32 id, global::System.String username, global::System.String password, global::System.Int32 roleid)
        {
            tbluser tbluser = new tbluser();

            tbluser.Id       = id;
            tbluser.username = username;
            tbluser.password = password;
            tbluser.roleid   = roleid;
            return(tbluser);
        }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tblusers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblusers(tbluser tbluser)
 {
     base.AddObject("tblusers", tbluser);
 }