1 |
|
<?xml version="1.0"?>
|
2 |
|
<doc>
|
3 |
|
<assembly>
|
4 |
|
<name>EntityFramework</name>
|
5 |
|
</assembly>
|
6 |
|
<members>
|
7 |
|
<member name="T:System.ComponentModel.DataAnnotations.Schema.ColumnAttribute">
|
8 |
|
<summary>
|
9 |
|
Specifies the database column that a property is mapped to.
|
10 |
|
</summary>
|
11 |
|
</member>
|
12 |
|
<member name="M:System.ComponentModel.DataAnnotations.Schema.ColumnAttribute.#ctor">
|
13 |
|
<summary>
|
14 |
|
Initializes a new instance of the <see cref="T:System.ComponentModel.DataAnnotations.Schema.ColumnAttribute"/> class.
|
15 |
|
</summary>
|
16 |
|
</member>
|
17 |
|
<member name="M:System.ComponentModel.DataAnnotations.Schema.ColumnAttribute.#ctor(System.String)">
|
18 |
|
<summary>
|
19 |
|
Initializes a new instance of the <see cref="T:System.ComponentModel.DataAnnotations.Schema.ColumnAttribute"/> class.
|
20 |
|
</summary>
|
21 |
|
<param name="name">The name of the column the property is mapped to.</param>
|
22 |
|
</member>
|
23 |
|
<member name="P:System.ComponentModel.DataAnnotations.Schema.ColumnAttribute.Name">
|
24 |
|
<summary>
|
25 |
|
The name of the column the property is mapped to.
|
26 |
|
</summary>
|
27 |
|
</member>
|
28 |
|
<member name="P:System.ComponentModel.DataAnnotations.Schema.ColumnAttribute.Order">
|
29 |
|
<summary>
|
30 |
|
The zero-based order of the column the property is mapped to.
|
31 |
|
</summary>
|
32 |
|
</member>
|
33 |
|
<member name="P:System.ComponentModel.DataAnnotations.Schema.ColumnAttribute.TypeName">
|
34 |
|
<summary>
|
35 |
|
The database provider specific data type of the column the property is mapped to.
|
36 |
|
</summary>
|
37 |
|
</member>
|
38 |
|
<member name="T:System.ComponentModel.DataAnnotations.Schema.ComplexTypeAttribute">
|
39 |
|
<summary>
|
40 |
|
Denotes that the class is a complex type.
|
41 |
|
Complex types are non-scalar properties of entity types that enable scalar properties to be organized within entities.
|
42 |
|
Complex types do not have keys and cannot be managed by the Entity Framework apart from the parent object.
|
43 |
|
</summary>
|
44 |
|
</member>
|
45 |
|
<member name="T:System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute">
|
46 |
|
<summary>
|
47 |
|
Specifies how the database generates values for a property.
|
48 |
|
</summary>
|
49 |
|
</member>
|
50 |
|
<member name="M:System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute.#ctor(System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption)">
|
51 |
|
<summary>
|
52 |
|
Initializes a new instance of the <see cref="T:System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute"/> class.
|
53 |
|
</summary>
|
54 |
|
<param name="databaseGeneratedOption">The pattern used to generate values for the property in the database.</param>
|
55 |
|
</member>
|
56 |
|
<member name="P:System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute.DatabaseGeneratedOption">
|
57 |
|
<summary>
|
58 |
|
The pattern used to generate values for the property in the database.
|
59 |
|
</summary>
|
60 |
|
</member>
|
61 |
|
<member name="T:System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption">
|
62 |
|
<summary>
|
63 |
|
The pattern used to generate values for a property in the database.
|
64 |
|
</summary>
|
65 |
|
</member>
|
66 |
|
<member name="F:System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption.None">
|
67 |
|
<summary>
|
68 |
|
The database does not generate values.
|
69 |
|
</summary>
|
70 |
|
</member>
|
71 |
|
<member name="F:System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption.Identity">
|
72 |
|
<summary>
|
73 |
|
The database generates a value when a row is inserted.
|
74 |
|
</summary>
|
75 |
|
</member>
|
76 |
|
<member name="F:System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption.Computed">
|
77 |
|
<summary>
|
78 |
|
The database generates a value when a row is inserted or updated.
|
79 |
|
</summary>
|
80 |
|
</member>
|
81 |
|
<member name="T:System.ComponentModel.DataAnnotations.Schema.ForeignKeyAttribute">
|
82 |
|
<summary>
|
83 |
|
Denotes a property used as a foreign key in a relationship.
|
84 |
|
The annotation may be placed on the foreign key property and specify the associated navigation property name,
|
85 |
|
or placed on a navigation property and specify the associated foreign key name.
|
86 |
|
</summary>
|
87 |
|
</member>
|
88 |
|
<member name="M:System.ComponentModel.DataAnnotations.Schema.ForeignKeyAttribute.#ctor(System.String)">
|
89 |
|
<summary>
|
90 |
|
Initializes a new instance of the <see cref="T:System.ComponentModel.DataAnnotations.Schema.ForeignKeyAttribute"/> class.
|
91 |
|
</summary>
|
92 |
|
<param name="name">
|
93 |
|
If placed on a foreign key property, the name of the associated navigation property.
|
94 |
|
If placed on a navigation property, the name of the associated foreign key(s).
|
95 |
|
If a navigation property has multiple foreign keys, a comma separated list should be supplied.
|
96 |
|
</param>
|
97 |
|
</member>
|
98 |
|
<member name="P:System.ComponentModel.DataAnnotations.Schema.ForeignKeyAttribute.Name">
|
99 |
|
<summary>
|
100 |
|
If placed on a foreign key property, the name of the associated navigation property.
|
101 |
|
If placed on a navigation property, the name of the associated foreign key(s).
|
102 |
|
</summary>
|
103 |
|
</member>
|
104 |
|
<member name="T:System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute">
|
105 |
|
<summary>
|
106 |
|
Specifies the inverse of a navigation property that represents the other end of the same relationship.
|
107 |
|
</summary>
|
108 |
|
</member>
|
109 |
|
<member name="M:System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute.#ctor(System.String)">
|
110 |
|
<summary>
|
111 |
|
Initializes a new instance of the <see cref="T:System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute"/> class.
|
112 |
|
</summary>
|
113 |
|
<param name="property">The navigation property representing the other end of the same relationship.</param>
|
114 |
|
</member>
|
115 |
|
<member name="P:System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute.Property">
|
116 |
|
<summary>
|
117 |
|
The navigation property representing the other end of the same relationship.
|
118 |
|
</summary>
|
119 |
|
</member>
|
120 |
|
<member name="T:System.ComponentModel.DataAnnotations.MaxLengthAttribute">
|
121 |
|
<summary>
|
122 |
|
Specifies the maximum length of array/string data allowed in a property.
|
123 |
|
</summary>
|
124 |
|
</member>
|
125 |
|
<member name="M:System.ComponentModel.DataAnnotations.MaxLengthAttribute.#ctor(System.Int32)">
|
126 |
|
<summary>
|
127 |
|
Initializes a new instance of the <see cref="T:System.ComponentModel.DataAnnotations.MaxLengthAttribute"/> class.
|
128 |
|
</summary>
|
129 |
|
<param name="length">
|
130 |
|
The maximum allowable length of array/string data.
|
131 |
|
Value must be greater than zero.
|
132 |
|
</param>
|
133 |
|
</member>
|
134 |
|
<member name="M:System.ComponentModel.DataAnnotations.MaxLengthAttribute.#ctor">
|
135 |
|
<summary>
|
136 |
|
Initializes a new instance of the <see cref="T:System.ComponentModel.DataAnnotations.MaxLengthAttribute"/> class.
|
137 |
|
The maximum allowable length supported by the database will be used.
|
138 |
|
</summary>
|
139 |
|
</member>
|
140 |
|
<member name="M:System.ComponentModel.DataAnnotations.MaxLengthAttribute.IsValid(System.Object)">
|
141 |
|
<summary>
|
142 |
|
Determines whether a specified object is valid. (Overrides <see cref="M:System.ComponentModel.DataAnnotations.ValidationAttribute.IsValid(System.Object)"/>)
|
143 |
|
</summary>
|
144 |
|
<remarks>
|
145 |
|
This method returns <c>true</c> if the <paramref name="value"/> is null.
|
146 |
|
It is assumed the <see cref="T:System.ComponentModel.DataAnnotations.RequiredAttribute"/> is used if the value may not be null.
|
147 |
|
</remarks>
|
148 |
|
<param name="value">The object to validate.</param>
|
149 |
|
<returns><c>true</c> if the value is null or less than or equal to the specified maximum length, otherwise <c>false</c></returns>
|
150 |
|
<exception cref="T:System.InvalidOperationException">Length is zero or less than negative one.</exception>
|
151 |
|
</member>
|
152 |
|
<member name="M:System.ComponentModel.DataAnnotations.MaxLengthAttribute.FormatErrorMessage(System.String)">
|
153 |
|
<summary>
|
154 |
|
Applies formatting to a specified error message. (Overrides <see cref="M:System.ComponentModel.DataAnnotations.ValidationAttribute.FormatErrorMessage(System.String)"/>)
|
155 |
|
</summary>
|
156 |
|
<param name="name">The name to include in the formatted string.</param>
|
157 |
|
<returns>A localized string to describe the maximum acceptable length.</returns>
|
158 |
|
</member>
|
159 |
|
<member name="M:System.ComponentModel.DataAnnotations.MaxLengthAttribute.EnsureLegalLengths">
|
160 |
|
<summary>
|
161 |
|
Checks that Length has a legal value. Throws InvalidOperationException if not.
|
162 |
|
</summary>
|
163 |
|
</member>
|
164 |
|
<member name="P:System.ComponentModel.DataAnnotations.MaxLengthAttribute.Length">
|
165 |
|
<summary>
|
166 |
|
Gets the maximum allowable length of the array/string data.
|
167 |
|
</summary>
|
168 |
|
</member>
|
169 |
|
<member name="T:System.ComponentModel.DataAnnotations.MinLengthAttribute">
|
170 |
|
<summary>
|
171 |
|
Specifies the minimum length of array/string data allowed in a property.
|
172 |
|
</summary>
|
173 |
|
</member>
|
174 |
|
<member name="M:System.ComponentModel.DataAnnotations.MinLengthAttribute.#ctor(System.Int32)">
|
175 |
|
<summary>
|
176 |
|
Initializes a new instance of the <see cref="T:System.ComponentModel.DataAnnotations.MinLengthAttribute"/> class.
|
177 |
|
</summary>
|
178 |
|
<param name="length">
|
179 |
|
The minimum allowable length of array/string data.
|
180 |
|
Value must be greater than or equal to zero.
|
181 |
|
</param>
|
182 |
|
</member>
|
183 |
|
<member name="M:System.ComponentModel.DataAnnotations.MinLengthAttribute.IsValid(System.Object)">
|
184 |
|
<summary>
|
185 |
|
Determines whether a specified object is valid. (Overrides <see cref="M:System.ComponentModel.DataAnnotations.ValidationAttribute.IsValid(System.Object)"/>)
|
186 |
|
</summary>
|
187 |
|
<remarks>
|
188 |
|
This method returns <c>true</c> if the <paramref name="value"/> is null.
|
189 |
|
It is assumed the <see cref="T:System.ComponentModel.DataAnnotations.RequiredAttribute"/> is used if the value may not be null.
|
190 |
|
</remarks>
|
191 |
|
<param name="value">The object to validate.</param>
|
192 |
|
<returns><c>true</c> if the value is null or greater than or equal to the specified minimum length, otherwise <c>false</c></returns>
|
193 |
|
<exception cref="T:System.InvalidOperationException">Length is less than zero.</exception>
|
194 |
|
</member>
|
195 |
|
<member name="M:System.ComponentModel.DataAnnotations.MinLengthAttribute.FormatErrorMessage(System.String)">
|
196 |
|
<summary>
|
197 |
|
Applies formatting to a specified error message. (Overrides <see cref="M:System.ComponentModel.DataAnnotations.ValidationAttribute.FormatErrorMessage(System.String)"/>)
|
198 |
|
</summary>
|
199 |
|
<param name="name">The name to include in the formatted string.</param>
|
200 |
|
<returns>A localized string to describe the minimum acceptable length.</returns>
|
201 |
|
</member>
|
202 |
|
<member name="M:System.ComponentModel.DataAnnotations.MinLengthAttribute.EnsureLegalLengths">
|
203 |
|
<summary>
|
204 |
|
Checks that Length has a legal value. Throws InvalidOperationException if not.
|
205 |
|
</summary>
|
206 |
|
</member>
|
207 |
|
<member name="P:System.ComponentModel.DataAnnotations.MinLengthAttribute.Length">
|
208 |
|
<summary>
|
209 |
|
Gets the minimum allowable length of the array/string data.
|
210 |
|
</summary>
|
211 |
|
</member>
|
212 |
|
<member name="T:System.ComponentModel.DataAnnotations.Schema.NotMappedAttribute">
|
213 |
|
<summary>
|
214 |
|
Denotes that a property or class should be excluded from database mapping.
|
215 |
|
</summary>
|
216 |
|
</member>
|
217 |
|
<member name="T:System.ComponentModel.DataAnnotations.Schema.TableAttribute">
|
218 |
|
<summary>
|
219 |
|
Specifies the database table that a class is mapped to.
|
220 |
|
</summary>
|
221 |
|
</member>
|
222 |
|
<member name="M:System.ComponentModel.DataAnnotations.Schema.TableAttribute.#ctor(System.String)">
|
223 |
|
<summary>
|
224 |
|
Initializes a new instance of the <see cref="T:System.ComponentModel.DataAnnotations.Schema.TableAttribute"/> class.
|
225 |
|
</summary>
|
226 |
|
<param name="name">The name of the table the class is mapped to.</param>
|
227 |
|
</member>
|
228 |
|
<member name="P:System.ComponentModel.DataAnnotations.Schema.TableAttribute.Name">
|
229 |
|
<summary>
|
230 |
|
The name of the table the class is mapped to.
|
231 |
|
</summary>
|
232 |
|
</member>
|
233 |
|
<member name="P:System.ComponentModel.DataAnnotations.Schema.TableAttribute.Schema">
|
234 |
|
<summary>
|
235 |
|
The schema of the table the class is mapped to.
|
236 |
|
</summary>
|
237 |
|
</member>
|
238 |
|
<member name="T:System.Data.Entity.Edm.EdmDataModelType">
|
239 |
|
<summary>
|
240 |
|
The base for all all Entity Data Model (EDM) types that represent a type from the EDM type system.
|
241 |
|
</summary>
|
242 |
|
</member>
|
243 |
|
<member name="T:System.Data.Entity.Edm.EdmNamespaceItem">
|
244 |
|
<summary>
|
245 |
|
Represents an item in an Entity Data Model (EDM) <see cref="T:System.Data.Entity.Edm.EdmNamespace"/> .
|
246 |
|
</summary>
|
247 |
|
</member>
|
248 |
|
<member name="T:System.Data.Entity.Edm.EdmQualifiedNameMetadataItem">
|
249 |
|
<summary>
|
250 |
|
The base for all all Entity Data Model (EDM) item types that with a Name property that represents a qualified (can be dotted) name.
|
251 |
|
</summary>
|
252 |
|
</member>
|
253 |
|
<member name="T:System.Data.Entity.Edm.EdmNamedMetadataItem">
|
254 |
|
<summary>
|
255 |
|
The base for all all Entity Data Model (EDM) item types that with a <see cref="P:System.Data.Entity.Edm.EdmNamedMetadataItem.Name"/> property.
|
256 |
|
</summary>
|
257 |
|
</member>
|
258 |
|
<member name="T:System.Data.Entity.Edm.EdmMetadataItem">
|
259 |
|
<summary>
|
260 |
|
The base for all all Entity Data Model (EDM) types that support annotation using <see cref="T:System.Data.Entity.Edm.Common.DataModelAnnotation"/> .
|
261 |
|
</summary>
|
262 |
|
</member>
|
263 |
|
<member name="T:System.Data.Entity.Edm.EdmDataModelItem">
|
264 |
|
<summary>
|
265 |
|
EdmDataModelItem is the base for all types in the Entity Data Model (EDM) metadata construction and modification API.
|
266 |
|
</summary>
|
267 |
|
</member>
|
268 |
|
<member name="T:System.Data.Entity.Edm.Common.DataModelItem">
|
269 |
|
<summary>
|
270 |
|
DataModelItem is the base for all types in the EDM metadata reflection, construction and modification API.
|
271 |
|
</summary>
|
272 |
|
</member>
|
273 |
|
<member name="P:System.Data.Entity.Edm.EdmDataModelItem.ItemKind">
|
274 |
|
<summary>
|
275 |
|
Gets an <see cref="T:System.Data.Entity.Edm.EdmItemKind"/> value indicating which Entity Data Model (EDM) concept is represented by this item.
|
276 |
|
</summary>
|
277 |
|
</member>
|
278 |
|
<member name="T:System.Data.Entity.Edm.Common.IAnnotatedDataModelItem">
|
279 |
|
<summary>
|
280 |
|
IAnnotatedDataModelItem is implemented by model-specific base types for all types with an <see cref="P:System.Data.Entity.Edm.Common.IAnnotatedDataModelItem.Annotations"/> property. <seealso cref="T:System.Data.Entity.Edm.EdmDataModelItem"/>
|
281 |
|
</summary>
|
282 |
|
</member>
|
283 |
|
<member name="P:System.Data.Entity.Edm.Common.IAnnotatedDataModelItem.Annotations">
|
284 |
|
<summary>
|
285 |
|
Gets or sets the currently assigned annotations.
|
286 |
|
</summary>
|
287 |
|
</member>
|
288 |
|
<member name="P:System.Data.Entity.Edm.EdmMetadataItem.Annotations">
|
289 |
|
<summary>
|
290 |
|
Gets or sets the currently assigned annotations.
|
291 |
|
</summary>
|
292 |
|
</member>
|
293 |
|
<member name="P:System.Data.Entity.Edm.EdmMetadataItem.ChildItems">
|
294 |
|
<summary>
|
295 |
|
Returns all EdmItem children directly contained by this EdmItem.
|
296 |
|
</summary>
|
297 |
|
</member>
|
298 |
|
<member name="T:System.Data.Entity.Edm.Common.INamedDataModelItem">
|
299 |
|
<summary>
|
300 |
|
INamedDataModelItem is implemented by model-specific base types for all types with a <see cref="P:System.Data.Entity.Edm.Common.INamedDataModelItem.Name"/> property. <seealso cref="T:System.Data.Entity.Edm.EdmNamedMetadataItem"/>
|
301 |
|
</summary>
|
302 |
|
</member>
|
303 |
|
<member name="P:System.Data.Entity.Edm.Common.INamedDataModelItem.Name">
|
304 |
|
<summary>
|
305 |
|
Gets or sets the currently assigned name.
|
306 |
|
</summary>
|
307 |
|
</member>
|
308 |
|
<member name="P:System.Data.Entity.Edm.EdmNamedMetadataItem.Name">
|
309 |
|
<summary>
|
310 |
|
Gets or sets the currently assigned name.
|
311 |
|
</summary>
|
312 |
|
</member>
|
313 |
|
<member name="P:System.Data.Entity.Edm.EdmDataModelType.IsAbstract">
|
314 |
|
<summary>
|
315 |
|
Gets a value indicating whether this type is abstract.
|
316 |
|
</summary>
|
317 |
|
</member>
|
318 |
|
<member name="P:System.Data.Entity.Edm.EdmDataModelType.BaseType">
|
319 |
|
<summary>
|
320 |
|
Gets the optional base type of this type.
|
321 |
|
</summary>
|
322 |
|
</member>
|
323 |
|
<member name="T:System.Data.Entity.Edm.EdmStructuralMember">
|
324 |
|
<summary>
|
325 |
|
EdmStructuralMember is the base for all types that represent members of structural items in the Entity Data Model (EDM) metadata construction and modification API.
|
326 |
|
</summary>
|
327 |
|
</member>
|
328 |
|
<member name="T:System.Data.Entity.Infrastructure.DbConnectionInfo">
|
329 |
|
<summary>
|
330 |
|
Represents information about a database connection.
|
331 |
|
</summary>
|
332 |
|
</member>
|
333 |
|
<member name="M:System.Data.Entity.Infrastructure.DbConnectionInfo.#ctor(System.String)">
|
334 |
|
<summary>
|
335 |
|
Creates a new instance of DbConnectionInfo representing a connection that is specified in the application configuration file.
|
336 |
|
</summary>
|
337 |
|
<param name = "connectionName">The name of the connection string in the application configuration.</param>
|
338 |
|
</member>
|
339 |
|
<member name="M:System.Data.Entity.Infrastructure.DbConnectionInfo.#ctor(System.String,System.String)">
|
340 |
|
<summary>
|
341 |
|
Creates a new instance of DbConnectionInfo based on a connection string.
|
342 |
|
</summary>
|
343 |
|
<param name = "connectionString">The connection string to use for the connection.</param>
|
344 |
|
<param name = "providerInvariantName">The name of the provider to use for the connection. Use 'System.Data.SqlClient' for SQL Server.</param>
|
345 |
|
</member>
|
346 |
|
<member name="M:System.Data.Entity.Infrastructure.DbConnectionInfo.GetConnectionString(System.Data.Entity.Internal.AppConfig)">
|
347 |
|
<summary>
|
348 |
|
Gets the connection information represented by this instance.
|
349 |
|
</summary>
|
350 |
|
<param name = "config">Configuration to use if connection comes from the configuration file.</param>
|
351 |
|
</member>
|
352 |
|
<member name="T:System.Data.Entity.Infrastructure.LocalDbConnectionFactory">
|
353 |
|
<summary>
|
354 |
|
Instances of this class are used to create DbConnection objects for
|
355 |
|
SQL Server LocalDb based on a given database name or connection string.
|
356 |
|
</summary>
|
357 |
|
<remarks>
|
358 |
|
An instance of this class can be set on the <see cref="T:System.Data.Entity.Database"/> class or in the
|
359 |
|
app.config/web.config for the application to cause all DbContexts created with no
|
360 |
|
connection information or just a database name to use SQL Server LocalDb by default.
|
361 |
|
This class is immutable since multiple threads may access instances simultaneously
|
362 |
|
when creating connections.
|
363 |
|
</remarks>
|
364 |
|
</member>
|
365 |
|
<member name="T:System.Data.Entity.Infrastructure.IDbConnectionFactory">
|
366 |
|
<summary>
|
367 |
|
Implementations of this interface are used to create DbConnection objects for
|
368 |
|
a type of database server based on a given database name.
|
369 |
|
An Instance is set on the <see cref="T:System.Data.Entity.Database"/> class to
|
370 |
|
cause all DbContexts created with no connection information or just a database
|
371 |
|
name or connection string to use a certain type of database server by default.
|
372 |
|
Two implementations of this interface are provided: <see cref="T:System.Data.Entity.Infrastructure.SqlConnectionFactory"/>
|
373 |
|
is used to create connections to Microsoft SQL Server, including EXPRESS editions.
|
374 |
|
<see cref="T:System.Data.Entity.Infrastructure.SqlCeConnectionFactory"/> is used to create connections to Microsoft SQL
|
375 |
|
Server Compact Editions.
|
376 |
|
Other implementations for other database servers can be added as needed.
|
377 |
|
Note that implementations should be thread safe or immutable since they may
|
378 |
|
be accessed by multiple threads at the same time.
|
379 |
|
</summary>
|
380 |
|
</member>
|
381 |
|
<member name="M:System.Data.Entity.Infrastructure.IDbConnectionFactory.CreateConnection(System.String)">
|
382 |
|
<summary>
|
383 |
|
Creates a connection based on the given database name or connection string.
|
384 |
|
</summary>
|
385 |
|
<param name = "nameOrConnectionString">The database name or connection string.</param>
|
386 |
|
<returns>An initialized DbConnection.</returns>
|
387 |
|
</member>
|
388 |
|
<member name="M:System.Data.Entity.Infrastructure.LocalDbConnectionFactory.#ctor(System.String)">
|
389 |
|
<summary>
|
390 |
|
Creates a new instance of the connection factory for the given version of LocalDb.
|
391 |
|
For SQL Server 2012 LocalDb use "v11.0".
|
392 |
|
</summary>
|
393 |
|
<param name="localDbVersion">The LocalDb version to use.</param>
|
394 |
|
</member>
|
395 |
|
<member name="M:System.Data.Entity.Infrastructure.LocalDbConnectionFactory.#ctor(System.String,System.String)">
|
396 |
|
<summary>
|
397 |
|
Creates a new instance of the connection factory for the given version of LocalDb.
|
398 |
|
For SQL Server 2012 LocalDb use "v11.0".
|
399 |
|
|
400 |
|
</summary>
|
401 |
|
<param name="localDbVersion">The LocalDb version to use.</param>
|
402 |
|
<param name = "baseConnectionString">
|
403 |
|
The connection string to use for options to the database other than the 'Initial Catalog',
|
404 |
|
'Data Source', and 'AttachDbFilename'.
|
405 |
|
The 'Initial Catalog' and 'AttachDbFilename' will be prepended to this string based on the
|
406 |
|
database name when CreateConnection is called.
|
407 |
|
The 'Data Source' will be set based on the LocalDbVersion argument.
|
408 |
|
</param>
|
409 |
|
</member>
|
410 |
|
<member name="M:System.Data.Entity.Infrastructure.LocalDbConnectionFactory.CreateConnection(System.String)">
|
411 |
|
<summary>
|
412 |
|
Creates a connection for SQL Server LocalDb based on the given database name or connection string.
|
413 |
|
If the given string contains an '=' character then it is treated as a full connection string,
|
414 |
|
otherwise it is treated as a database name only.
|
415 |
|
</summary>
|
416 |
|
<param name = "nameOrConnectionString">The database name or connection string.</param>
|
417 |
|
<returns>An initialized DbConnection.</returns>
|
418 |
|
</member>
|
419 |
|
<member name="P:System.Data.Entity.Infrastructure.LocalDbConnectionFactory.BaseConnectionString">
|
420 |
|
<summary>
|
421 |
|
The connection string to use for options to the database other than the 'Initial Catalog',
|
422 |
|
'Data Source', and 'AttachDbFilename'.
|
423 |
|
The 'Initial Catalog' and 'AttachDbFilename' will be prepended to this string based on the
|
424 |
|
database name when CreateConnection is called.
|
425 |
|
The 'Data Source' will be set based on the LocalDbVersion argument.
|
426 |
|
The default is 'Integrated Security=True; MultipleActiveResultSets=True;'.
|
427 |
|
</summary>
|
428 |
|
</member>
|
429 |
|
<member name="T:System.Data.Entity.Internal.ClonedObjectContext">
|
430 |
|
<summary>
|
431 |
|
Encapsulates a cloned <see cref="P:System.Data.Entity.Internal.ClonedObjectContext.ObjectContext"/> and store <see cref="T:System.Data.Common.DbConnection"/>. Note that these
|
432 |
|
objects are disposable and should be used in a using block to ensure both the cloned context and the
|
433 |
|
cloned connection are disposed.
|
434 |
|
</summary>
|
435 |
|
</member>
|
436 |
|
<member name="M:System.Data.Entity.Internal.ClonedObjectContext.#ctor">
|
437 |
|
<summary>
|
438 |
|
For mocking.
|
439 |
|
</summary>
|
440 |
|
</member>
|
441 |
|
<member name="M:System.Data.Entity.Internal.ClonedObjectContext.#ctor(System.Data.Entity.Internal.MockingProxies.ObjectContextProxy,System.String,System.Boolean)">
|
442 |
|
<summary>
|
443 |
|
Creates a clone of the given <see cref="P:System.Data.Entity.Internal.ClonedObjectContext.ObjectContext"/>. The underlying <see cref="T:System.Data.Common.DbConnection"/> of
|
444 |
|
the context is also cloned and the given connection string is used for the connection string of
|
445 |
|
the cloned connection.
|
446 |
|
</summary>
|
447 |
|
</member>
|
448 |
|
<member name="M:System.Data.Entity.Internal.ClonedObjectContext.TransferLoadedAssemblies(System.Data.Entity.Internal.MockingProxies.ObjectContextProxy)">
|
449 |
|
<summary>
|
450 |
|
Finds the assemblies that were used for loading o-space types in the source context
|
451 |
|
and loads those assemblies in the cloned context.
|
452 |
|
</summary>
|
453 |
|
</member>
|
454 |
|
<member name="M:System.Data.Entity.Internal.ClonedObjectContext.Dispose">
|
455 |
|
<summary>
|
456 |
|
Disposes both the underlying ObjectContext and its store connection.
|
457 |
|
</summary>
|
458 |
|
</member>
|
459 |
|
<member name="P:System.Data.Entity.Internal.ClonedObjectContext.ObjectContext">
|
460 |
|
<summary>
|
461 |
|
The cloned context.
|
462 |
|
</summary>
|
463 |
|
</member>
|
464 |
|
<member name="P:System.Data.Entity.Internal.ClonedObjectContext.Connection">
|
465 |
|
<summary>
|
466 |
|
This is always the store connection of the underlying ObjectContext.
|
467 |
|
</summary>
|
468 |
|
</member>
|
469 |
|
<member name="T:System.Data.Entity.Internal.ConfigFile.DatabaseInitializerElement">
|
470 |
|
<summary>
|
471 |
|
Represents setting the database initializer for a specific context type
|
472 |
|
</summary>
|
473 |
|
</member>
|
474 |
|
<member name="T:System.Data.Entity.Internal.ConfigFile.ParameterElement">
|
475 |
|
<summary>
|
476 |
|
Represents a parameter to be passed to a method
|
477 |
|
</summary>
|
478 |
|
</member>
|
479 |
|
<member name="T:System.Data.Entity.Internal.ConfigFile.ParameterCollection">
|
480 |
|
<summary>
|
481 |
|
Represents a series of parameters to pass to a method
|
482 |
|
</summary>
|
483 |
|
</member>
|
484 |
|
<member name="M:System.Data.Entity.Internal.ConfigFile.ParameterCollection.NewElement">
|
485 |
|
<summary>
|
486 |
|
Adds a new parameter to the collection
|
487 |
|
Used for unit testing
|
488 |
|
</summary>
|
489 |
|
</member>
|
490 |
|
<member name="T:System.Data.Entity.Internal.ConfigFile.ContextCollection">
|
491 |
|
<summary>
|
492 |
|
Represents the configuration for a series of contexts
|
493 |
|
</summary>
|
494 |
|
</member>
|
495 |
|
<member name="M:System.Data.Entity.Internal.ConfigFile.ContextCollection.NewElement(System.String)">
|
496 |
|
<summary>
|
497 |
|
Adds a new context to the collection
|
498 |
|
Used for unit testing
|
499 |
|
</summary>
|
500 |
|
</member>
|
501 |
|
<member name="T:System.Data.Entity.Internal.ConfigFile.ContextElement">
|
502 |
|
<summary>
|
503 |
|
Represents the configuration for a specific context type
|
504 |
|
</summary>
|
505 |
|
</member>
|
506 |
|
<member name="T:System.Data.Entity.Internal.ConfigFile.DefaultConnectionFactoryElement">
|
507 |
|
<summary>
|
508 |
|
Represents setting the default connection factory
|
509 |
|
</summary>
|
510 |
|
</member>
|
511 |
|
<member name="T:System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection">
|
512 |
|
<summary>
|
513 |
|
Represents all Entity Framework related configuration
|
514 |
|
</summary>
|
515 |
|
</member>
|
516 |
|
<member name="T:System.Data.Entity.Internal.DatabaseCreator">
|
517 |
|
<summary>
|
518 |
|
Handles creating databases either using the core provider or the Migrations pipeline.
|
519 |
|
</summary>
|
520 |
|
</member>
|
521 |
|
<member name="M:System.Data.Entity.Internal.DatabaseCreator.CreateDatabase(System.Data.Entity.Internal.InternalContext,System.Func{System.Data.Entity.Migrations.DbMigrationsConfiguration,System.Data.Entity.DbContext,System.Data.Entity.Migrations.DbMigrator},System.Data.Objects.ObjectContext)">
|
522 |
|
<summary>
|
523 |
|
Creates a database using the core provider (i.e. ObjectContext.CreateDatabase) or
|
524 |
|
by using Code First Migrations <see cref="T:System.Data.Entity.Migrations.DbMigrator"/> to create an empty database
|
525 |
|
and the perform an automatic migration to the current model.
|
526 |
|
Migrations is used if Code First is being used and the EF provider is for SQL Server
|
527 |
|
or SQL Compact. The core is used for non-Code First models and for other providers even
|
528 |
|
when using Code First.
|
529 |
|
</summary>
|
530 |
|
</member>
|
531 |
|
<member name="T:System.Data.Entity.DbContext">
|
532 |
|
<summary>
|
533 |
|
A DbContext instance represents a combination of the Unit Of Work and Repository patterns such that
|
534 |
|
it can be used to query from a database and group together changes that will then be written
|
535 |
|
back to the store as a unit.
|
536 |
|
DbContext is conceptually similar to ObjectContext.
|
537 |
|
</summary>
|
538 |
|
<remarks>
|
539 |
|
DbContext is usually used with a derived type that contains <see cref="T:System.Data.Entity.DbSet`1"/> properties for
|
540 |
|
the root entities of the model. These sets are automatically initialized when the
|
541 |
|
instance of the derived class is created. This behavior can be modified by applying the
|
542 |
|
<see cref="T:System.Data.Entity.Infrastructure.SuppressDbSetInitializationAttribute"/> attribute to either the entire derived context
|
543 |
|
class, or to individual properties on the class.
|
544 |
|
|
545 |
|
The Entity Data Model backing the context can be specified in several ways. When using the Code First
|
546 |
|
approach, the <see cref="T:System.Data.Entity.DbSet`1"/> properties on the derived context are used to build a model
|
547 |
|
by convention. The protected OnModelCreating method can be overridden to tweak this model. More
|
548 |
|
control over the model used for the Model First approach can be obtained by creating a <see cref="T:System.Data.Entity.Infrastructure.DbCompiledModel"/>
|
549 |
|
explicitly from a <see cref="T:System.Data.Entity.DbModelBuilder"/> and passing this model to one of the DbContext constructors.
|
550 |
|
|
551 |
|
When using the Database First or Model First approach the Entity Data Model can be created using the
|
552 |
|
Entity Designer (or manually through creation of an EDMX file) and then this model can be specified using
|
553 |
|
entity connection string or an <see cref="T:System.Data.EntityClient.EntityConnection"/> object.
|
554 |
|
|
555 |
|
The connection to the database (including the name of the database) can be specified in several ways.
|
556 |
|
If the parameterless DbContext constructor is called from a derived context, then the name of the derived context
|
557 |
|
is used to find a connection string in the app.config or web.config file. If no connection string is found, then
|
558 |
|
the name is passed to the DefaultConnectionFactory registered on the <see cref="T:System.Data.Entity.Database"/> class. The connection
|
559 |
|
factory then uses the context name as the database name in a default connection string. (This default connection
|
560 |
|
string points to .\SQLEXPRESS on the local machine unless a different DefaultConnectionFactory is registered.)
|
561 |
|
|
562 |
|
Instead of using the derived context name, the connection/database name can also be specified explicitly by
|
563 |
|
passing the name to one of the DbContext constructors that takes a string. The name can also be passed in
|
564 |
|
the form "name=myname", in which case the name must be found in the config file or an exception will be thrown.
|
565 |
|
|
566 |
|
Note that the connection found in the app.config or web.config file can be a normal database connection
|
567 |
|
string (not a special Entity Framework connection string) in which case the DbContext will use Code First.
|
568 |
|
However, if the connection found in the config file is a special Entity Framework connection string, then the
|
569 |
|
DbContext will use Database/Model First and the model specified in the connection string will be used.
|
570 |
|
|
571 |
|
An existing or explicitly created DbConnection can also be used instead of the database/connection name.
|
572 |
|
|
573 |
|
A <see cref="T:System.Data.Entity.DbModelBuilderVersionAttribute"/> can be applied to a class derived from DbContext to set the
|
574 |
|
version of conventions used by the context when it creates a model. If no attribute is applied then the
|
575 |
|
latest version of conventions will be used.
|
576 |
|
</remarks>
|
577 |
|
</member>
|
578 |
|
<member name="T:System.Data.Entity.Infrastructure.IObjectContextAdapter">
|
579 |
|
<summary>
|
580 |
|
Interface implemented by objects that can provide an <see cref="P:System.Data.Entity.Infrastructure.IObjectContextAdapter.ObjectContext"/> instance.
|
581 |
|
The <see cref="T:System.Data.Entity.DbContext"/> class implements this interface to provide access to the underlying
|
582 |
|
ObjectContext.
|
583 |
|
</summary>
|
584 |
|
</member>
|
585 |
|
<member name="P:System.Data.Entity.Infrastructure.IObjectContextAdapter.ObjectContext">
|
586 |
|
<summary>
|
587 |
|
Gets the object context.
|
588 |
|
</summary>
|
589 |
|
<value>The object context.</value>
|
590 |
|
</member>
|
591 |
|
<member name="M:System.Data.Entity.DbContext.#ctor">
|
592 |
|
<summary>
|
593 |
|
Constructs a new context instance using conventions to create the name of the database to
|
594 |
|
which a connection will be made. The by-convention name is the full name (namespace + class name)
|
595 |
|
of the derived context class.
|
596 |
|
See the class remarks for how this is used to create a connection.
|
597 |
|
</summary>
|
598 |
|
</member>
|
599 |
|
<member name="M:System.Data.Entity.DbContext.#ctor(System.Data.Entity.Infrastructure.DbCompiledModel)">
|
600 |
|
<summary>
|
601 |
|
Constructs a new context instance using conventions to create the name of the database to
|
602 |
|
which a connection will be made, and initializes it from the given model.
|
603 |
|
The by-convention name is the full name (namespace + class name) of the derived context class.
|
604 |
|
See the class remarks for how this is used to create a connection.
|
605 |
|
</summary>
|
606 |
|
<param name = "model">The model that will back this context.</param>
|
607 |
|
</member>
|
608 |
|
<member name="M:System.Data.Entity.DbContext.#ctor(System.String)">
|
609 |
|
<summary>
|
610 |
|
Constructs a new context instance using the given string as the name or connection string for the
|
611 |
|
database to which a connection will be made.
|
612 |
|
See the class remarks for how this is used to create a connection.
|
613 |
|
</summary>
|
614 |
|
<param name = "nameOrConnectionString">Either the database name or a connection string.</param>
|
615 |
|
</member>
|
616 |
|
<member name="M:System.Data.Entity.DbContext.#ctor(System.String,System.Data.Entity.Infrastructure.DbCompiledModel)">
|
617 |
|
<summary>
|
618 |
|
Constructs a new context instance using the given string as the name or connection string for the
|
619 |
|
database to which a connection will be made, and initializes it from the given model.
|
620 |
|
See the class remarks for how this is used to create a connection.
|
621 |
|
</summary>
|
622 |
|
<param name = "nameOrConnectionString">Either the database name or a connection string.</param>
|
623 |
|
<param name = "model">The model that will back this context.</param>
|
624 |
|
</member>
|
625 |
|
<member name="M:System.Data.Entity.DbContext.#ctor(System.Data.Common.DbConnection,System.Boolean)">
|
626 |
|
<summary>
|
627 |
|
Constructs a new context instance using the existing connection to connect to a database.
|
628 |
|
The connection will not be disposed when the context is disposed.
|
629 |
|
</summary>
|
630 |
|
<param name = "existingConnection">An existing connection to use for the new context.</param>
|
631 |
|
<param name = "contextOwnsConnection">If set to <c>true</c> the connection is disposed when
|
632 |
|
the context is disposed, otherwise the caller must dispose the connection.</param>
|
633 |
|
</member>
|
634 |
|
<member name="M:System.Data.Entity.DbContext.#ctor(System.Data.Common.DbConnection,System.Data.Entity.Infrastructure.DbCompiledModel,System.Boolean)">
|
635 |
|
<summary>
|
636 |
|
Constructs a new context instance using the existing connection to connect to a database,
|
637 |
|
and initializes it from the given model.
|
638 |
|
The connection will not be disposed when the context is disposed.
|
639 |
|
<param name = "existingConnection">An existing connection to use for the new context.</param>
|
640 |
|
<param name = "model">The model that will back this context.</param>
|
641 |
|
<param name = "contextOwnsConnection">If set to <c>true</c> the connection is disposed when
|
642 |
|
the context is disposed, otherwise the caller must dispose the connection.</param>
|
643 |
|
</summary>
|
644 |
|
</member>
|
645 |
|
<member name="M:System.Data.Entity.DbContext.#ctor(System.Data.Objects.ObjectContext,System.Boolean)">
|
646 |
|
<summary>
|
647 |
|
Constructs a new context instance around an existing ObjectContext.
|
648 |
|
<param name = "objectContext">An existing ObjectContext to wrap with the new context.</param>
|
649 |
|
<param name = "dbContextOwnsObjectContext">If set to <c>true</c> the ObjectContext is disposed when
|
650 |
|
the DbContext is disposed, otherwise the caller must dispose the connection.</param>
|
651 |
|
</summary>
|
652 |
|
</member>
|
653 |
|
<member name="M:System.Data.Entity.DbContext.InitializeLazyInternalContext(System.Data.Entity.Internal.IInternalConnection,System.Data.Entity.Infrastructure.DbCompiledModel)">
|
654 |
|
<summary>
|
655 |
|
Initializes the internal context, discovers and initializes sets, and initializes from a model if one is provided.
|
656 |
|
</summary>
|
657 |
|
</member>
|
658 |
|
<member name="M:System.Data.Entity.DbContext.DiscoverAndInitializeSets">
|
659 |
|
<summary>
|
660 |
|
Discovers DbSets and initializes them.
|
661 |
|
</summary>
|
662 |
|
</member>
|
663 |
|
<member name="M:System.Data.Entity.DbContext.OnModelCreating(System.Data.Entity.DbModelBuilder)">
|
664 |
|
<summary>
|
665 |
|
This method is called when the model for a derived context has been initialized, but
|
666 |
|
before the model has been locked down and used to initialize the context. The default
|
667 |
|
implementation of this method does nothing, but it can be overridden in a derived class
|
668 |
|
such that the model can be further configured before it is locked down.
|
669 |
|
</summary>
|
670 |
|
<remarks>
|
671 |
|
Typically, this method is called only once when the first instance of a derived context
|
672 |
|
is created. The model for that context is then cached and is for all further instances of
|
673 |
|
the context in the app domain. This caching can be disabled by setting the ModelCaching
|
674 |
|
property on the given ModelBuidler, but note that this can seriously degrade performance.
|
675 |
|
More control over caching is provided through use of the DbModelBuilder and DbContextFactory
|
676 |
|
classes directly.
|
677 |
|
</remarks>
|
678 |
|
<param name = "modelBuilder">The builder that defines the model for the context being created.</param>
|
679 |
|
</member>
|
680 |
|
<member name="M:System.Data.Entity.DbContext.CallOnModelCreating(System.Data.Entity.DbModelBuilder)">
|
681 |
|
<summary>
|
682 |
|
Internal method used to make the call to the real OnModelCreating method.
|
683 |
|
</summary>
|
684 |
|
<param name = "modelBuilder">The model builder.</param>
|
685 |
|
</member>
|
686 |
|
<member name="M:System.Data.Entity.DbContext.Set``1">
|
687 |
|
<summary>
|
688 |
|
Returns a DbSet instance for access to entities of the given type in the context,
|
689 |
|
the ObjectStateManager, and the underlying store.
|
690 |
|
</summary>
|
691 |
|
<remarks>
|
692 |
|
See the DbSet class for more details.
|
693 |
|
</remarks>
|
694 |
|
<typeparam name = "TEntity">The type entity for which a set should be returned.</typeparam>
|
695 |
|
<returns>A set for the given entity type.</returns>
|
696 |
|
</member>
|
697 |
|
<member name="M:System.Data.Entity.DbContext.Set(System.Type)">
|
698 |
|
<summary>
|
699 |
|
Returns a non-generic DbSet instance for access to entities of the given type in the context,
|
700 |
|
the ObjectStateManager, and the underlying store.
|
701 |
|
</summary>
|
702 |
|
<param name = "entityType">The type of entity for which a set should be returned.</param>
|
703 |
|
<returns>A set for the given entity type.</returns>
|
704 |
|
<remarks>
|
705 |
|
See the DbSet class for more details.
|
706 |
|
</remarks>
|
707 |
|
</member>
|
708 |
|
<member name="M:System.Data.Entity.DbContext.SaveChanges">
|
709 |
|
<summary>
|
710 |
|
Saves all changes made in this context to the underlying database.
|
711 |
|
</summary>
|
712 |
|
<returns>The number of objects written to the underlying database.</returns>
|
713 |
|
<exception cref="T:System.InvalidOperationException">Thrown if the context has been disposed.</exception>
|
714 |
|
</member>
|
715 |
|
<member name="M:System.Data.Entity.DbContext.GetValidationErrors">
|
716 |
|
<summary>
|
717 |
|
Validates tracked entities and returns a Collection of <see cref="T:System.Data.Entity.Validation.DbEntityValidationResult"/> containing validation results.
|
718 |
|
</summary>
|
719 |
|
<returns>
|
720 |
|
Collection of validation results for invalid entities. The collection is never null and must not contain null
|
721 |
|
values or results for valid entities.
|
722 |
|
</returns>
|
723 |
|
<remarks>
|
724 |
|
1. This method calls DetectChanges() to determine states of the tracked entities unless
|
725 |
|
DbContextConfiguration.AutoDetectChangesEnabled is set to false.
|
726 |
|
2. By default only Added on Modified entities are validated. The user is able to change this behavior
|
727 |
|
by overriding ShouldValidateEntity method.
|
728 |
|
</remarks>
|
729 |
|
</member>
|
730 |
|
<member name="M:System.Data.Entity.DbContext.ShouldValidateEntity(System.Data.Entity.Infrastructure.DbEntityEntry)">
|
731 |
|
<summary>
|
732 |
|
Extension point allowing the user to override the default behavior of validating only
|
733 |
|
added and modified entities.
|
734 |
|
</summary>
|
735 |
|
<param name = "entityEntry">DbEntityEntry instance that is supposed to be validated.</param>
|
736 |
|
<returns>true to proceed with validation. false otherwise.</returns>
|
737 |
|
</member>
|
738 |
|
<member name="M:System.Data.Entity.DbContext.ValidateEntity(System.Data.Entity.Infrastructure.DbEntityEntry,System.Collections.Generic.IDictionary{System.Object,System.Object})">
|
739 |
|
<summary>
|
740 |
|
Extension point allowing the user to customize validation of an entity or filter out validation results.
|
741 |
|
Called by <see cref="M:System.Data.Entity.DbContext.GetValidationErrors"/>.
|
742 |
|
</summary>
|
743 |
|
<param name="entityEntry">DbEntityEntry instance to be validated.</param>
|
744 |
|
<param name="items">User defined dictionary containing additional info for custom validation.
|
745 |
|
It will be passed to <see cref="T:System.ComponentModel.DataAnnotations.ValidationContext"/>
|
746 |
|
and will be exposed as <see cref="P:System.ComponentModel.DataAnnotations.ValidationContext.Items"/>.
|
747 |
|
This parameter is optional and can be null.</param>
|
748 |
|
<returns>Entity validation result. Possibly null when overridden.</returns>
|
749 |
|
</member>
|
750 |
|
<member name="M:System.Data.Entity.DbContext.CallValidateEntity(System.Data.Entity.Infrastructure.DbEntityEntry)">
|
751 |
|
<summary>
|
752 |
|
Internal method that calls the protected ValidateEntity method.
|
753 |
|
</summary>
|
754 |
|
<param name="entityEntry">DbEntityEntry instance to be validated.</param>
|
755 |
|
<param name="items">User defined dictionary containing additional info for custom validation.
|
756 |
|
It will be passed to <see cref="T:System.ComponentModel.DataAnnotations.ValidationContext"/>
|
757 |
|
and will be exposed as <see cref="P:System.ComponentModel.DataAnnotations.ValidationContext.Items"/>.
|
758 |
|
This parameter is optional and can be null.</param>
|
759 |
|
<returns>Entity validation result. Possibly null when ValidateEntity is overridden.</returns>
|
760 |
|
</member>
|
761 |
|
<member name="M:System.Data.Entity.DbContext.Entry``1(``0)">
|
762 |
|
<summary>
|
763 |
|
Gets a <see cref="T:System.Data.Entity.Infrastructure.DbEntityEntry`1"/> object for the given entity providing access to
|
764 |
|
information about the entity and the ability to perform actions on the entity.
|
765 |
|
</summary>
|
766 |
|
<typeparam name="TEntity">The type of the entity.</typeparam>
|
767 |
|
<param name="entity">The entity.</param>
|
768 |
|
<returns>An entry for the entity.</returns>
|
769 |
|
</member>
|
770 |
|
<member name="M:System.Data.Entity.DbContext.Entry(System.Object)">
|
771 |
|
<summary>
|
772 |
|
Gets a <see cref="T:System.Data.Entity.Infrastructure.DbEntityEntry"/> object for the given entity providing access to
|
773 |
|
information about the entity and the ability to perform actions on the entity.
|
774 |
|
</summary>
|
775 |
|
<param name="entity">The entity.</param>
|
776 |
|
<returns>An entry for the entity.</returns>
|
777 |
|
</member>
|
778 |
|
<member name="M:System.Data.Entity.DbContext.Dispose">
|
779 |
|
<summary>
|
780 |
|
Calls the protected Dispose method.
|
781 |
|
</summary>
|
782 |
|
</member>
|
783 |
|
<member name="M:System.Data.Entity.DbContext.Dispose(System.Boolean)">
|
784 |
|
<summary>
|
785 |
|
Disposes the context. The underlying <see cref="T:System.Data.Objects.ObjectContext"/> is also disposed if it was created
|
786 |
|
is by this context or ownership was passed to this context when this context was created.
|
787 |
|
The connection to the database (<see cref="T:System.Data.Common.DbConnection"/> object) is also disposed if it was created
|
788 |
|
is by this context or ownership was passed to this context when this context was created.
|
789 |
|
</summary>
|
790 |
|
<param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
|
791 |
|
</member>
|
792 |
|
<member name="P:System.Data.Entity.DbContext.Database">
|
793 |
|
<summary>
|
794 |
|
Creates a Database instance for this context that allows for creation/deletion/existence checks
|
795 |
|
for the underlying database.
|
796 |
|
</summary>
|
797 |
|
</member>
|
798 |
|
<member name="P:System.Data.Entity.DbContext.System#Data#Entity#Infrastructure#IObjectContextAdapter#ObjectContext">
|
799 |
|
<summary>
|
800 |
|
Returns the Entity Framework ObjectContext that is underlying this context.
|
801 |
|
</summary>
|
802 |
|
<exception cref="T:System.InvalidOperationException">Thrown if the context has been disposed.</exception>
|
803 |
|
</member>
|
804 |
|
<member name="P:System.Data.Entity.DbContext.ChangeTracker">
|
805 |
|
<summary>
|
806 |
|
Provides access to features of the context that deal with change tracking of entities.
|
807 |
|
</summary>
|
808 |
|
<value>An object used to access features that deal with change tracking.</value>
|
809 |
|
</member>
|
810 |
|
<member name="P:System.Data.Entity.DbContext.Configuration">
|
811 |
|
<summary>
|
812 |
|
Provides access to configuration options for the context.
|
813 |
|
</summary>
|
814 |
|
<value>An object used to access configuration options.</value>
|
815 |
|
</member>
|
816 |
|
<member name="P:System.Data.Entity.DbContext.InternalContext">
|
817 |
|
<summary>
|
818 |
|
Provides access to the underlying InternalContext for other parts of the internal design.
|
819 |
|
</summary>
|
820 |
|
</member>
|
821 |
|
<member name="T:System.Data.Entity.Internal.AppConfig">
|
822 |
|
<summary>
|
823 |
|
A simple representation of an app.config or web.config file.
|
824 |
|
</summary>
|
825 |
|
</member>
|
826 |
|
<member name="M:System.Data.Entity.Internal.AppConfig.#ctor(System.Configuration.Configuration)">
|
827 |
|
<summary>
|
828 |
|
Initializes a new instance of AppConfig based on supplied configuration
|
829 |
|
</summary>
|
830 |
|
<param name="configuration">Configuration to load settings from</param>
|
831 |
|
</member>
|
832 |
|
<member name="M:System.Data.Entity.Internal.AppConfig.#ctor(System.Configuration.ConnectionStringSettingsCollection)">
|
833 |
|
<summary>
|
834 |
|
Initializes a new instance of AppConfig based on supplied connection strings
|
835 |
|
The default configuration for database initializers and default connection factory will be used
|
836 |
|
</summary>
|
837 |
|
<param name="connectionStrings">Connection strings to be used</param>
|
838 |
|
</member>
|
839 |
|
<member name="M:System.Data.Entity.Internal.AppConfig.#ctor">
|
840 |
|
<summary>
|
841 |
|
Initializes a new instance of AppConfig based on the <see cref="T:System.Configuration.ConfigurationManager"/> for the AppDomain
|
842 |
|
</summary>
|
843 |
|
<remarks>
|
844 |
|
Use AppConfig.DefaultInstance instead of this constructor
|
845 |
|
</remarks>
|
846 |
|
</member>
|
847 |
|
<member name="M:System.Data.Entity.Internal.AppConfig.ApplyInitializers">
|
848 |
|
<summary>
|
849 |
|
Appies any database intializers specified in the configuration
|
850 |
|
</summary>
|
851 |
|
</member>
|
852 |
|
<member name="M:System.Data.Entity.Internal.AppConfig.InternalApplyInitializers(System.Boolean)">
|
853 |
|
<summary>
|
854 |
|
Appies any database intializers specified in the configuration
|
855 |
|
</summary>
|
856 |
|
<param name="force">
|
857 |
|
Value indicating if initializers should be re-applied if they have already been applied in this AppDomain
|
858 |
|
</param>
|
859 |
|
</member>
|
860 |
|
<member name="M:System.Data.Entity.Internal.AppConfig.GetConnectionString(System.String)">
|
861 |
|
<summary>
|
862 |
|
Gets the specified connection string from the configuration
|
863 |
|
</summary>
|
864 |
|
<param name="name">Name of the connection string to get</param>
|
865 |
|
<returns>The connection string, or null if there is no connection string with the specified name</returns>
|
866 |
|
</member>
|
867 |
|
<member name="P:System.Data.Entity.Internal.AppConfig.DefaultConnectionFactory">
|
868 |
|
<summary>
|
869 |
|
Gets the default connection factory based on the configuration
|
870 |
|
</summary>
|
871 |
|
</member>
|
872 |
|
<member name="P:System.Data.Entity.Internal.AppConfig.DefaultInstance">
|
873 |
|
<summary>
|
874 |
|
Gets a singleton instance of configuration based on the <see cref="T:System.Configuration.ConfigurationManager"/> for the AppDomain
|
875 |
|
</summary>
|
876 |
|
</member>
|
877 |
|
<member name="T:System.Data.Entity.Internal.MockingProxies.EntityConnectionProxy">
|
878 |
|
<summary>
|
879 |
|
Acts as a proxy for <see cref="T:System.Data.EntityClient.EntityConnection"/> that for the most part just passes calls
|
880 |
|
through to the real object but uses virtual methods/properties such that uses of the object
|
881 |
|
can be mocked.
|
882 |
|
</summary>
|
883 |
|
</member>
|
884 |
|
<member name="T:System.Data.Entity.Internal.LegacyDatabaseInitializerConfig">
|
885 |
|
<summary>
|
886 |
|
Encapsulates information read from the application config file that specifies a database initializer
|
887 |
|
and allows that initializer to be dynamically applied.
|
888 |
|
</summary>
|
889 |
|
</member>
|
890 |
|
<member name="M:System.Data.Entity.Internal.LegacyDatabaseInitializerConfig.#ctor(System.String,System.String)">
|
891 |
|
<summary>
|
892 |
|
Initializes a new instance of the <see cref="T:System.Data.Entity.Internal.LegacyDatabaseInitializerConfig"/> class.
|
893 |
|
</summary>
|
894 |
|
<param name="configKey">The key from the entry in the config file.</param>
|
895 |
|
<param name="configValue">The value from the enrty in the config file.</param>
|
896 |
|
</member>
|
897 |
|
<member name="M:System.Data.Entity.Internal.LegacyDatabaseInitializerConfig.ApplyInitializer">
|
898 |
|
<summary>
|
899 |
|
Uses the context type and initializer type specified in the config to create an initializer instance
|
900 |
|
and set it with the DbDbatabase.SetInitializer method.
|
901 |
|
</summary>
|
902 |
|
</member>
|
903 |
|
<member name="M:System.Data.Entity.Internal.LegacyDatabaseInitializerConfig.ApplyInitializersFromConfig(System.Configuration.KeyValueConfigurationCollection)">
|
904 |
|
<summary>
|
905 |
|
Reads all initializers from the application config file and sets them using the Database class.
|
906 |
|
</summary>
|
907 |
|
</member>
|
908 |
|
<member name="T:System.Data.Entity.Internal.ModelHashCalculator">
|
909 |
|
<summary>
|
910 |
|
Calculates the model hash values used the EdmMetadata table from EF 4.1/4.2.
|
911 |
|
</summary>
|
912 |
|
</member>
|
913 |
|
<member name="M:System.Data.Entity.Internal.ModelHashCalculator.Calculate(System.Data.Entity.Infrastructure.DbCompiledModel)">
|
914 |
|
<summary>
|
915 |
|
Calculates an SHA256 hash of the EDMX from the given code first model. This is the hash stored in
|
916 |
|
the database in the EdmMetadata table in EF 4.1/4.2. The hash is always calculated using a v2 schema
|
917 |
|
as was generated by EF 4.1/4.2 and with the <see cref="T:System.Data.Entity.Infrastructure.EdmMetadata"/> entity included in the model.
|
918 |
|
</summary>
|
919 |
|
</member>
|
920 |
|
<member name="T:System.Data.Entity.Internal.MockingProxies.ObjectContextProxy">
|
921 |
|
<summary>
|
922 |
|
Acts as a proxy for <see cref="T:System.Data.Objects.ObjectContext"/> that for the most part just passes calls
|
923 |
|
through to the real object but uses virtual methods/properties such that uses of the object
|
924 |
|
can be mocked.
|
925 |
|
</summary>
|
926 |
|
</member>
|
927 |
|
<member name="T:System.Data.Entity.MigrateDatabaseToLatestVersion`2">
|
928 |
|
<summary>
|
929 |
|
An implementation of <see cref="T:System.Data.Entity.IDatabaseInitializer`1"/> that will use Code First Migrations
|
930 |
|
to update the database to the latest version.
|
931 |
|
</summary>
|
932 |
|
</member>
|
933 |
|
<!-- Badly formed XML comment ignored for member "T:System.Data.Entity.IDatabaseInitializer`1" -->
|
934 |
|
<member name="M:System.Data.Entity.IDatabaseInitializer`1.InitializeDatabase(`0)">
|
935 |
|
<summary>
|
936 |
|
Executes the strategy to initialize the database for the given context.
|
937 |
|
</summary>
|
938 |
|
<param name = "context">The context.</param>
|
939 |
|
</member>
|
940 |
|
<member name="M:System.Data.Entity.MigrateDatabaseToLatestVersion`2.#ctor">
|
941 |
|
<summary>
|
942 |
|
Initializes a new instance of the MigrateDatabaseToLatestVersion class.
|
943 |
|
</summary>
|
944 |
|
</member>
|
945 |
|
<member name="M:System.Data.Entity.MigrateDatabaseToLatestVersion`2.#ctor(System.String)">
|
946 |
|
<summary>
|
947 |
|
Initializes a new instance of the MigrateDatabaseToLatestVersion class that will
|
948 |
|
use a specific connection string from the configuration file to connect to
|
949 |
|
the database to perform the migration.
|
950 |
|
</summary>
|
951 |
|
<param name="connectionStringName">The name of the connection string to use for migration.</param>
|
952 |
|
</member>
|
953 |
|
<member name="M:System.Data.Entity.MigrateDatabaseToLatestVersion`2.InitializeDatabase(`0)">
|
954 |
|
<inheritdoc/>
|
955 |
|
</member>
|
956 |
|
<member name="T:System.Data.Entity.Migrations.Builders.ColumnBuilder">
|
957 |
|
<summary>
|
958 |
|
Helper class that is used to configure a column.
|
959 |
|
</summary>
|
960 |
|
</member>
|
961 |
|
<member name="M:System.Data.Entity.Migrations.Builders.ColumnBuilder.Binary(System.Nullable{System.Boolean},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Byte[],System.String,System.Boolean,System.String,System.String)">
|
962 |
|
<summary>
|
963 |
|
Creates a new column definition to store Binary data.
|
964 |
|
</summary>
|
965 |
|
<param name = "nullable">Value indicating whether or not the column allows null values.</param>
|
966 |
|
<param name = "maxLength">The maximum allowable length of the array data.</param>
|
967 |
|
<param name = "fixedLength">Value indicating whether or not all data should be padded to the maximum length.</param>
|
968 |
|
<param name = "isMaxLength">Value indicating whether or not the maximum length supported by the database provider should be used.</param>
|
969 |
|
<param name = "defaultValue">Constant value to use as the default value for this column.</param>
|
970 |
|
<param name = "defaultValueSql">SQL expression used as the default value for this column.</param>
|
971 |
|
<param name = "timestamp">Value indicating whether or not this column should be configured as a timestamp.</param>
|
972 |
|
<param name = "name">The name of the column.</param>
|
973 |
|
<param name = "storeType">Provider specific data type to use for this column.</param>
|
974 |
|
<returns>The newly constructed column definition.</returns>
|
975 |
|
</member>
|
976 |
|
<member name="M:System.Data.Entity.Migrations.Builders.ColumnBuilder.Boolean(System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.String,System.String,System.String)">
|
977 |
|
<summary>
|
978 |
|
Creates a new column definition to store Boolean data.
|
979 |
|
</summary>
|
980 |
|
<param name = "nullable">Value indicating whether or not the column allows null values.</param>
|
981 |
|
<param name = "defaultValue">Constant value to use as the default value for this column.</param>
|
982 |
|
<param name = "defaultValueSql">SQL expression used as the default value for this column.</param>
|
983 |
|
<param name = "name">The name of the column.</param>
|
984 |
|
<param name = "storeType">Provider specific data type to use for this column.</param>
|
985 |
|
<returns>The newly constructed column definition.</returns>
|
986 |
|
</member>
|
987 |
|
<member name="M:System.Data.Entity.Migrations.Builders.ColumnBuilder.Byte(System.Nullable{System.Boolean},System.Boolean,System.Nullable{System.Byte},System.String,System.String,System.String)">
|
988 |
|
<summary>
|
989 |
|
Creates a new column definition to store Byte data.
|
990 |
|
</summary>
|
991 |
|
<param name = "nullable">Value indicating whether or not the column allows null values.</param>
|
992 |
|
<param name = "identity">Value indicating whether or not the database will generate values for this column during insert.</param>
|
993 |
|
<param name = "defaultValue">Constant value to use as the default value for this column.</param>
|
994 |
|
<param name = "defaultValueSql">SQL expression used as the default value for this column.</param>
|
995 |
|
<param name = "name">The name of the column.</param>
|
996 |
|
<param name = "storeType">Provider specific data type to use for this column.</param>
|
997 |
|
<returns>The newly constructed column definition.</returns>
|
998 |
|
</member>
|
999 |
|
<member name="M:System.Data.Entity.Migrations.Builders.ColumnBuilder.DateTime(System.Nullable{System.Boolean},System.Nullable{System.Byte},System.Nullable{System.DateTime},System.String,System.String,System.String)">
|
1000 |
|
<summary>
|
1001 |
|
Creates a new column definition to store DateTime data.
|
1002 |
|
</summary>
|
1003 |
|
<param name = "nullable">Value indicating whether or not the column allows null values.</param>
|
1004 |
|
<param name = "precision">The precision of the column.</param>
|
1005 |
|
<param name = "defaultValue">Constant value to use as the default value for this column.</param>
|
1006 |
|
<param name = "defaultValueSql">SQL expression used as the default value for this column.</param>
|
1007 |
|
<param name = "name">The name of the column.</param>
|
1008 |
|
<param name = "storeType">Provider specific data type to use for this column.</param>
|
1009 |
|
<returns>The newly constructed column definition.</returns>
|
1010 |
|
</member>
|
1011 |
|
<member name="M:System.Data.Entity.Migrations.Builders.ColumnBuilder.Decimal(System.Nullable{System.Boolean},System.Nullable{System.Byte},System.Nullable{System.Byte},System.Nullable{System.Decimal},System.String,System.String,System.String,System.Boolean)">
|
1012 |
|
<summary>
|
1013 |
|
Creates a new column definition to store Decimal data.
|
1014 |
|
</summary>
|
1015 |
|
<param name = "nullable">Value indicating whether or not the column allows null values.</param>
|
1016 |
|
<param name = "precision">The numeric precision of the column.</param>
|
1017 |
|
<param name = "scale">The numeric scale of the column.</param>
|
1018 |
|
<param name = "defaultValue">Constant value to use as the default value for this column.</param>
|
1019 |
|
<param name = "defaultValueSql">SQL expression used as the default value for this column.</param>
|
1020 |
|
<param name = "name">The name of the column.</param>
|
1021 |
|
<param name = "storeType">Provider specific data type to use for this column.</param>
|
1022 |
|
<param name = "identity">Value indicating whether or not the database will generate values for this column during insert.</param>
|
1023 |
|
<returns>The newly constructed column definition.</returns>
|
1024 |
|
</member>
|
1025 |
|
<member name="M:System.Data.Entity.Migrations.Builders.ColumnBuilder.Double(System.Nullable{System.Boolean},System.Nullable{System.Double},System.String,System.String,System.String)">
|
1026 |
|
<summary>
|
1027 |
|
Creates a new column definition to store Double data.
|
1028 |
|
</summary>
|
1029 |
|
<param name = "nullable">Value indicating whether or not the column allows null values.</param>
|
1030 |
|
<param name = "defaultValue">Constant value to use as the default value for this column.</param>
|
1031 |
|
<param name = "defaultValueSql">SQL expression used as the default value for this column.</param>
|
1032 |
|
<param name = "name">The name of the column.</param>
|
1033 |
|
<param name = "storeType">Provider specific data type to use for this column.</param>
|
1034 |
|
<returns>The newly constructed column definition.</returns>
|
1035 |
|
</member>
|
1036 |
|
<member name="M:System.Data.Entity.Migrations.Builders.ColumnBuilder.Guid(System.Nullable{System.Boolean},System.Boolean,System.Nullable{System.Guid},System.String,System.String,System.String)">
|
1037 |
|
<summary>
|
1038 |
|
Creates a new column definition to store GUID data.
|
1039 |
|
</summary>
|
1040 |
|
<param name = "nullable">Value indicating whether or not the column allows null values.</param>
|
1041 |
|
<param name = "identity">Value indicating whether or not the database will generate values for this column during insert.</param>
|
1042 |
|
<param name = "defaultValue">Constant value to use as the default value for this column.</param>
|
1043 |
|
<param name = "defaultValueSql">SQL expression used as the default value for this column.</param>
|
1044 |
|
<param name = "name">The name of the column.</param>
|
1045 |
|
<param name = "storeType">Provider specific data type to use for this column.</param>
|
1046 |
|
<returns>The newly constructed column definition.</returns>
|
1047 |
|
</member>
|
1048 |
|
<member name="M:System.Data.Entity.Migrations.Builders.ColumnBuilder.Single(System.Nullable{System.Boolean},System.Nullable{System.Single},System.String,System.String,System.String)">
|
1049 |
|
<summary>
|
1050 |
|
Creates a new column definition to store Single data.
|
1051 |
|
</summary>
|
1052 |
|
<param name = "nullable">Value indicating whether or not the column allows null values.</param>
|
1053 |
|
<param name = "defaultValue">Constant value to use as the default value for this column.</param>
|
1054 |
|
<param name = "defaultValueSql">SQL expression used as the default value for this column.</param>
|
1055 |
|
<param name = "name">The name of the column.</param>
|
1056 |
|
<param name = "storeType">Provider specific data type to use for this column.</param>
|
1057 |
|
<returns>The newly constructed column definition.</returns>
|
1058 |
|
</member>
|
1059 |
|
<member name="M:System.Data.Entity.Migrations.Builders.ColumnBuilder.Short(System.Nullable{System.Boolean},System.Boolean,System.Nullable{System.Int16},System.String,System.String,System.String)">
|
1060 |
|
<summary>
|
1061 |
|
Creates a new column definition to store Short data.
|
1062 |
|
</summary>
|
1063 |
|
<param name = "nullable">Value indicating whether or not the column allows null values.</param>
|
1064 |
|
<param name = "identity">Value indicating whether or not the database will generate values for this column during insert.</param>
|
1065 |
|
<param name = "defaultValue">Constant value to use as the default value for this column.</param>
|
1066 |
|
<param name = "defaultValueSql">SQL expression used as the default value for this column.</param>
|
1067 |
|
<param name = "name">The name of the column.</param>
|
1068 |
|
<param name = "storeType">Provider specific data type to use for this column.</param>
|
1069 |
|
<returns>The newly constructed column definition.</returns>
|
1070 |
|
</member>
|
1071 |
|
<member name="M:System.Data.Entity.Migrations.Builders.ColumnBuilder.Int(System.Nullable{System.Boolean},System.Boolean,System.Nullable{System.Int32},System.String,System.String,System.String)">
|
1072 |
|
<summary>
|
1073 |
|
Creates a new column definition to store Integer data.
|
1074 |
|
</summary>
|
1075 |
|
<param name = "nullable">Value indicating whether or not the column allows null values.</param>
|
1076 |
|
<param name = "identity">Value indicating whether or not the database will generate values for this column during insert.</param>
|
1077 |
|
<param name = "defaultValue">Constant value to use as the default value for this column.</param>
|
1078 |
|
<param name = "defaultValueSql">SQL expression used as the default value for this column.</param>
|
1079 |
|
<param name = "name">The name of the column.</param>
|
1080 |
|
<param name = "storeType">Provider specific data type to use for this column.</param>
|
1081 |
|
<returns>The newly constructed column definition.</returns>
|
1082 |
|
</member>
|
1083 |
|
<member name="M:System.Data.Entity.Migrations.Builders.ColumnBuilder.Long(System.Nullable{System.Boolean},System.Boolean,System.Nullable{System.Int64},System.String,System.String,System.String)">
|
1084 |
|
<summary>
|
1085 |
|
Creates a new column definition to store Long data.
|
1086 |
|
</summary>
|
1087 |
|
<param name = "nullable">Value indicating whether or not the column allows null values.</param>
|
1088 |
|
<param name = "identity">Value indicating whether or not the database will generate values for this column during insert.</param>
|
1089 |
|
<param name = "defaultValue">Constant value to use as the default value for this column.</param>
|
1090 |
|
<param name = "defaultValueSql">SQL expression used as the default value for this column.</param>
|
1091 |
|
<param name = "name">The name of the column.</param>
|
1092 |
|
<param name = "storeType">Provider specific data type to use for this column.</param>
|
1093 |
|
<returns>The newly constructed column definition.</returns>
|
1094 |
|
</member>
|
1095 |
|
<member name="M:System.Data.Entity.Migrations.Builders.ColumnBuilder.String(System.Nullable{System.Boolean},System.Nullable{System.Int32},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.String,System.String,System.String,System.String)">
|
1096 |
|
<summary>
|
1097 |
|
Creates a new column definition to store String data.
|
1098 |
|
</summary>
|
1099 |
|
<param name = "nullable">Value indicating whether or not the column allows null values.</param>
|
1100 |
|
<param name = "maxLength">The maximum allowable length of the string data.</param>
|
1101 |
|
<param name = "fixedLength">Value indicating whether or not all data should be padded to the maximum length.</param>
|
1102 |
|
<param name = "isMaxLength">Value indicating whether or not the maximum length supported by the database provider should be used.</param>
|
1103 |
|
<param name = "unicode">Value indicating whether or not the column supports Unicode content.</param>
|
1104 |
|
<param name = "defaultValue">Constant value to use as the default value for this column.</param>
|
1105 |
|
<param name = "defaultValueSql">SQL expression used as the default value for this column.</param>
|
1106 |
|
<param name = "name">The name of the column.</param>
|
1107 |
|
<param name = "storeType">Provider specific data type to use for this column.</param>
|
1108 |
|
<returns>The newly constructed column definition.</returns>
|
1109 |
|
</member>
|
1110 |
|
<member name="M:System.Data.Entity.Migrations.Builders.ColumnBuilder.Time(System.Nullable{System.Boolean},System.Nullable{System.Byte},System.Nullable{System.TimeSpan},System.String,System.String,System.String)">
|
1111 |
|
<summary>
|
1112 |
|
Creates a new column definition to store Time data.
|
1113 |
|
</summary>
|
1114 |
|
<param name = "nullable">Value indicating whether or not the column allows null values.</param>
|
1115 |
|
<param name = "precision">The precision of the column.</param>
|
1116 |
|
<param name = "defaultValue">Constant value to use as the default value for this column.</param>
|
1117 |
|
<param name = "defaultValueSql">SQL expression used as the default value for this column.</param>
|
1118 |
|
<param name = "name">The name of the column.</param>
|
1119 |
|
<param name = "storeType">Provider specific data type to use for this column.</param>
|
1120 |
|
<returns>The newly constructed column definition.</returns>
|
1121 |
|
</member>
|
1122 |
|
<member name="M:System.Data.Entity.Migrations.Builders.ColumnBuilder.DateTimeOffset(System.Nullable{System.Boolean},System.Nullable{System.Byte},System.Nullable{System.DateTimeOffset},System.String,System.String,System.String)">
|
1123 |
|
<summary>
|
1124 |
|
Creates a new column definition to store DateTimeOffset data.
|
1125 |
|
</summary>
|
1126 |
|
<param name = "nullable">Value indicating whether or not the column allows null values.</param>
|
1127 |
|
<param name = "precision">The precision of the column.</param>
|
1128 |
|
<param name = "defaultValue">Constant value to use as the default value for this column.</param>
|
1129 |
|
<param name = "defaultValueSql">SQL expression used as the default value for this column.</param>
|
1130 |
|
<param name = "name">The name of the column.</param>
|
1131 |
|
<param name = "storeType">Provider specific data type to use for this column.</param>
|
1132 |
|
<returns>The newly constructed column definition.</returns>
|
1133 |
|
</member>
|
1134 |
|
<member name="T:System.Data.Entity.Migrations.Builders.TableBuilder`1">
|
1135 |
|
<summary>
|
1136 |
|
Helper class that is used to further configure a table being created from a CreateTable call on <see cref="T:System.Data.Entity.Migrations.DbMigration"/>.
|
1137 |
|
</summary>
|
1138 |
|
</member>
|
1139 |
|
<member name="M:System.Data.Entity.Migrations.Builders.TableBuilder`1.#ctor(System.Data.Entity.Migrations.Model.CreateTableOperation,System.Data.Entity.Migrations.DbMigration)">
|
1140 |
|
<summary>
|
1141 |
|
Initializes a new instance of the TableBuilder class.
|
1142 |
|
</summary>
|
1143 |
|
<param name = "createTableOperation">The table creation operation to be further configured.</param>
|
1144 |
|
<param name = "migration">The migration the table is created in.</param>
|
1145 |
|
</member>
|
1146 |
|
<member name="M:System.Data.Entity.Migrations.Builders.TableBuilder`1.PrimaryKey(System.Linq.Expressions.Expression{System.Func{`0,System.Object}},System.String,System.Object)">
|
1147 |
|
<summary>
|
1148 |
|
Specifies a primary key for the table.
|
1149 |
|
</summary>
|
1150 |
|
<param name = "keyExpression">
|
1151 |
|
A lambda expression representing the property to be used as the primary key.
|
1152 |
|
C#: t => t.Id
|
1153 |
|
VB.Net: Function(t) t.Id
|
1154 |
|
|
1155 |
|
If the primary key is made up of multiple properties then specify an anonymous type including the properties.
|
1156 |
|
C#: t => new { t.Id1, t.Id2 }
|
1157 |
|
VB.Net: Function(t) New With { t.Id1, t.Id2 }
|
1158 |
|
</param>
|
1159 |
|
<param name = "name">
|
1160 |
|
The name of the primary key.
|
1161 |
|
If null is supplied, a default name will be generated.</param>
|
1162 |
|
<param name = "anonymousArguments">
|
1163 |
|
Additional arguments that may be processed by providers.
|
1164 |
|
Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'.
|
1165 |
|
</param>
|
1166 |
|
<returns>Itself, so that multiple calls can be chained.</returns>
|
1167 |
|
</member>
|
1168 |
|
<member name="M:System.Data.Entity.Migrations.Builders.TableBuilder`1.Index(System.Linq.Expressions.Expression{System.Func{`0,System.Object}},System.Boolean,System.Object)">
|
1169 |
|
<summary>
|
1170 |
|
Specifies an index to be created on the table.
|
1171 |
|
</summary>
|
1172 |
|
<param name = "indexExpression">
|
1173 |
|
A lambda expression representing the property to be indexed.
|
1174 |
|
C#: t => t.PropertyOne
|
1175 |
|
VB.Net: Function(t) t.PropertyOne
|
1176 |
|
|
1177 |
|
If multiple properties are to be indexed then specify an anonymous type including the properties.
|
1178 |
|
C#: t => new { t.PropertyOne, t.PropertyTwo }
|
1179 |
|
VB.Net: Function(t) New With { t.PropertyOne, t.PropertyTwo }
|
1180 |
|
</param>
|
1181 |
|
<param name = "unique">A value indicating whether or not this is a unique index.</param>
|
1182 |
|
<param name = "anonymousArguments">
|
1183 |
|
Additional arguments that may be processed by providers.
|
1184 |
|
Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'.
|
1185 |
|
</param>
|
1186 |
|
<returns>Itself, so that multiple calls can be chained.</returns>
|
1187 |
|
</member>
|
1188 |
|
<member name="M:System.Data.Entity.Migrations.Builders.TableBuilder`1.ForeignKey(System.String,System.Linq.Expressions.Expression{System.Func{`0,System.Object}},System.Boolean,System.String,System.Object)">
|
1189 |
|
<summary>
|
1190 |
|
Specifies a foreign key constraint to be created on the table.
|
1191 |
|
</summary>
|
1192 |
|
<param name = "principalTable">Name of the table that the foreign key constraint targets.</param>
|
1193 |
|
<param name = "dependentKeyExpression">
|
1194 |
|
A lambda expression representing the properties of the foreign key.
|
1195 |
|
C#: t => t.PropertyOne
|
1196 |
|
VB.Net: Function(t) t.PropertyOne
|
1197 |
|
|
1198 |
|
If multiple properties make up the foreign key then specify an anonymous type including the properties.
|
1199 |
|
C#: t => new { t.PropertyOne, t.PropertyTwo }
|
1200 |
|
VB.Net: Function(t) New With { t.PropertyOne, t.PropertyTwo }</param>
|
1201 |
|
<param name = "cascadeDelete">
|
1202 |
|
A value indicating whether or not cascade delete should be configured on the foreign key constraint.
|
1203 |
|
</param>
|
1204 |
|
<param name = "name">
|
1205 |
|
The name of this foreign key constraint.
|
1206 |
|
If no name is supplied, a default name will be calculated.
|
1207 |
|
</param>
|
1208 |
|
<param name = "anonymousArguments">
|
1209 |
|
Additional arguments that may be processed by providers.
|
1210 |
|
Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'.
|
1211 |
|
</param>
|
1212 |
|
<returns>Itself, so that multiple calls can be chained.</returns>
|
1213 |
|
</member>
|
1214 |
|
<member name="T:System.Data.Entity.Migrations.DbMigration">
|
1215 |
|
<summary>
|
1216 |
|
Base class for code-based migrations.
|
1217 |
|
</summary>
|
1218 |
|
</member>
|
1219 |
|
<member name="M:System.Data.Entity.Migrations.DbMigration.Up">
|
1220 |
|
<summary>
|
1221 |
|
Operations to be performed during the upgrade process.
|
1222 |
|
</summary>
|
1223 |
|
</member>
|
1224 |
|
<member name="M:System.Data.Entity.Migrations.DbMigration.Down">
|
1225 |
|
<summary>
|
1226 |
|
Operations to be performed during the downgrade process.
|
1227 |
|
</summary>
|
1228 |
|
</member>
|
1229 |
|
<member name="M:System.Data.Entity.Migrations.DbMigration.CreateTable``1(System.String,System.Func{System.Data.Entity.Migrations.Builders.ColumnBuilder,``0},System.Object)">
|
1230 |
|
<summary>
|
1231 |
|
Adds an operation to create a new table.
|
1232 |
|
</summary>
|
1233 |
|
<typeparam name = "TColumns">
|
1234 |
|
The columns in this create table operation.
|
1235 |
|
You do not need to specify this type, it will be inferred from the columnsAction parameter you supply.
|
1236 |
|
</typeparam>
|
1237 |
|
<param name = "name">The name of the table. Schema name is optional, if no schema is specified then dbo is assumed.</param>
|
1238 |
|
<param name = "columnsAction">
|
1239 |
|
An action that specifies the columns to be included in the table.
|
1240 |
|
i.e. t => new { Id = t.Int(identity: true), Name = t.String() }</param>
|
1241 |
|
<param name = "anonymousArguments">
|
1242 |
|
Additional arguments that may be processed by providers.
|
1243 |
|
Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'.
|
1244 |
|
</param>
|
1245 |
|
<returns>An object that allows further configuration of the table creation operation.</returns>
|
1246 |
|
</member>
|
1247 |
|
<member name="M:System.Data.Entity.Migrations.DbMigration.AddForeignKey(System.String,System.String,System.String,System.String,System.Boolean,System.String,System.Object)">
|
1248 |
|
<summary>
|
1249 |
|
Adds an operation to create a new foreign key constraint.
|
1250 |
|
</summary>
|
1251 |
|
<param name = "dependentTable">
|
1252 |
|
The table that contains the foreign key column.
|
1253 |
|
Schema name is optional, if no schema is specified then dbo is assumed.
|
1254 |
|
</param>
|
1255 |
|
<param name = "dependentColumn">The foreign key column.</param>
|
1256 |
|
<param name = "principalTable">
|
1257 |
|
The table that contains the column this foreign key references.
|
1258 |
|
Schema name is optional, if no schema is specified then dbo is assumed.
|
1259 |
|
</param>
|
1260 |
|
<param name = "principalColumn">
|
1261 |
|
The column this foreign key references.
|
1262 |
|
If no value is supplied the primary key of the principal table will be referenced.
|
1263 |
|
</param>
|
1264 |
|
<param name = "cascadeDelete">
|
1265 |
|
A value indicating if cascade delete should be configured for the foreign key relationship.
|
1266 |
|
If no value is supplied, cascade delete will be off.
|
1267 |
|
</param>
|
1268 |
|
<param name = "name">
|
1269 |
|
The name of the foreign key constraint in the database.
|
1270 |
|
If no value is supplied a unique name will be generated.
|
1271 |
|
</param>
|
1272 |
|
<param name = "anonymousArguments">
|
1273 |
|
Additional arguments that may be processed by providers.
|
1274 |
|
Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'.
|
1275 |
|
</param>
|
1276 |
|
</member>
|
1277 |
|
<member name="M:System.Data.Entity.Migrations.DbMigration.AddForeignKey(System.String,System.String[],System.String,System.String[],System.Boolean,System.String,System.Object)">
|
1278 |
|
<summary>
|
1279 |
|
Adds an operation to create a new foreign key constraint.
|
1280 |
|
</summary>
|
1281 |
|
<param name = "dependentTable">
|
1282 |
|
The table that contains the foreign key columns.
|
1283 |
|
Schema name is optional, if no schema is specified then dbo is assumed.
|
1284 |
|
</param>
|
1285 |
|
<param name = "dependentColumns">The foreign key columns.</param>
|
1286 |
|
<param name = "principalTable">
|
1287 |
|
The table that contains the columns this foreign key references.
|
1288 |
|
Schema name is optional, if no schema is specified then dbo is assumed.
|
1289 |
|
</param>
|
1290 |
|
<param name = "principalColumns">
|
1291 |
|
The columns this foreign key references.
|
1292 |
|
If no value is supplied the primary key of the principal table will be referenced.
|
1293 |
|
</param>
|
1294 |
|
<param name = "cascadeDelete">
|
1295 |
|
A value indicating if cascade delete should be configured for the foreign key relationship.
|
1296 |
|
If no value is supplied, cascade delete will be off.
|
1297 |
|
</param>
|
1298 |
|
<param name = "name">
|
1299 |
|
The name of the foreign key constraint in the database.
|
1300 |
|
If no value is supplied a unique name will be generated.
|
1301 |
|
</param>
|
1302 |
|
<param name = "anonymousArguments">
|
1303 |
|
Additional arguments that may be processed by providers.
|
1304 |
|
Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'.
|
1305 |
|
</param>
|
1306 |
|
</member>
|
1307 |
|
<member name="M:System.Data.Entity.Migrations.DbMigration.DropForeignKey(System.String,System.String,System.Object)">
|
1308 |
|
<summary>
|
1309 |
|
Adds an operation to drop a foreign key constraint based on its name.
|
1310 |
|
</summary>
|
1311 |
|
<param name = "dependentTable">
|
1312 |
|
The table that contains the foreign key column.
|
1313 |
|
Schema name is optional, if no schema is specified then dbo is assumed.
|
1314 |
|
</param>
|
1315 |
|
<param name = "name">The name of the foreign key constraint in the database.</param>
|
1316 |
|
<param name = "anonymousArguments">
|
1317 |
|
Additional arguments that may be processed by providers.
|
1318 |
|
Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'.
|
1319 |
|
</param>
|
1320 |
|
</member>
|
1321 |
|
<member name="M:System.Data.Entity.Migrations.DbMigration.DropForeignKey(System.String,System.String,System.String,System.String,System.Object)">
|
1322 |
|
<summary>
|
1323 |
|
Adds an operation to drop a foreign key constraint based on the column it targets.
|
1324 |
|
</summary>
|
1325 |
|
<param name = "dependentTable">
|
1326 |
|
The table that contains the foreign key column.
|
1327 |
|
Schema name is optional, if no schema is specified then dbo is assumed.
|
1328 |
|
</param>
|
1329 |
|
<param name = "dependentColumn">The foreign key column.</param>
|
1330 |
|
<param name = "principalTable">
|
1331 |
|
The table that contains the column this foreign key references.
|
1332 |
|
Schema name is optional, if no schema is specified then dbo is assumed.
|
1333 |
|
</param>
|
1334 |
|
<param name = "principalColumn">The columns this foreign key references.</param>
|
1335 |
|
<param name = "anonymousArguments">
|
1336 |
|
Additional arguments that may be processed by providers.
|
1337 |
|
Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'.
|
1338 |
|
</param>
|
1339 |
|
</member>
|
1340 |
|
<member name="M:System.Data.Entity.Migrations.DbMigration.DropForeignKey(System.String,System.String[],System.String,System.Object)">
|
1341 |
|
<summary>
|
1342 |
|
Adds an operation to drop a foreign key constraint based on the columns it targets.
|
1343 |
|
</summary>
|
1344 |
|
<param name = "dependentTable">
|
1345 |
|
The table that contains the foreign key columns.
|
1346 |
|
Schema name is optional, if no schema is specified then dbo is assumed.
|
1347 |
|
</param>
|
1348 |
|
<param name = "dependentColumns">The foreign key columns.</param>
|
1349 |
|
<param name = "principalTable">
|
1350 |
|
The table that contains the columns this foreign key references.
|
1351 |
|
Schema name is optional, if no schema is specified then dbo is assumed.
|
1352 |
|
</param>
|
1353 |
|
<param name = "principalColumns">The columns this foreign key references.</param>
|
1354 |
|
<param name = "anonymousArguments">
|
1355 |
|
Additional arguments that may be processed by providers.
|
1356 |
|
Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'.
|
1357 |
|
</param>
|
1358 |
|
</member>
|
1359 |
|
<member name="M:System.Data.Entity.Migrations.DbMigration.DropTable(System.String,System.Object)">
|
1360 |
|
<summary>
|
1361 |
|
Adds an operation to drop a table.
|
1362 |
|
</summary>
|
1363 |
|
<param name = "name">
|
1364 |
|
The name of the table to be dropped.
|
1365 |
|
Schema name is optional, if no schema is specified then dbo is assumed.
|
1366 |
|
</param>
|
1367 |
|
<param name = "anonymousArguments">
|
1368 |
|
Additional arguments that may be processed by providers.
|
1369 |
|
Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'.
|
1370 |
|
</param>
|
1371 |
|
</member>
|
1372 |
|
<member name="M:System.Data.Entity.Migrations.DbMigration.MoveTable(System.String,System.String,System.Object)">
|
1373 |
|
<summary>
|
1374 |
|
Adds an operation to move a table to a new schema.
|
1375 |
|
</summary>
|
1376 |
|
<param name = "name">
|
1377 |
|
The name of the table to be moved.
|
1378 |
|
Schema name is optional, if no schema is specified then dbo is assumed.
|
1379 |
|
</param>
|
1380 |
|
<param name = "newSchema">The schema the table is to be moved to.</param>
|
1381 |
|
<param name = "anonymousArguments">
|