File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,19 +30,10 @@ public class InvokeSqlSeedCommand : AsyncPSCmdlet
3030 /// <b>-Seed:</b>
3131 /// Names of seeds to apply.
3232 /// </summary>
33- [ Parameter ( Position = 1 , Mandatory = true , ValueFromPipeline = true ) ]
33+ [ Parameter ( Position = 1 , Mandatory = true ) ]
3434 [ ValidateNotNullOrEmpty ]
3535 public string [ ] ? Seed { get ; set ; }
3636
37- /// <summary>
38- /// <b>-Define:</b>
39- /// SQLCMD preprocessor variables to define.
40- /// </summary>
41- [ Parameter ]
42- [ ValidateNotNull ]
43- [ AllowEmptyCollection ]
44- public Hashtable ? Define { get ; set ; }
45-
4637 /// <summary>
4738 /// <b>-Path:</b>
4839 /// Path to a directory containing seeds.
@@ -52,6 +43,15 @@ public class InvokeSqlSeedCommand : AsyncPSCmdlet
5243 [ ValidateNotNullOrEmpty ]
5344 public string ? Path { get ; set ; }
5445
46+ /// <summary>
47+ /// <b>-Define:</b>
48+ /// SQLCMD preprocessor variables to define.
49+ /// </summary>
50+ [ Parameter ]
51+ [ ValidateNotNull ]
52+ [ AllowEmptyCollection ]
53+ public Hashtable ? Define { get ; set ; }
54+
5555 /// <summary>
5656 /// <b>-MaxErrorCount:</b>
5757 /// Maximum count of errors to allow. If the count of errors exceeds
You can’t perform that action at this time.
0 commit comments