Skip to content

Add DbFunctionParameter support for DbFunctions - #16182

Merged
smitpatel merged 1 commit into
masterfrom
smit/temp
Jun 21, 2019
Merged

smitpatel merged 1 commit into
masterfrom
smit/temp

Conversation

@smitpatel

Copy link
Copy Markdown
Contributor

Resolves #13752
Resolves #13782

Replaces #14990


IConventionDbFunctionParameterBuilder HasTypeMapping([CanBeNull] RelationalTypeMapping typeMapping, bool fromDataAnnotation = false);

bool CanSetTypeMapping([CanBeNull] RelationalTypeMapping typeMapping, bool fromDataAnnotation = false);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

XML docs? 😉

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

😢

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I can do the xml docs if you want.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yay!

/// This API supports the Entity Framework Core infrastructure and is not intended to be used
/// directly from your code. This API may change or be removed in future releases.
/// </summary>
public class DbFunctionTypeMappingConvention : IModelFinalizedConvention

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

XML docs

{
new IConventionDbFunction Parent { get; }

IConventionDbFunctionParameterBuilder Builder { get; }

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Docs

@smitpatel
smitpatel merged commit 7eb898a into master Jun 21, 2019
@ghost
ghost deleted the smit/temp branch June 21, 2019 01:16
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.

Add model validation to verify DbFunction's parameter types are mapped Add API to configure database types for DbFunction's parameters

4 participants