1

Is there any function or method in linq to sql DataContext class for create data base backup in my specified path.

1 Answer 1

1

LINQ to SQL is a query Language it is used to Query Data not for Maintaining your Data

Sign up to request clarification or add additional context in comments.

3 Comments

but we can insert update and delete using Linq to Sql so why not make back up our database. This is a query available for backup our database "BACKUP DATABASE LA TO DISK='myDisk'".
@MayurDongre Query means to manipulate Data From Database weather it is accesing Data or Inseting Data From Database not to Maintain Backup Database so this Question does'nt belong to LINQ to SQL
So for that I have to craete stored procedure and call that procedure in Linq to Sql ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.