-
Notifications
You must be signed in to change notification settings - Fork 40
/
ForeignKeyExtensions.xml
196 lines (196 loc) · 13.9 KB
/
ForeignKeyExtensions.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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<Type Name="ForeignKeyExtensions" FullName="Microsoft.EntityFrameworkCore.ForeignKeyExtensions">
<TypeSignature Language="C#" Value="public static class ForeignKeyExtensions" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit ForeignKeyExtensions extends System.Object" />
<TypeSignature Language="DocId" Value="T:Microsoft.EntityFrameworkCore.ForeignKeyExtensions" />
<TypeSignature Language="VB.NET" Value="Public Module ForeignKeyExtensions" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0" />
<TypeSignature Language="F#" Value="type ForeignKeyExtensions = class" />
<TypeSignature Language="VB.NET" Value="Public Class ForeignKeyExtensions" 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 IReadOnlyForeignKey")]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("Use IReadOnlyForeignKey")>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>
Extension methods for <see cref="T:Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey" />.
</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="GetDependentKeyValueFactory<TKey>">
<MemberSignature Language="C#" Value="public static Microsoft.EntityFrameworkCore.ChangeTracking.IDependentKeyValueFactory<TKey> GetDependentKeyValueFactory<TKey> (this Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.EntityFrameworkCore.ChangeTracking.IDependentKeyValueFactory`1<!!TKey> GetDependentKeyValueFactory<TKey>(class Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.ForeignKeyExtensions.GetDependentKeyValueFactory``1(Microsoft.EntityFrameworkCore.Metadata.IForeignKey)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function GetDependentKeyValueFactory(Of TKey) (foreignKey As IForeignKey) As IDependentKeyValueFactory(Of TKey)" />
<MemberSignature Language="F#" Value="static member GetDependentKeyValueFactory : Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> Microsoft.EntityFrameworkCore.ChangeTracking.IDependentKeyValueFactory<'Key>" Usage="Microsoft.EntityFrameworkCore.ForeignKeyExtensions.GetDependentKeyValueFactory foreignKey" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.EntityFrameworkCore.ChangeTracking.IDependentKeyValueFactory<TKey></ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="TKey" />
</TypeParameters>
<Parameters>
<Parameter Name="foreignKey" Type="Microsoft.EntityFrameworkCore.Metadata.IForeignKey" RefType="this" Index="0" FrameworkAlternate="efcore-5.0" />
</Parameters>
<Docs>
<typeparam name="TKey"> The type of key instanceas. </typeparam>
<param name="foreignKey"> The <see cref="T:Microsoft.EntityFrameworkCore.Metadata.IForeignKey" /> for which a factory is needed. </param>
<summary>
<para>
Creates a factory for key values based on the foreign key values taken
from various forms of entity data.
</para>
<para>
This method is typically used by database providers (and other extensions). It is generally
not used in application code.
</para>
</summary>
<returns> A new factory. </returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetNavigation">
<MemberSignature Language="C#" Value="public static Microsoft.EntityFrameworkCore.Metadata.INavigation GetNavigation (this Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, bool pointsToPrincipal);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.EntityFrameworkCore.Metadata.INavigation GetNavigation(class Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, bool pointsToPrincipal) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.ForeignKeyExtensions.GetNavigation(Microsoft.EntityFrameworkCore.Metadata.IForeignKey,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function GetNavigation (foreignKey As IForeignKey, pointsToPrincipal As Boolean) As INavigation" />
<MemberSignature Language="F#" Value="static member GetNavigation : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * bool -> Microsoft.EntityFrameworkCore.Metadata.INavigation" Usage="Microsoft.EntityFrameworkCore.ForeignKeyExtensions.GetNavigation (foreignKey, pointsToPrincipal)" />
<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>Microsoft.EntityFrameworkCore.Metadata.INavigation</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="foreignKey" Type="Microsoft.EntityFrameworkCore.Metadata.IForeignKey" RefType="this" Index="0" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0" />
<Parameter Name="pointsToPrincipal" Type="System.Boolean" Index="1" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0" />
</Parameters>
<Docs>
<param name="foreignKey"> The foreign key. </param>
<param name="pointsToPrincipal">
A value indicating whether the navigation is on the dependent type pointing to the principal type.
</param>
<summary>
Returns a navigation associated with this foreign key.
</summary>
<returns>
A navigation associated with this foreign key or null.
</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetRelatedEntityType">
<MemberSignature Language="C#" Value="public static Microsoft.EntityFrameworkCore.Metadata.IEntityType GetRelatedEntityType (this Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.EntityFrameworkCore.Metadata.IEntityType GetRelatedEntityType(class Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, class Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.ForeignKeyExtensions.GetRelatedEntityType(Microsoft.EntityFrameworkCore.Metadata.IForeignKey,Microsoft.EntityFrameworkCore.Metadata.IEntityType)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function GetRelatedEntityType (foreignKey As IForeignKey, entityType As IEntityType) As IEntityType" />
<MemberSignature Language="F#" Value="static member GetRelatedEntityType : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IEntityType" Usage="Microsoft.EntityFrameworkCore.ForeignKeyExtensions.GetRelatedEntityType (foreignKey, entityType)" />
<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>Microsoft.EntityFrameworkCore.Metadata.IEntityType</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="foreignKey" Type="Microsoft.EntityFrameworkCore.Metadata.IForeignKey" RefType="this" Index="0" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0" />
<Parameter Name="entityType" Type="Microsoft.EntityFrameworkCore.Metadata.IEntityType" Index="1" FrameworkAlternate="efcore-3.0;efcore-3.1;efcore-5.0" />
</Parameters>
<Docs>
<param name="foreignKey"> The foreign key. </param>
<param name="entityType"> One of the entity types related by the foreign key. </param>
<summary>
Gets the entity type related to the given one.
</summary>
<returns> The entity type related to the given one. </returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="IsBaseLinking">
<MemberSignature Language="C#" Value="public static bool IsBaseLinking (this Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsBaseLinking(class Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.ForeignKeyExtensions.IsBaseLinking(Microsoft.EntityFrameworkCore.Metadata.IForeignKey)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function IsBaseLinking (foreignKey As IForeignKey) As Boolean" />
<MemberSignature Language="F#" Value="static member IsBaseLinking : Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> bool" Usage="Microsoft.EntityFrameworkCore.ForeignKeyExtensions.IsBaseLinking foreignKey" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="foreignKey" Type="Microsoft.EntityFrameworkCore.Metadata.IForeignKey" RefType="this" Index="0" FrameworkAlternate="efcore-5.0" />
</Parameters>
<Docs>
<param name="foreignKey"> The foreign key. </param>
<summary>
Returns a value indicating whether the foreign key is defined on the primary key and pointing to the same primary key.
</summary>
<returns> A value indicating whether the foreign key is defined on the primary key and pointing to the same primary key. </returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ToDebugString">
<MemberSignature Language="C#" Value="public static string ToDebugString (this Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.MetadataDebugStringOptions options, int indent = 0);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string ToDebugString(class Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, valuetype Microsoft.EntityFrameworkCore.Infrastructure.MetadataDebugStringOptions options, int32 indent) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.EntityFrameworkCore.ForeignKeyExtensions.ToDebugString(Microsoft.EntityFrameworkCore.Metadata.IForeignKey,Microsoft.EntityFrameworkCore.Infrastructure.MetadataDebugStringOptions,System.Int32)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function ToDebugString (foreignKey As IForeignKey, options As MetadataDebugStringOptions, Optional indent As Integer = 0) As String" />
<MemberSignature Language="F#" Value="static member ToDebugString : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.MetadataDebugStringOptions * int -> string" Usage="Microsoft.EntityFrameworkCore.ForeignKeyExtensions.ToDebugString (foreignKey, options, indent)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.EntityFrameworkCore</AssemblyName>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="foreignKey" Type="Microsoft.EntityFrameworkCore.Metadata.IForeignKey" RefType="this" Index="0" FrameworkAlternate="efcore-5.0" />
<Parameter Name="options" Type="Microsoft.EntityFrameworkCore.Infrastructure.MetadataDebugStringOptions" Index="1" FrameworkAlternate="efcore-5.0" />
<Parameter Name="indent" Type="System.Int32" Index="2" FrameworkAlternate="efcore-5.0" />
</Parameters>
<Docs>
<param name="foreignKey"> The metadata item. </param>
<param name="options"> Options for generating the string. </param>
<param name="indent"> The number of indent spaces to use before each new line. </param>
<summary>
<para>
Creates a human-readable representation of the given metadata.
</para>
<para>
Warning: Do not rely on the format of the returned string.
It is designed for debugging only and may change arbitrarily between releases.
</para>
</summary>
<returns> A human-readable representation. </returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>