Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add property FbCommand.NamedParameters (#1161) #1164

Closed
wants to merge 7 commits into from
Closed

Add property FbCommand.NamedParameters (#1161) #1164

wants to merge 7 commits into from

Conversation

dant02
Copy link
Contributor

@dant02 dant02 commented Mar 2, 2024

Hi,

Are the property attributes correct?

Does the test tests the property properly?

Please let me know if you see an issue.

Thank you
Best regards
Daniel Trubač

Copy link
Member

@cincuranet cincuranet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same changes should go into FbBatchCommand as well.

@@ -198,6 +198,16 @@ public int FetchSize
}
}

/// <summary>
/// Gets collection of parameters parsed from the query text by <see cref="NamedParametersParser"/> during command prepare.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to mention NamedParametersParser. It's an implementation detail.

/// <summary>
/// Gets collection of parameters parsed from the query text by <see cref="NamedParametersParser"/> during command prepare.
/// </summary>
[Category("Data")]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed for getter-only properties. In fact it should be maybe hidden for designers.

/// Gets collection of parameters parsed from the query text by <see cref="NamedParametersParser"/> during command prepare.
/// </summary>
[Category("Data")]
[DefaultValue(new string[] { })]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed for getter-only properties. In fact it should be maybe hidden for designers.

@dant02 dant02 closed this by deleting the head repository Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants