コード例 #1
0
        /// <summary>
        /// Create a new TB_User object.
        /// </summary>
        /// <param name="userID">Initial value of the UserID property.</param>
        /// <param name="userName">Initial value of the UserName property.</param>
        /// <param name="password">Initial value of the Password property.</param>
        /// <param name="active">Initial value of the Active property.</param>
        public static TB_User CreateTB_User(global::System.Int32 userID, global::System.String userName, global::System.String password, global::System.String active)
        {
            TB_User tB_User = new TB_User();

            tB_User.UserID   = userID;
            tB_User.UserName = userName;
            tB_User.Password = password;
            tB_User.Active   = active;
            return(tB_User);
        }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TB_User EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTB_User(TB_User tB_User)
 {
     base.AddObject("TB_User", tB_User);
 }