/// <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); }
/// <summary> /// Deprecated Method for adding a new object to the tblroles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblroles(tblrole tblrole) { base.AddObject("tblroles", tblrole); }