Example #1
0
 /// <summary>
 /// 用于向 FactionViews EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToFactionViews(FactionView factionView)
 {
     base.AddObject("FactionViews", factionView);
 }
Example #2
0
 /// <summary>
 /// 创建新的 FactionView 对象。
 /// </summary>
 /// <param name="factionID">FactionID 属性的初始值。</param>
 /// <param name="factionName">FactionName 属性的初始值。</param>
 /// <param name="createTime">CreateTime 属性的初始值。</param>
 /// <param name="creator">Creator 属性的初始值。</param>
 /// <param name="state">State 属性的初始值。</param>
 /// <param name="areaNum">AreaNum 属性的初始值。</param>
 /// <param name="gameType">GameType 属性的初始值。</param>
 public static FactionView CreateFactionView(global::System.Int32 factionID, global::System.String factionName, global::System.DateTime createTime, global::System.Int32 creator, global::System.Int32 state, global::System.Int32 areaNum, global::System.Int32 gameType)
 {
     FactionView factionView = new FactionView();
     factionView.FactionID = factionID;
     factionView.FactionName = factionName;
     factionView.CreateTime = createTime;
     factionView.Creator = creator;
     factionView.State = state;
     factionView.AreaNum = areaNum;
     factionView.GameType = gameType;
     return factionView;
 }