/// <summary>
 /// 增加附属用户
 /// </summary>
 /// <param name="fsyhName">附属用户名</param>
 /// <param name="userID">主用户ID</param>
 /// <returns></returns>
 public string AddFsyh(string fsyhName,int userID)
 {
     var fsyh = new yhgl_fsyh
     {
         fsyh_name = fsyhName,
         user_id = userID
     };
     fsyhDB.yhgl_fsyh.InsertOnSubmit(fsyh);
     fsyhDB.SubmitChanges();
     return (from fy in fsyhDB.yhgl_fsyh
             where fy.fsyh_name == fsyhName
             where fy.user_id == userID
             select fy.fsyh_id).First().ToString();
 }
 partial void Deleteyhgl_fsyh(yhgl_fsyh instance);
 partial void Updateyhgl_fsyh(yhgl_fsyh instance);
 partial void Insertyhgl_fsyh(yhgl_fsyh instance);