Exemple #1
0
        /// <summary>
        /// Create a new tblrole object.
        /// </summary>
        /// <param name="roleId">Initial value of the roleId property.</param>
        /// <param name="rolename">Initial value of the rolename property.</param>
        public static tblrole Createtblrole(global::System.Int32 roleId, global::System.String rolename)
        {
            tblrole tblrole = new tblrole();

            tblrole.roleId   = roleId;
            tblrole.rolename = rolename;
            return(tblrole);
        }
Exemple #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tblroles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblroles(tblrole tblrole)
 {
     base.AddObject("tblroles", tblrole);
 }