Subversion Repository Public Repository

ChrisCompleteCodeTrunk

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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
<?xml version="1.0"?>
<doc>
    <assembly>
        <name>Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore</name>
    </assembly>
    <members>
        <member name="T:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.AssemblyAttributeGenerator">
            <summary>
            Generates syntax tree to add custom attributes to the in-memory assembly
            Need to use this for adding the UserSecrets attribute to the assembly.
            </summary>
        </member>
        <member name="M:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.AssemblyAttributeGenerator.#ctor(System.Reflection.Assembly)">
            <summary>
            
            </summary>
            <param name="assembly">The original assembly used to check if it has the User secrets attribute</param>
        </member>
        <member name="M:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.AssemblyAttributeGenerator.GenerateAttributeSyntaxTree">
            <summary>
            Generates a syntax tree with the custom attribute for User Secrets.
            </summary>
            <returns></returns>
        </member>
        <member name="T:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.CodeModelMetadata">
            <summary>
            CodeModelMetadata is used to expose properties of a model
            without Entity type information
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.CodeModelMetadata.Navigations">
            <summary>
            Always returns empty array as there is no Entity type information
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.CodeModelMetadata.PrimaryKeys">
            <summary>
            Always return empty array as there is no Entity type information
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.CodeModelMetadata.Properties">
            <summary>
            Returns an array of properties that are bindable.
            (For eg. primitive types, strings, DateTime etc.)
            </summary>
        </member>
        <member name="T:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.ContextProcessingResult">
            <summary>
            Represents the result of obtaining EF metadata for a context and a model type.
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.ContextProcessingResult.ContextProcessingStatus">
            <summary>
            An enumeration representing what kind of processing was done for the
            given context name.
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.ContextProcessingResult.ModelMetadata">
            <summary>
            EF metadata to be used for generating views / controller code.
            </summary>
        </member>
        <member name="T:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.ContextProcessingStatus">
            <summary>
            Represents the status of EF DbContext processing.
            </summary>
        </member>
        <member name="F:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.ContextProcessingStatus.ContextAvailable">
            <summary>
            No edits were required to DbContext
            </summary>
        </member>
        <member name="F:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.ContextProcessingStatus.ContextAdded">
            <summary>
            A new context was created and succefully configured through DI.
            </summary>
        </member>
        <member name="F:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.ContextProcessingStatus.ContextAddedButRequiresConfig">
            <summary>
            A new context was created however requires some more configuration changes for DI to work.
            </summary>
        </member>
        <member name="F:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.ContextProcessingStatus.ContextEdited">
            <summary>
            A context was available but it was edited to add DbSet property.
            </summary>
        </member>
        <member name="M:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.EntityFrameworkModelProcessor.PersistSyntaxTree(Microsoft.CodeAnalysis.SyntaxTree)">
            <summary>
            Writes the DbContext to disk using the given Roslyn SyntaxTree.
            The method expects that SyntaxTree has a file path associated with it.
            Handles both writing a new file and editing an existing file.
            </summary>
            <param name="newTree"></param>
        </member>
        <member name="M:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.ICodeModelService.GetModelMetadata(Microsoft.VisualStudio.Web.CodeGeneration.ModelType)">
            <summary>
            Gets the metadata for a given model without using the Datacontext.
            Without the datacontext, the metadata will consist of no Navigations/ Primary keys.
            </summary>
            <param name="modelType">Model type for the EF metadata has to be returned.</param>
            <returns>Returns <see cref="T:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.ContextProcessingResult"/>.</returns>
        </member>
        <member name="M:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.IEntityFrameworkService.GetModelMetadata(System.String,Microsoft.VisualStudio.Web.CodeGeneration.ModelType,System.String)">
            <summary>
            Gets the EF metadata for given context and model.
            Method takes in full type name of context and if there is no context with that name,
            attempts to create one. When creating a context, the method also tries to modify Startup
            code to register the new context through DI.
            When the given context is available but there is no DbSet property of given model type
            context will be edited to add the property.
            The method throws exceptions if there are any errors running EF code to get the EF metadata.
            And no changes are written to disk.
            When the method successfully returned, it's guranteed to have ModelMetadata present
            in the return value. Before returning all the code edits are persisted to disk.
            </summary>
            <param name="dbContextFullTypeName">Full name (including namespace) of the context class.</param>
            <param name="modelTypeName">Model type for which the EF metadata has to be returned.</param>
            <param name="areaName">Name of the area on which scaffolding is being run. Used for generating path for new DbContext.</param>
            <returns>Returns <see cref="T:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.ContextProcessingResult"/>.</returns>
        </member>
        <member name="T:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.MessageStrings">
            <summary>
              A strongly-typed resource class, for looking up localized strings, etc.
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.MessageStrings.ResourceManager">
            <summary>
              Returns the cached ResourceManager instance used by this class.
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.MessageStrings.Culture">
            <summary>
              Overrides the current thread's CurrentUICulture property for all
              resource lookups using this strongly typed resource class.
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.MessageStrings.AddedDbContext">
            <summary>
              Looks up a localized string similar to Added DbContext : &apos;{0}&apos;.
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.MessageStrings.AdditionalSteps">
            <summary>
              Looks up a localized string similar to However there may be additional steps required for the generted code to work properly, refer to documentation &lt;forward_link&gt;..
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.MessageStrings.CompilingInMemory">
            <summary>
              Looks up a localized string similar to Attempting to compile the application in memory..
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.MessageStrings.CompilingWithAddedDbContext">
            <summary>
              Looks up a localized string similar to Attempting to compile the application in memory with the added DbContext..
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.MessageStrings.CompilingWithModifiedDbContext">
            <summary>
              Looks up a localized string similar to Attempting to compile the application in memory with the modified DbContext..
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.MessageStrings.DbContextCreationError">
            <summary>
              Looks up a localized string similar to There was an error creating a DbContext :{0}.
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.MessageStrings.DbContextCreationError_fileExists">
            <summary>
              Looks up a localized string similar to There was an error creating a DbContext, the file {0} already exists.
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.MessageStrings.DbContextCreationError_noTypeReturned">
            <summary>
              Looks up a localized string similar to There was an error creating/modifying a DbContext, there was no type returned after compiling the new assembly successfully.
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.MessageStrings.DbContextTypeNotFound">
            <summary>
              Looks up a localized string similar to Could not get the reflection type for DbContext : {0}.
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.MessageStrings.EFSqlServerPackageNotAvailable">
            <summary>
              Looks up a localized string similar to Please install the package &apos;Microsoft.EntityFrameworkCore.SqlServer&apos; and retry again..
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.MessageStrings.EnsureStartupClassExists">
            <summary>
              Looks up a localized string similar to Make sure there is a Startup class and a ConfigureServices method and Configuration property in it..
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.MessageStrings.FailedToCompileInMemory">
            <summary>
              Looks up a localized string similar to Failed to compile the project in memory: {0}.
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.MessageStrings.FailedToEditStartup">
            <summary>
              Looks up a localized string similar to Scaffolding failed to edit Startup class to register the new Context using Dependency Injection..
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.MessageStrings.GeneratingDbContext">
            <summary>
              Looks up a localized string similar to Generating a new DbContext class &apos;{0}&apos;.
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.MessageStrings.GettingEFMetadata">
            <summary>
              Looks up a localized string similar to Attempting to figure out the EntityFramework metadata for the model and DbContext: &apos;{0}&apos;.
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.MessageStrings.ModelTypeCouldNotBeAdded">
            <summary>
              Looks up a localized string similar to Could not add Model type &apos;{0}&apos; to DbContext &apos;{1}&apos;. Please make sure that &apos;{1}&apos; has a DbSet property for &apos;{0}&apos;..
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.MessageStrings.ModelTypeNotFound">
            <summary>
              Looks up a localized string similar to Could not get the reflection type for Model : {0}.
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.MessageStrings.NoEntityOfTypeInDbContext">
            <summary>
              Looks up a localized string similar to There is no entity type {0} on DbContext {1}.
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.MessageStrings.PrimaryKeyNotFound">
            <summary>
              Looks up a localized string similar to Primary key not found..
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.MessageStrings.ScaffoldingNeedsToRerun">
            <summary>
              Looks up a localized string similar to Scaffolding should be run again since it needs to reload the application with the added package reference - just run the previous command one more time..
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.MessageStrings.TemplateProcessingError">
            <summary>
              Looks up a localized string similar to There was an error running the template {0}: {1}.
            </summary>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.MessageStrings.TypeCastToDbContextFailed">
            <summary>
              Looks up a localized string similar to Instance of type {0} could not be cast to DbContext.
            </summary>
        </member>
        <member name="M:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.ModelMetadata.GetSortedProperties(Microsoft.EntityFrameworkCore.Metadata.IEntityType)">
            <summary>
            Sort properties according to reflection order.
            </summary>
            <param name="entityType"></param>
            <returns></returns>
        </member>
        <member name="P:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.ModelMetadata.Navigations">
            <summary>
            Only navigations that are dependent and has all properties defined
            in code (non-shadow properties) are returned as part of this.
            Typically this is used to create code for drop down lists
            to choose values from principal entity.
            </summary>
        </member>
        <member name="M:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.PropertyMetadata.#ctor(System.Reflection.PropertyInfo)">
            <summary>
            Use this constructor when the model is being used without datacontext.
            It will set the property as:
              Non primary 
              Non foreign key.
              Non autogenerated
              Writable
              Non Enum type
            </summary>
            <param name="property"></param>
        </member>
        <member name="M:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.RoslynCodeEditUtilities.AddUsingDirectiveIfNeeded(System.String,Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax)">
            <summary>
            Adds a using directive if one doesn't already exist at the top of file
            after existing using directives.
            
            Does not handle the scenarios where usings are defined within an inner node of
            given root node, ex, if the root node is CompilationUnit and usings are defined
            within a Namespace Declaration instead of top of the file, the new using is
            just added at the top of the file.
            </summary>
            <param name="namespaceName">The namespace to be added.</param>
            <param name="rootNode">Parent syntax node for which the childs are examined
            to see if a using with the given namespace already exists</param>
            <returns>A new syntax node containing the new using statement as an immediate
            child of given rootNode. If the using statement is already present, the rootNode
            is returned. Otherwise, a new statement is added at the end of existing
            usings and the new node is returned.</returns>
        </member>
        <member name="M:Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.TypeUtil.GetShortTypeName(System.Type)">
            <summary>
            An approach to get meaninful short type names for a given type in C#.
            Handles most known cases, refer to tests in TypeUtilTests.cs
            Other potential approach is to use CodeDom (CodeTypeReference)
            with the help of RegEx however
            CodeDom is not available in CoreClr and hence I chose this approach.
            Of course the method only works for C# language.
            </summary>
        </member>
    </members>
</doc>

Commits for ChrisCompleteCodeTrunk/ActionTireCo/packages/Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.2.1.0/lib/netstandard2.0/Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.xml

Diff revisions: vs.
Revision Author Commited Message
1 BBDSCHRIS picture BBDSCHRIS Wed 22 Aug, 2018 20:08:03 +0000