Exemplo n.º 1
0
 public override void FillFromDataRow(DataRow dr)
 {
     this.TournamentID      = DbConvert.ToInt64(dr, "TournamentID");
     this.SvrTournamentID   = DbConvert.ToInt64(dr, "SvrTournamentID");
     this.DefaultName       = DbConvert.ToString(dr, "DefaultName");
     this.BtrTournamentID   = DbConvert.ToNullableInt64(dr, "BtrTournamentID");
     this.MultiStringID     = DbConvert.ToInt64(dr, "MultiStringID");
     this.SportID           = DbConvert.ToInt64(dr, "SportID");
     this.CategoryID        = DbConvert.ToNullableInt64(dr, "CategoryID");
     this.MaxStakeLigaLimit = DbConvert.ToNullableDecimal(dr, "MaxStakeLigaLimit");
     this.MaxStakeTipLimit  = DbConvert.ToNullableDecimal(dr, "MaxStakeTipLimit");
     this.MinCombination    = DbConvert.ToNullableInt32(dr, "MinCombination");
     this.Active            = DbConvert.ToBool(dr, "Active");
     this.LastModified      = DbConvert.ToDateTime(dr, "LastModified");
     this.TennisSet         = DbConvert.ToNullableInt32(dr, "TennisSets");
     this.ShowOnOddSheet    = DbConvert.ToBool(dr, "ShowOnOddSheet");
     this.Info         = DbConvert.ToString(dr, "Info");
     this.OutrightType = DbConvert.ToInt32(dr, "OutrightTyp");
     this.Sort         = DbConvert.ToInt32(dr, "Sort");
     this.IsLiveBet    = DbConvert.ToBool(dr, "IsLiveBet");
     this.IsLocked     = DbConvert.ToBool(dr, "IsLocked");
     this.LockWithAllOtherTournaments = DbConvert.ToBool(dr, "LockWithAllOtherTournaments");
 }