Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. metadata=res://*/Dev.csdl|res://*/Dev.ssdl|res://*/Dev.msl;
  2. provider=System.Data.SqlClient;
  3. provider connection string='
  4. data source={IP};initial catalog={DBName};
  5. persist security info=True;
  6. user id={User};password={PW};
  7. MultipleActiveResultSets=True;
  8. App=EntityFramework'
  9.  
  10. data source={IP};initial catalog={DBName};persist security info=True;user id={User};password={PW};
  11.  
  12. DevEntities db = new DevEntities();
  13.  
  14. var lstAcAccount = db.AcAccounts.ToList();
  15.  
  16. return req.CreateResponse(HttpStatusCode.OK, lstAcAccount);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement