/
ConventionPropertyBaseExtensions.xml
143 lines (143 loc) · 12.8 KB
/
ConventionPropertyBaseExtensions.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
139
140
141
142
143
<Type Name="ConventionPropertyBaseExtensions" FullName="Microsoft.EntityFrameworkCore.ConventionPropertyBaseExtensions">
<TypeSignature Language="C#" Value="public static class ConventionPropertyBaseExtensions" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit ConventionPropertyBaseExtensions extends System.Object" />
<TypeSignature Language="DocId" Value="T:Microsoft.EntityFrameworkCore.ConventionPropertyBaseExtensions" />
<TypeSignature Language="VB.NET" Value="Public Module ConventionPropertyBaseExtensions" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0" />
<TypeSignature Language="F#" Value="type ConventionPropertyBaseExtensions = class" />
<TypeSignature Language="VB.NET" Value="Public Class ConventionPropertyBaseExtensions" FrameworkAlternate="efcore-6.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>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="efcore-6.0">
<AttributeName Language="C#">[System.Obsolete("Use IConventionPropertyBase")]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("Use IConventionPropertyBase")>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>
Extension methods for <see cref="T:Microsoft.EntityFrameworkCore.Metadata.IConventionPropertyBase" />.
</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="GetPropertyAccessModeConfigurationSource">
<MemberSignature Language="C#" Value="public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetPropertyAccessModeConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionPropertyBase property);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.Nullable`1<valuetype Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource> GetPropertyAccessModeConfigurationSource(class Microsoft.EntityFrameworkCore.Metadata.IConventionPropertyBase property) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.ConventionPropertyBaseExtensions.GetPropertyAccessModeConfigurationSource(Microsoft.EntityFrameworkCore.Metadata.IConventionPropertyBase)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function GetPropertyAccessModeConfigurationSource (property As IConventionPropertyBase) As Nullable(Of ConfigurationSource)" />
<MemberSignature Language="F#" Value="static member GetPropertyAccessModeConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionPropertyBase -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>" Usage="Microsoft.EntityFrameworkCore.ConventionPropertyBaseExtensions.GetPropertyAccessModeConfigurationSource property" />
<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>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="property" Type="Microsoft.EntityFrameworkCore.Metadata.IConventionPropertyBase" RefType="this" Index="0" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0" />
</Parameters>
<Docs>
<param name="property"> The property to find configuration source for. </param>
<summary>
Returns the configuration source for <see cref="M:Microsoft.EntityFrameworkCore.Metadata.IPropertyBase.GetPropertyAccessMode" />.
</summary>
<returns> The configuration source for <see cref="M:Microsoft.EntityFrameworkCore.Metadata.IPropertyBase.GetPropertyAccessMode" />. </returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SetField">
<MemberSignature Language="C#" Value="public static void SetField (this Microsoft.EntityFrameworkCore.Metadata.IConventionPropertyBase property, string fieldName, bool fromDataAnnotation = false);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void SetField(class Microsoft.EntityFrameworkCore.Metadata.IConventionPropertyBase property, string fieldName, bool fromDataAnnotation) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.ConventionPropertyBaseExtensions.SetField(Microsoft.EntityFrameworkCore.Metadata.IConventionPropertyBase,System.String,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Sub SetField (property As IConventionPropertyBase, fieldName As String, Optional fromDataAnnotation As Boolean = false)" />
<MemberSignature Language="F#" Value="static member SetField : Microsoft.EntityFrameworkCore.Metadata.IConventionPropertyBase * string * bool -> unit" Usage="Microsoft.EntityFrameworkCore.ConventionPropertyBaseExtensions.SetField (property, fieldName, fromDataAnnotation)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="property" Type="Microsoft.EntityFrameworkCore.Metadata.IConventionPropertyBase" RefType="this" Index="0" FrameworkAlternate="efcore-3.0;efcore-3.1" />
<Parameter Name="fieldName" Type="System.String" Index="1" FrameworkAlternate="efcore-3.0;efcore-3.1" />
<Parameter Name="fromDataAnnotation" Type="System.Boolean" Index="2" FrameworkAlternate="efcore-3.0;efcore-3.1" />
</Parameters>
<Docs>
<param name="property"> The property for which the backing field should be set. </param>
<param name="fieldName"> The name of the field to use. </param>
<param name="fromDataAnnotation"> Indicates whether the configuration was specified using a data annotation. </param>
<summary>
<para>
Sets the underlying CLR field that this property should use.
This may be <c>null</c> for shadow properties or if the backing field for the property is not known.
</para>
<para>
Backing fields are normally found by convention as described
here: http://go.microsoft.com/fwlink/?LinkId=723277.
This method is useful for setting backing fields explicitly in cases where the
correct field is not found by convention.
</para>
<para>
By default, the backing field, if one is found or has been specified, is used when
new objects are constructed, typically when entities are queried from the database.
Properties are used for all other accesses. This can be changed by calling
<see cref="M:Microsoft.EntityFrameworkCore.ConventionPropertyBaseExtensions.SetPropertyAccessMode(Microsoft.EntityFrameworkCore.Metadata.IConventionPropertyBase,System.Nullable{Microsoft.EntityFrameworkCore.PropertyAccessMode},System.Boolean)" />.
</para>
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SetPropertyAccessMode">
<MemberSignature Language="C#" Value="public static void SetPropertyAccessMode (this Microsoft.EntityFrameworkCore.Metadata.IConventionPropertyBase property, Microsoft.EntityFrameworkCore.PropertyAccessMode? propertyAccessMode, bool fromDataAnnotation = false);" FrameworkAlternate="efcore-3.0;efcore-3.1" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void SetPropertyAccessMode(class Microsoft.EntityFrameworkCore.Metadata.IConventionPropertyBase property, valuetype System.Nullable`1<valuetype Microsoft.EntityFrameworkCore.PropertyAccessMode> propertyAccessMode, bool fromDataAnnotation) cil managed" FrameworkAlternate="efcore-3.0;efcore-3.1" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.ConventionPropertyBaseExtensions.SetPropertyAccessMode(Microsoft.EntityFrameworkCore.Metadata.IConventionPropertyBase,System.Nullable{Microsoft.EntityFrameworkCore.PropertyAccessMode},System.Boolean)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Sub SetPropertyAccessMode (property As IConventionPropertyBase, propertyAccessMode As Nullable(Of PropertyAccessMode), Optional fromDataAnnotation As Boolean = false)" FrameworkAlternate="efcore-3.0;efcore-3.1" />
<MemberSignature Language="F#" Value="static member SetPropertyAccessMode : Microsoft.EntityFrameworkCore.Metadata.IConventionPropertyBase * Nullable<Microsoft.EntityFrameworkCore.PropertyAccessMode> * bool -> unit" Usage="Microsoft.EntityFrameworkCore.ConventionPropertyBaseExtensions.SetPropertyAccessMode (property, propertyAccessMode, fromDataAnnotation)" FrameworkAlternate="efcore-3.0;efcore-3.1" />
<MemberSignature Language="C#" Value="public static Microsoft.EntityFrameworkCore.PropertyAccessMode? SetPropertyAccessMode (this Microsoft.EntityFrameworkCore.Metadata.IConventionPropertyBase property, Microsoft.EntityFrameworkCore.PropertyAccessMode? propertyAccessMode, bool fromDataAnnotation = false);" FrameworkAlternate="efcore-5.0" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.Nullable`1<valuetype Microsoft.EntityFrameworkCore.PropertyAccessMode> SetPropertyAccessMode(class Microsoft.EntityFrameworkCore.Metadata.IConventionPropertyBase property, valuetype System.Nullable`1<valuetype Microsoft.EntityFrameworkCore.PropertyAccessMode> propertyAccessMode, bool fromDataAnnotation) cil managed" FrameworkAlternate="efcore-5.0" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function SetPropertyAccessMode (property As IConventionPropertyBase, propertyAccessMode As Nullable(Of PropertyAccessMode), Optional fromDataAnnotation As Boolean = false) As Nullable(Of PropertyAccessMode)" FrameworkAlternate="efcore-5.0" />
<MemberSignature Language="F#" Value="static member SetPropertyAccessMode : Microsoft.EntityFrameworkCore.Metadata.IConventionPropertyBase * Nullable<Microsoft.EntityFrameworkCore.PropertyAccessMode> * bool -> Nullable<Microsoft.EntityFrameworkCore.PropertyAccessMode>" Usage="Microsoft.EntityFrameworkCore.ConventionPropertyBaseExtensions.SetPropertyAccessMode (property, propertyAccessMode, fromDataAnnotation)" FrameworkAlternate="efcore-5.0" />
<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>
</AssemblyInfo>
<ReturnValue>
<ReturnType FrameworkAlternate="efcore-3.0;efcore-3.1">System.Void</ReturnType>
<ReturnType FrameworkAlternate="efcore-5.0">System.Nullable<Microsoft.EntityFrameworkCore.PropertyAccessMode></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="property" Type="Microsoft.EntityFrameworkCore.Metadata.IConventionPropertyBase" RefType="this" Index="0" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0" />
<Parameter Name="propertyAccessMode" Type="System.Nullable<Microsoft.EntityFrameworkCore.PropertyAccessMode>" Index="1" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0" />
<Parameter Name="fromDataAnnotation" Type="System.Boolean" Index="2" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0" />
</Parameters>
<Docs>
<param name="property"> The property for which to set the access mode. </param>
<param name="propertyAccessMode"> The <see cref="T:Microsoft.EntityFrameworkCore.PropertyAccessMode" />, or null to clear the mode set.</param>
<param name="fromDataAnnotation"> Indicates whether the configuration was specified using a data annotation. </param>
<summary>
Sets the <see cref="T:Microsoft.EntityFrameworkCore.PropertyAccessMode" /> to use for this property.
</summary>
<returns> The configured value. </returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>