Esempio n. 1
0
 /// <summary>
 /// 创建新的 BossKillWeapon 对象。
 /// </summary>
 /// <param name="bossKillWeaponID">BossKillWeaponID 属性的初始值。</param>
 /// <param name="weaponID">WeaponID 属性的初始值。</param>
 /// <param name="isSend">IsSend 属性的初始值。</param>
 /// <param name="creatTime">CreatTime 属性的初始值。</param>
 public static BossKillWeapon CreateBossKillWeapon(global::System.Int32 bossKillWeaponID, global::System.Int32 weaponID, global::System.Int32 isSend, global::System.DateTime creatTime)
 {
     BossKillWeapon bossKillWeapon = new BossKillWeapon();
     bossKillWeapon.BossKillWeaponID = bossKillWeaponID;
     bossKillWeapon.WeaponID = weaponID;
     bossKillWeapon.IsSend = isSend;
     bossKillWeapon.CreatTime = creatTime;
     return bossKillWeapon;
 }
Esempio n. 2
0
 /// <summary>
 /// 用于向 BossKillWeapons EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToBossKillWeapons(BossKillWeapon bossKillWeapon)
 {
     base.AddObject("BossKillWeapons", bossKillWeapon);
 }