/// <summary> /// Deprecated Method for adding a new object to the Sports_MoneyLine EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSports_MoneyLine(Sports_MoneyLine sports_MoneyLine) { base.AddObject("Sports_MoneyLine", sports_MoneyLine); }
/// <summary> /// Create a new Sports_MoneyLine object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="matchID">Initial value of the MatchID property.</param> /// <param name="homePrice">Initial value of the HomePrice property.</param> /// <param name="awayPrice">Initial value of the AwayPrice property.</param> /// <param name="drawPrice">Initial value of the DrawPrice property.</param> /// <param name="lastUpdated">Initial value of the LastUpdated property.</param> /// <param name="isBestPrice">Initial value of the IsBestPrice property.</param> /// <param name="period">Initial value of the Period property.</param> public static Sports_MoneyLine CreateSports_MoneyLine(global::System.Int64 id, global::System.Int64 matchID, global::System.Decimal homePrice, global::System.Decimal awayPrice, global::System.Decimal drawPrice, global::System.DateTime lastUpdated, global::System.Boolean isBestPrice, global::System.String period) { Sports_MoneyLine sports_MoneyLine = new Sports_MoneyLine(); sports_MoneyLine.ID = id; sports_MoneyLine.MatchID = matchID; sports_MoneyLine.HomePrice = homePrice; sports_MoneyLine.AwayPrice = awayPrice; sports_MoneyLine.DrawPrice = drawPrice; sports_MoneyLine.LastUpdated = lastUpdated; sports_MoneyLine.IsBestPrice = isBestPrice; sports_MoneyLine.Period = period; return sports_MoneyLine; }