Skip to content

Commit 423931e

Browse files
cmeerensmoothdeveloper
authored andcommitted
Update faq.fsx
1 parent d8302ee commit 423931e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

docs/content/faq.fsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ echoOnly.Execute( x = (* must pass int value here *) 1)
3333
There is no way to pass NULL as value for parameter `@x` although the query knows how to handle it.
3434
3535
To resolve the issue specify `AllParametersOptional = true` as static parameter to type provider.
36-
It makes all parameters of type `option<_>` with default value `None`.
36+
It makes all parameters of type `option<_>`.
3737
3838
<div class="well well-small" style="margin:0px 70px 0px 20px;">
3939
@@ -53,10 +53,7 @@ let echoOr42 =
5353
// Pass parameter value. Specifying Some constructor is mandatrory.
5454
echoOr42.Execute( Some 1)
5555

56-
// Pass NULL by omitting parameter
57-
echoOr42.Execute()
58-
59-
//Pass NULL explicitly
56+
// Pass NULL
6057
echoOr42.Execute( x = None)
6158

6259
(**

0 commit comments

Comments
 (0)