这是否insert sql statement
有等效的使用linq to sql
或如何编写插入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())