///<summary>
        /// A simple factory method to create a new <see cref="EvlBehaviordescription"/> instance.
        ///</summary>
        ///<param name="_behaviorId"></param>
        ///<param name="_score"></param>
        ///<param name="_dept"></param>
        public static EvlBehaviordescription CreateEvlBehaviordescription(System.Int32?_behaviorId, System.Int32?_score,
                                                                          System.String _dept)
        {
            EvlBehaviordescription newEvlBehaviordescription = new EvlBehaviordescription();

            newEvlBehaviordescription.BehaviorId = _behaviorId;
            newEvlBehaviordescription.Score      = _score;
            newEvlBehaviordescription.Dept       = _dept;
            return(newEvlBehaviordescription);
        }
        ///<summary>
        ///  Returns a Typed EvlBehaviordescription Entity
        ///</summary>
        protected virtual EvlBehaviordescription Copy(IDictionary existingCopies)
        {
            if (existingCopies == null)
            {
                // This is the root of the tree to be copied!
                existingCopies = new Hashtable();
            }

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

            existingCopies.Add(this, copy);
            copy.SuppressEntityEvents = true;
            copy.Id         = this.Id;
            copy.BehaviorId = this.BehaviorId;
            copy.Score      = this.Score;
            copy.Dept       = this.Dept;


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