コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PSV_MYBET EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPSV_MYBET(PSV_MYBET pSV_MYBET)
 {
     base.AddObject("PSV_MYBET", pSV_MYBET);
 }
コード例 #2
0
 /// <summary>
 /// Create a new PSV_MYBET object.
 /// </summary>
 /// <param name="sportName">Initial value of the SportName property.</param>
 /// <param name="leagueName">Initial value of the LeagueName property.</param>
 /// <param name="betId">Initial value of the BetId property.</param>
 /// <param name="isWon">Initial value of the IsWon property.</param>
 /// <param name="price">Initial value of the Price property.</param>
 /// <param name="stake">Initial value of the Stake property.</param>
 public static PSV_MYBET CreatePSV_MYBET(global::System.String sportName, global::System.String leagueName, global::System.Int64 betId, global::System.Boolean isWon, global::System.Decimal price, global::System.Decimal stake)
 {
     PSV_MYBET pSV_MYBET = new PSV_MYBET();
     pSV_MYBET.SportName = sportName;
     pSV_MYBET.LeagueName = leagueName;
     pSV_MYBET.BetId = betId;
     pSV_MYBET.IsWon = isWon;
     pSV_MYBET.Price = price;
     pSV_MYBET.Stake = stake;
     return pSV_MYBET;
 }