public LadderMatchEntity Clone() { LadderMatchEntity entity = new LadderMatchEntity(); entity.Idx = this.Idx; entity.LadderId = this.LadderId; entity.HomeId = this.HomeId; entity.AwayId = this.AwayId; entity.HomeName = this.HomeName; entity.AwayName = this.AwayName; entity.HomeLadderScore = this.HomeLadderScore; entity.AwayLadderScore = this.AwayLadderScore; entity.HomeScore = this.HomeScore; entity.AwayScore = this.AwayScore; entity.HomeIsBot = this.HomeIsBot; entity.AwayIsBot = this.AwayIsBot; entity.GroupIndex = this.GroupIndex; entity.PrizeHomeScore = this.PrizeHomeScore; entity.PrizeAwayScore = this.PrizeAwayScore; entity.Status = this.Status; entity.RowTime = this.RowTime; entity.HomeCoin = this.HomeCoin; entity.HomeExp = this.HomeExp; entity.AwayCoin = this.AwayCoin; entity.AwayExp = this.AwayExp; return(entity); }