///<summary> /// Returns a Typed VwUserGroupBase Entity ///</summary> public virtual VwUserGroupBase Copy() { //shallow copy entity VwUserGroup copy = new VwUserGroup(); copy.GroupId = this.GroupId; copy.GroupName = this.GroupName; copy.Description = this.Description; copy.GroupStatus = this.GroupStatus; copy.LeaderUserId = this.LeaderUserId; copy.UserId = this.UserId; copy.UserName = this.UserName; copy.UserCnName = this.UserCnName; copy.Email = this.Email; copy.FeBadgeId = this.FeBadgeId; copy.AcceptChanges(); return((VwUserGroup)copy); }