예제 #1
0
 public override void FillFromDataRow(DataRow dr)
 {
     this.SportID       = DbConvert.ToInt64(dr, "SportID");
     this.SvrSportID    = DbConvert.ToInt64(dr, "SvrSportID");
     this.BtrSportID    = DbConvert.ToNullableInt64(dr, "BtrSportID");
     this.DefaultName   = DbConvert.ToString(dr, "DefaultName");
     this.MultiStringID = DbConvert.ToInt64(dr, "MultiStringID");
     this.LastModified  = DbConvert.ToDateTime(dr, "LastModified");
 }
예제 #2
0
 public override void FillFromDataRow(DataRow dr)
 {
     this.MultiStringID      = DbConvert.ToInt64(dr, "MultiStringID");
     this.SvrMultiStringID   = DbConvert.ToInt64(dr, "SvrMultiStringID");
     this.MultiStringTag     = DbConvert.ToString(dr, "MultiStringTag");
     this.Comment            = DbConvert.ToString(dr, "Comment");
     this.MultiStringGroupID = DbConvert.ToNullableInt64(dr, "MultiStringGroupID");
     this.LastModified       = DbConvert.ToDateTime(dr, "LastModified");
 }
예제 #3
0
 public override void FillFromDataRow(DataRow dr)
 {
     this.StringId = DbConvert.ToInt64(dr, "string_id");
     this.Category = DbConvert.ToString(dr, "category");
     this.Tag      = DbConvert.ToString(dr, "tag");
     this.Language = DbConvert.ToString(dr, "language");
     this.UpdateId = DbConvert.ToInt64(dr, "update_id");
     this.ObjectId = DbConvert.ToNullableInt64(dr, "object_id");
     this.Text     = DbConvert.ToString(dr, "Text");
 }
예제 #4
0
        public override void FillFromDataRow(DataRow dr)
        {
            this.GroupId             = DbConvert.ToInt64(dr, "GroupId");
            this.ParentGroupId.Value = DbConvert.ToNullableInt64(dr, "ParentGroupId");
            this.SvrGroupId          = DbConvert.ToInt64(dr, "SvrGroupId");
            this.UpdateId            = DbConvert.ToInt64(dr, "UpdateId");
            this.Type          = DbConvert.ToString(dr, "Type");
            this.Sort.Value    = DbConvert.ToInt32(dr, "Sort");
            this.Active.Value  = DbConvert.ToBool(dr, "Active");
            this.ExternalState = DbConvert.ToString(dr, "ExternalState");

            EnsureExternalObjects();
        }
예제 #5
0
 public override void FillFromDataRow(System.Data.DataRow dr)
 {
     this.MatchId    = DbConvert.ToInt64(dr, "MatchId");
     this.BtrMatchId = DbConvert.ToInt64(dr, "BtrMatchId");
     this.TournamentGroupId.Value = DbConvert.ToNullableInt64(dr, "TournamentGroupId");
     this.CategoryGroupId.Value   = DbConvert.ToNullableInt64(dr, "CategoryGroupId");
     this.SportGroupId.Value      = DbConvert.ToNullableInt64(dr, "SportGroupId");
     this.StartDate.Value         = DbConvert.ToDateTimeSr(dr, "StartDate");
     this.IsLiveBet.Value         = DbConvert.ToInt32(dr, "IsLiveBet") > 0;
     this.HomeCompetitorId.Value  = DbConvert.ToInt64(dr, "HomeCompetitorId");
     this.AwayCompetitorId.Value  = DbConvert.ToInt64(dr, "AwayCompetitorId");
     this.Score.Value             = DbConvert.ToString(dr, "Score");
     this.UpdateId            = DbConvert.ToInt64(dr, "UpdateID");
     this.TeamWon             = DbConvert.ToString(dr, "TeamWon");
     this.ExtendedState.Value = DbConvert.ToString(dr, "ExtendedState");
 }
예제 #6
0
        public override void FillFromDataRow(DataRow dr)
        {
            this.CompetitorID    = DbConvert.ToInt64(dr, "CompetitorID");
            this.SvrCompetitorID = DbConvert.ToInt64(dr, "SvrCompetitorID");
            this.BtrCompetitorID = DbConvert.ToNullableInt64(dr, "BtrCompetitorID");
            this.IsLiveBet       = DbConvert.ToBool(dr, "IsLiveBet");
            this.DefaultName     = DbConvert.ToString(dr, "DefaultName");
            this.SportID         = DbConvert.ToNullableInt64(dr, "SportID");
            this.MultiStringID   = DbConvert.ToInt64(dr, "MultiStringID");
            this.CountryID       = DbConvert.ToNullableInt64(dr, "CountryID");
            this.LastModified    = DbConvert.ToDateTime(dr, "LastModified");

            try
            {
                this.BtrCompetitorID = DbConvert.ToInt64(dr, "BtrCompetitorID");
            }
            catch
            {
            }
        }
예제 #7
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");
 }