///<summary>
        /// A simple factory method to create a new <see cref="EvlAssessment"/> instance.
        ///</summary>
        ///<param name="_name"></param>
        ///<param name="_usertype"></param>
        ///<param name="_weight"></param>
        ///<param name="_modelId"></param>
        public static EvlAssessment CreateEvlAssessment(System.String _name, System.Int32?_usertype, System.Decimal?_weight,
                                                        System.Int32?_modelId)
        {
            EvlAssessment newEvlAssessment = new EvlAssessment();

            newEvlAssessment.Name     = _name;
            newEvlAssessment.Usertype = _usertype;
            newEvlAssessment.Weight   = _weight;
            newEvlAssessment.ModelId  = _modelId;
            return(newEvlAssessment);
        }
        ///<summary>
        ///  Returns a Typed EvlAssessment Entity
        ///</summary>
        protected virtual EvlAssessment Copy(IDictionary existingCopies)
        {
            if (existingCopies == null)
            {
                // This is the root of the tree to be copied!
                existingCopies = new Hashtable();
            }

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

            existingCopies.Add(this, copy);
            copy.SuppressEntityEvents = true;
            copy.Id       = this.Id;
            copy.Name     = this.Name;
            copy.Usertype = this.Usertype;
            copy.Weight   = this.Weight;
            copy.ModelId  = this.ModelId;


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