title: How do I backup and restore a SQL Server database in C# using Entity Framework, use path on textbox in put
body: <p>I use C#, .net 4, Entity Framework and SQL Server 2012 in a project.</p>
  
  <p>I have no familiarity with backup and restore from database by Entity Framework. Please help me to write restore and backup code in Entity Framework use path on textbox in put. thanks!</p>