コード例 #1
0
 public ActionResult GetSingleCallDetail(int? isessionprofileid, string vServerName)
 {
     ViewBag.iSessionID = isessionprofileid.Value;
     using (WFMDBDataContext db = new WFMDBDataContext(string.Format(System.Configuration.ConfigurationManager.ConnectionStrings["SpecialConnection"].ConnectionString, DBServer)))
     {
         ISingleResult<tblSingleCallDetail> results = db.uspWFMGetSingleCallDetail(isessionprofileid, vServerName);
         return PartialView("SignleCallDetail", results.ToList());
     }
 }
コード例 #2
0
 public ActionResult GetSingleCallDetail(int?isessionprofileid, string vServerName)
 {
     ViewBag.iSessionID = isessionprofileid.Value;
     using (WFMDBDataContext db = new WFMDBDataContext(string.Format(System.Configuration.ConfigurationManager.ConnectionStrings["SpecialConnection"].ConnectionString, DBServer)))
     {
         ISingleResult <tblSingleCallDetail> results = db.uspWFMGetSingleCallDetail(isessionprofileid, vServerName);
         return(PartialView("SignleCallDetail", results.ToList()));
     }
 }