コード例 #1
0
 /// <summary>
 /// 更新家族成员信息
 /// </summary>
 public static bool GetUpdate(tg_family_member model)
 {
     try
     {
         Update(model);
         return(true);
     }
     catch { return(false); }
 }
コード例 #2
0
 /// <summary>插入家族成员实体</summary>
 public static bool GetInsert(tg_family_member model)
 {
     try
     {
         model.Insert();
         return(true);
     }
     catch { return(false); }
 }
コード例 #3
0
 public Player()
 {
     User = new tg_user();
     //Role = new view_role();
     Role   = new RoleItem();
     Scene  = new view_scene_user();
     Order  = new BusinessOrder();
     Bag    = new BagItem();
     Family = new tg_family_member();
     // PrisonPoint = new Prison_point();
     BlackList    = new List <long>();
     Position     = new Ninjutsu_position();
     moduleIds    = new List <int>();
     BusinessArea = new List <tg_user_area>();
     DamingLog    = new List <tg_daming_log>();
     Game         = new GameItem();
 }