/// <summary> /// 添加医生明细信息 /// </summary> /// <param name="info"></param> /// <param name="error"></param> /// <returns></returns> public bool CreateAccountList(List<md_dr_account> list, out string error) { error = string.Empty; try { md_account_DA da = new md_account_DA(); da.CreateAccountList(list, out error); return true; } catch (Exception ex) { error += Share.BaseTool.FormatExceptionMessage(ex); return false; } }
/// <summary> /// 添加医生明细信息 /// </summary> /// <param name="info"></param> /// <param name="error"></param> /// <returns></returns> public md_dr_account CreateAccount(md_dr_account info, out string error) { error = string.Empty; try { md_account_DA da = new md_account_DA(); da.CreateAccount(info, out error); return info; } catch (Exception ex) { error += Share.BaseTool.FormatExceptionMessage(ex); return null; } }