Does this insert sql statement
have a equivalent using linq to sql
or how to write the insert in linq to sql
?
INSERT INTO Table(FileId, FileTitle, Action, FileAsBinary, UploadDate)
Values(NEWID(), 'Hello World Title', 'Upload',(
SELECT * FROM OPENROWSET(
BULK 'C:\Files\Docs\TestDoc.docx',
SINGLE_BLOB) AS x), GetDate())