///<summary> /// A simple factory method to create a new <see cref="EvlUsertype"/> instance. ///</summary> ///<param name="_id"></param> ///<param name="_userType"></param> public static EvlUsertype CreateEvlUsertype(System.Int32 _id, System.String _userType) { EvlUsertype newEvlUsertype = new EvlUsertype(); newEvlUsertype.Id = _id; newEvlUsertype.UserType = _userType; return(newEvlUsertype); }
///<summary> /// Returns a Typed EvlUsertype Entity ///</summary> protected virtual EvlUsertype Copy(IDictionary existingCopies) { if (existingCopies == null) { // This is the root of the tree to be copied! existingCopies = new Hashtable(); } //shallow copy entity EvlUsertype copy = new EvlUsertype(); existingCopies.Add(this, copy); copy.SuppressEntityEvents = true; copy.Id = this.Id; copy.OriginalId = this.OriginalId; copy.UserType = this.UserType; copy.EntityState = this.EntityState; copy.SuppressEntityEvents = false; return(copy); }