-
Notifications
You must be signed in to change notification settings - Fork 40
/
MaxLengthAttributeConvention.xml
138 lines (138 loc) · 13 KB
/
MaxLengthAttributeConvention.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<Type Name="MaxLengthAttributeConvention" FullName="Microsoft.EntityFrameworkCore.Metadata.Conventions.MaxLengthAttributeConvention">
<TypeSignature Language="C#" Value="public class MaxLengthAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<System.ComponentModel.DataAnnotations.MaxLengthAttribute>" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit MaxLengthAttributeConvention extends Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase`1<class System.ComponentModel.DataAnnotations.MaxLengthAttribute>" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0" />
<TypeSignature Language="DocId" Value="T:Microsoft.EntityFrameworkCore.Metadata.Conventions.MaxLengthAttributeConvention" />
<TypeSignature Language="VB.NET" Value="Public Class MaxLengthAttributeConvention
Inherits PropertyAttributeConventionBase(Of MaxLengthAttribute)" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0" />
<TypeSignature Language="F#" Value="type MaxLengthAttributeConvention = class
 inherit PropertyAttributeConventionBase<MaxLengthAttribute>" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0;efcore-6.0;efcore-7.0" />
<TypeSignature Language="C#" Value="public class MaxLengthAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<System.ComponentModel.DataAnnotations.MaxLengthAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention" FrameworkAlternate="efcore-8.0" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit MaxLengthAttributeConvention extends Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase`1<class System.ComponentModel.DataAnnotations.MaxLengthAttribute> implements class Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention, class Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention" FrameworkAlternate="efcore-8.0" />
<TypeSignature Language="VB.NET" Value="Public Class MaxLengthAttributeConvention
Inherits PropertyAttributeConventionBase(Of MaxLengthAttribute)
Implements IComplexPropertyAddedConvention" FrameworkAlternate="efcore-8.0" />
<TypeSignature Language="F#" Value="type MaxLengthAttributeConvention = class
 inherit PropertyAttributeConventionBase<MaxLengthAttribute>
 interface IComplexPropertyAddedConvention
 interface IConvention" FrameworkAlternate="efcore-8.0" />
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<System.ComponentModel.DataAnnotations.MaxLengthAttribute></BaseTypeName>
<BaseTypeArguments>
<BaseTypeArgument TypeParamName="TAttribute">System.ComponentModel.DataAnnotations.MaxLengthAttribute</BaseTypeArgument>
</BaseTypeArguments>
</Base>
<Interfaces>
<Interface FrameworkAlternate="efcore-8.0">
<InterfaceName>Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention</InterfaceName>
</Interface>
<Interface FrameworkAlternate="efcore-8.0">
<InterfaceName>Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<summary>
A convention that configures the maximum length based on the <see cref="T:System.ComponentModel.DataAnnotations.MaxLengthAttribute" /> applied on the property.
</summary>
<remarks>
See <see href="https://aka.ms/efcore-docs-conventions">Model building conventions</see> for more information and examples.
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public MaxLengthAttributeConvention (Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies dependencies);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies dependencies) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.Metadata.Conventions.MaxLengthAttributeConvention.#ctor(Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (dependencies As ProviderConventionSetBuilderDependencies)" />
<MemberSignature Language="F#" Value="new Microsoft.EntityFrameworkCore.Metadata.Conventions.MaxLengthAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies -> Microsoft.EntityFrameworkCore.Metadata.Conventions.MaxLengthAttributeConvention" Usage="new Microsoft.EntityFrameworkCore.Metadata.Conventions.MaxLengthAttributeConvention dependencies" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="dependencies" Type="Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies" />
</Parameters>
<Docs>
<param name="dependencies">Parameter object containing dependencies for this convention.</param>
<summary>
Creates a new instance of <see cref="T:Microsoft.EntityFrameworkCore.Metadata.Conventions.MaxLengthAttributeConvention" />.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ProcessPropertyAdded">
<MemberSignature Language="C#" Value="protected override void ProcessPropertyAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder propertyBuilder, System.ComponentModel.DataAnnotations.MaxLengthAttribute attribute, System.Reflection.MemberInfo clrMember, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext context);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void ProcessPropertyAdded(class Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder propertyBuilder, class System.ComponentModel.DataAnnotations.MaxLengthAttribute attribute, class System.Reflection.MemberInfo clrMember, class Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.Metadata.Conventions.MaxLengthAttributeConvention.ProcessPropertyAdded(Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder,System.ComponentModel.DataAnnotations.MaxLengthAttribute,System.Reflection.MemberInfo,Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub ProcessPropertyAdded (propertyBuilder As IConventionComplexPropertyBuilder, attribute As MaxLengthAttribute, clrMember As MemberInfo, context As IConventionContext)" />
<MemberSignature Language="F#" Value="override this.ProcessPropertyAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder * System.ComponentModel.DataAnnotations.MaxLengthAttribute * System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext -> unit" Usage="maxLengthAttributeConvention.ProcessPropertyAdded (propertyBuilder, attribute, clrMember, context)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="propertyBuilder" Type="Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder" Index="0" FrameworkAlternate="efcore-8.0" />
<Parameter Name="attribute" Type="System.ComponentModel.DataAnnotations.MaxLengthAttribute" Index="1" FrameworkAlternate="efcore-8.0" />
<Parameter Name="clrMember" Type="System.Reflection.MemberInfo" Index="2" FrameworkAlternate="efcore-8.0" />
<Parameter Name="context" Type="Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext" Index="3" FrameworkAlternate="efcore-8.0" />
</Parameters>
<Docs>
<param name="propertyBuilder">To be added.</param>
<param name="attribute">To be added.</param>
<param name="clrMember">To be added.</param>
<param name="context">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
<inheritdoc />
</Docs>
</Member>
<Member MemberName="ProcessPropertyAdded">
<MemberSignature Language="C#" Value="protected override void ProcessPropertyAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, System.ComponentModel.DataAnnotations.MaxLengthAttribute attribute, System.Reflection.MemberInfo clrMember, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext context);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void ProcessPropertyAdded(class Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, class System.ComponentModel.DataAnnotations.MaxLengthAttribute attribute, class System.Reflection.MemberInfo clrMember, class Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.Metadata.Conventions.MaxLengthAttributeConvention.ProcessPropertyAdded(Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder,System.ComponentModel.DataAnnotations.MaxLengthAttribute,System.Reflection.MemberInfo,Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext)" />
<MemberSignature Language="VB.NET" Value="Protected Overrides Sub ProcessPropertyAdded (propertyBuilder As IConventionPropertyBuilder, attribute As MaxLengthAttribute, clrMember As MemberInfo, context As IConventionContext)" />
<MemberSignature Language="F#" Value="override this.ProcessPropertyAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * System.ComponentModel.DataAnnotations.MaxLengthAttribute * System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext -> unit" Usage="maxLengthAttributeConvention.ProcessPropertyAdded (propertyBuilder, attribute, clrMember, context)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="propertyBuilder" Type="Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder" />
<Parameter Name="attribute" Type="System.ComponentModel.DataAnnotations.MaxLengthAttribute" />
<Parameter Name="clrMember" Type="System.Reflection.MemberInfo" />
<Parameter Name="context" Type="Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext" />
</Parameters>
<Docs>
<param name="propertyBuilder">The builder for the property.</param>
<param name="attribute">The attribute.</param>
<param name="clrMember">The member that has the attribute.</param>
<param name="context">Additional information associated with convention execution.</param>
<summary>
Called after a property is added to the entity type with an attribute on the associated CLR property or field.
</summary>
<remarks>To be added.</remarks>
<inheritdoc />
</Docs>
</Member>
</Members>
</Type>