/// <summary>
        /// Create a new tbl_Login object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        public static tbl_Login Createtbl_Login(global::System.Int32 id)
        {
            tbl_Login tbl_Login = new tbl_Login();

            tbl_Login.Id = id;
            return(tbl_Login);
        }
Esempio n. 2
0
 internal bool Register(tbl_Login model)
 {
     dbContext.AddTotbl_Login(model);
     dbContext.SaveChanges();
     return(true);
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the tbl_Login EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotbl_Login(tbl_Login tbl_Login)
 {
     base.AddObject("tbl_Login", tbl_Login);
 }