title: How to backup and restore SQL Server in WPF with C# and Entity Framework
body: <p><a href="https://i.stack.imgur.com/hrlNK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hrlNK.png" alt="enter image description here"></a></p>
  
  <p>I am little bit confused - I am creating a Windows Presentation Foundation (WPF) application for my local client, and client wants a backup and restore database facility</p>
  
  <p>I am using SQL Server with Entity Framework using a database-first approach; language is C#.</p>
  
  <p>Please guide me how I can do this via C# code.</p>