You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -166,7 +166,7 @@ public Customer CreateCustomer(string firstName, string lastName)
166
166
167
167
The names values are passed as a parameter because they may come from an end user of the application and be subject to malicious input.
168
168
169
-
```
169
+
```sql
170
170
INSERT INTO [Customer] ([FirstName], [LastName])
171
171
OUTPUT INSERTED.[CustomerId]
172
172
VALUES (@p0, @p1)
@@ -186,19 +186,19 @@ When using APIs that accept a raw SQL string the API allows values to be easily
186
186
187
187
For example, the following code makes use of parameters for some end-user supplied strings when executing a raw SQL command against a database. The command is executed by dropping down to the ADO.NET `DbCommand` for the underlying data store.
0 commit comments