return id field when executing SQL in LINQ
I’m trying to execute an SQL insert query using LINQ and returning the ID field. My code does not work, can anybody tell me if my syntax is wrong? string query = "insert into EnvironmentalReportDepts "; query += "(fkDeptID, OrderNumber, fkEnvironmentalReportID) "; query += "values(" +
... [read more]
Submit a review:
Login required.