コード例 #1
0
ファイル: World.cs プロジェクト: Meeyars/Noxus
 /// <summary>
 /// Deprecated Method for adding a new object to the Parties EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToParties(Party party)
 {
     base.AddObject("Parties", party);
 }
コード例 #2
0
ファイル: World.cs プロジェクト: Meeyars/Noxus
 /// <summary>
 /// Create a new Party object.
 /// </summary>
 /// <param name="charNo">Initial value of the CharNo property.</param>
 /// <param name="masterNo">Initial value of the MasterNo property.</param>
 /// <param name="partyNo">Initial value of the PartyNo property.</param>
 /// <param name="partyGroup">Initial value of the PartyGroup property.</param>
 public static Party CreateParty(global::System.Int32 charNo, global::System.Int32 masterNo, global::System.Int32 partyNo, global::System.Int32 partyGroup)
 {
     Party party = new Party();
     party.CharNo = charNo;
     party.MasterNo = masterNo;
     party.PartyNo = partyNo;
     party.PartyGroup = partyGroup;
     return party;
 }