///<summary>
        /// A simple factory method to create a new <see cref="VuRights"/> instance.
        ///</summary>
        ///<param name="_rights"></param>
        ///<param name="_shuoming"></param>
        public static VuRights CreateVuRights(System.String _rights, System.String _shuoming)
        {
            VuRights newVuRights = new VuRights();

            newVuRights.Rights   = _rights;
            newVuRights.Shuoming = _shuoming;
            return(newVuRights);
        }
        ///<summary>
        ///  Returns a Typed VuRights Entity
        ///</summary>
        protected virtual VuRights Copy(IDictionary existingCopies)
        {
            if (existingCopies == null)
            {
                // This is the root of the tree to be copied!
                existingCopies = new Hashtable();
            }

            //shallow copy entity
            VuRights copy = new VuRights();

            existingCopies.Add(this, copy);
            copy.SuppressEntityEvents = true;
            copy.Id       = this.Id;
            copy.Rights   = this.Rights;
            copy.Shuoming = this.Shuoming;


            copy.EntityState          = this.EntityState;
            copy.SuppressEntityEvents = false;
            return(copy);
        }