Example #1
0
        /// <summary>
        /// Create a new tbl_UserRole object.
        /// </summary>
        /// <param name="roleID">Initial value of the RoleID property.</param>
        /// <param name="roleName">Initial value of the RoleName property.</param>
        /// <param name="editUser">Initial value of the EditUser property.</param>
        /// <param name="editDate">Initial value of the EditDate property.</param>
        public static tbl_UserRole Createtbl_UserRole(global::System.Int32 roleID, global::System.String roleName, global::System.Guid editUser, global::System.DateTime editDate)
        {
            tbl_UserRole tbl_UserRole = new tbl_UserRole();

            tbl_UserRole.RoleID   = roleID;
            tbl_UserRole.RoleName = roleName;
            tbl_UserRole.EditUser = editUser;
            tbl_UserRole.EditDate = editDate;
            return(tbl_UserRole);
        }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tbl_UserRole EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotbl_UserRole(tbl_UserRole tbl_UserRole)
 {
     base.AddObject("tbl_UserRole", tbl_UserRole);
 }