Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Update Entity Framework in externals to the 6.1.1 release. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
d41090f6e09800ea2e26208bad3f3c8a |
User & Date: | mistachkin 2014-07-31 22:36:08.996 |
Context
2014-08-02
| ||
00:02 | Make sure the 32-bit-only flagged executable assemblies are re-signed properly and use them for the 32-bit setup packages. check-in: 7a3c948114 user: mistachkin tags: trunk | |
2014-08-01
| ||
03:12 | Initial support for loading/saving options in the design-time components. check-in: b26261e090 user: mistachkin tags: designOptions | |
2014-07-31
| ||
22:36 | Update Entity Framework in externals to the 6.1.1 release. check-in: d41090f6e0 user: mistachkin tags: trunk | |
22:35 | Clarify description for the Ngen task in the setup packages. check-in: 23e6a9b85f user: mistachkin tags: trunk | |
Changes
Changes to Externals/EntityFramework/lib/net40/EntityFramework.SqlServer.dll.
cannot compute difference between binary files
Changes to Externals/EntityFramework/lib/net40/EntityFramework.SqlServer.xml.
︙ | ︙ | |||
1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 | </summary> <param name="connection">Connection to a non-existent database that needs to be created and populated with the store objects indicated with the storeItemCollection parameter.</param> <param name="commandTimeout">Execution timeout for any commands needed to create the database.</param> <param name="storeItemCollection">The collection of all store items based on which the script should be created.</param> </member> <member name="M:System.Data.Entity.SqlServer.SqlProviderServices.DbDatabaseExists(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Data.Entity.Core.Metadata.Edm.StoreItemCollection)"> <summary> Determines whether the database for the given connection exists. There are three cases: 1. Initial Catalog = X, AttachDBFilename = null: (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 2. Initial Catalog = X, AttachDBFilename = F: if (SELECT Count(*) FROM sys.databases WHERE [name]= X) > true, if not, try to open the connection and then return (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 3. Initial Catalog = null, AttachDBFilename = F: Try to open the connection. If that succeeds the result is true, otherwise if the there are no databases corresponding to the given file return false, otherwise throw. | > > > > > > > > > > > > > > > > > > > | 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 | </summary> <param name="connection">Connection to a non-existent database that needs to be created and populated with the store objects indicated with the storeItemCollection parameter.</param> <param name="commandTimeout">Execution timeout for any commands needed to create the database.</param> <param name="storeItemCollection">The collection of all store items based on which the script should be created.</param> </member> <member name="M:System.Data.Entity.SqlServer.SqlProviderServices.DbDatabaseExists(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Data.Entity.Core.Metadata.Edm.StoreItemCollection)"> <summary> Determines whether the database for the given connection exists. There are three cases: 1. Initial Catalog = X, AttachDBFilename = null: (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 2. Initial Catalog = X, AttachDBFilename = F: if (SELECT Count(*) FROM sys.databases WHERE [name]= X) > true, if not, try to open the connection and then return (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 3. Initial Catalog = null, AttachDBFilename = F: Try to open the connection. If that succeeds the result is true, otherwise if the there are no databases corresponding to the given file return false, otherwise throw. Note: We open the connection to cover the scenario when the mdf exists, but is not attached. Given that opening the connection would auto-attach it, it would not be appropriate to return false in this case. Also note that checking for the existence of the file does not work for a remote server. (Dev11 #290487) For further details on the behavior when AttachDBFilename is specified see Dev10# 188936 </summary> <param name="connection">Connection to a database whose existence is checked by this method.</param> <param name="commandTimeout">Execution timeout for any commands needed to determine the existence of the database.</param> <param name="storeItemCollection">The collection of all store items from the model. This parameter is no longer used for determining database existence.</param> <returns>True if the provider can deduce the database only based on the connection.</returns> </member> <member name="M:System.Data.Entity.SqlServer.SqlProviderServices.DbDatabaseExists(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Lazy{System.Data.Entity.Core.Metadata.Edm.StoreItemCollection})"> <summary> Determines whether the database for the given connection exists. There are three cases: 1. Initial Catalog = X, AttachDBFilename = null: (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 2. Initial Catalog = X, AttachDBFilename = F: if (SELECT Count(*) FROM sys.databases WHERE [name]= X) > true, if not, try to open the connection and then return (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 3. Initial Catalog = null, AttachDBFilename = F: Try to open the connection. If that succeeds the result is true, otherwise if the there are no databases corresponding to the given file return false, otherwise throw. |
︙ | ︙ |
Changes to Externals/EntityFramework/lib/net40/EntityFramework.dll.
cannot compute difference between binary files
Changes to Externals/EntityFramework/lib/net40/EntityFramework.xml.
︙ | ︙ | |||
6180 6181 6182 6183 6184 6185 6186 | <summary> Specifies a single clause in an insert or update modification operation, see <see cref="P:System.Data.Entity.Core.Common.CommandTrees.DbInsertCommandTree.SetClauses"/> and <see cref="P:System.Data.Entity.Core.Common.CommandTrees.DbUpdateCommandTree.SetClauses"/> </summary> <remarks> An abstract base class allows the possibility of patterns other than Property = Value in future versions, e.g., | | | | 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 | <summary> Specifies a single clause in an insert or update modification operation, see <see cref="P:System.Data.Entity.Core.Common.CommandTrees.DbInsertCommandTree.SetClauses"/> and <see cref="P:System.Data.Entity.Core.Common.CommandTrees.DbUpdateCommandTree.SetClauses"/> </summary> <remarks> An abstract base class allows the possibility of patterns other than Property = Value in future versions, e.g., <code>update SomeTable set ComplexTypeColumn.SomeProperty() where Id = 2</code> </remarks> </member> <member name="T:System.Data.Entity.Core.Common.CommandTrees.DbQueryCommandTree"> <summary>Represents a query operation expressed as a command tree. This class cannot be inherited. </summary> </member> <member name="M:System.Data.Entity.Core.Common.CommandTrees.DbQueryCommandTree.#ctor(System.Data.Entity.Core.Metadata.Edm.MetadataWorkspace,System.Data.Entity.Core.Metadata.Edm.DataSpace,System.Data.Entity.Core.Common.CommandTrees.DbExpression,System.Boolean,System.Boolean)"> |
︙ | ︙ | |||
7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 | Creates a new <see cref="T:System.Data.Entity.Core.Common.CommandTrees.DbPropertyExpression" /> representing the retrieval of the instance property with the specified name from the given instance. </summary> <returns>A new DbPropertyExpression that represents the property retrieval.</returns> <param name="instance">The instance from which to retrieve the property.</param> <param name="propertyName">The name of the property to retrieve.</param> <exception cref="T:System.ArgumentNullException">propertyName is null or instance is null and the property is not static.</exception> <exception cref="T:System.ArgumentOutOfRangeException">No property with the specified name is declared by the type of instance.</exception> </member> <member name="M:System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder.DbExpressionBuilder.All(System.Data.Entity.Core.Common.CommandTrees.DbExpression,System.Func{System.Data.Entity.Core.Common.CommandTrees.DbExpression,System.Data.Entity.Core.Common.CommandTrees.DbExpression})"> <summary> Creates a new <see cref="T:System.Data.Entity.Core.Common.CommandTrees.DbQuantifierExpression" /> that determines whether the given predicate holds for all elements of the input set. </summary> <returns>A new DbQuantifierExpression that represents the All operation.</returns> <param name="source">An expression that specifies the input set.</param> | > > > > > > > > | 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 | Creates a new <see cref="T:System.Data.Entity.Core.Common.CommandTrees.DbPropertyExpression" /> representing the retrieval of the instance property with the specified name from the given instance. </summary> <returns>A new DbPropertyExpression that represents the property retrieval.</returns> <param name="instance">The instance from which to retrieve the property.</param> <param name="propertyName">The name of the property to retrieve.</param> <exception cref="T:System.ArgumentNullException">propertyName is null or instance is null and the property is not static.</exception> <exception cref="T:System.ArgumentOutOfRangeException">No property with the specified name is declared by the type of instance.</exception> </member> <member name="M:System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder.DbExpressionBuilder.SetClause(System.Data.Entity.Core.Common.CommandTrees.DbExpression,System.Data.Entity.Core.Common.CommandTrees.DbExpression)"> <summary> Creates a new <see cref="T:System.Data.Entity.Core.Common.CommandTrees.DbSetClause" /> representing setting a property to a value. </summary> <param name="property">The property to be set.</param> <param name="value">The value to set the property to.</param> <returns>The newly created set clause.</returns> </member> <member name="M:System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder.DbExpressionBuilder.All(System.Data.Entity.Core.Common.CommandTrees.DbExpression,System.Func{System.Data.Entity.Core.Common.CommandTrees.DbExpression,System.Data.Entity.Core.Common.CommandTrees.DbExpression})"> <summary> Creates a new <see cref="T:System.Data.Entity.Core.Common.CommandTrees.DbQuantifierExpression" /> that determines whether the given predicate holds for all elements of the input set. </summary> <returns>A new DbQuantifierExpression that represents the All operation.</returns> <param name="source">An expression that specifies the input set.</param> |
︙ | ︙ | |||
13099 13100 13101 13102 13103 13104 13105 | More control over caching is provided through use of the DbModelBuilder and DbContextFactory classes directly. </remarks> <param name="modelBuilder"> The builder that defines the model for the context being created. </param> </member> <member name="M:System.Data.Entity.DbContext.Set``1"> <summary> | | | > > > > | | | > > > > | | 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 | More control over caching is provided through use of the DbModelBuilder and DbContextFactory classes directly. </remarks> <param name="modelBuilder"> The builder that defines the model for the context being created. </param> </member> <member name="M:System.Data.Entity.DbContext.Set``1"> <summary> Returns a <see cref="T:System.Data.Entity.DbSet`1"/> instance for access to entities of the given type in the context and the underlying store. </summary> <remarks> Note that Entity Framework requires that this method return the same instance each time that it is called for a given context instance and entity type. Also, the non-generic <see cref="T:System.Data.Entity.DbSet"/> returned by the <see cref="M:System.Data.Entity.DbContext.Set(System.Type)"/> method must wrap the same underlying query and set of entities. These invariants must be maintained if this method is overridden for anything other than creating test doubles for unit testing. See the <see cref="T:System.Data.Entity.DbSet`1"/> class for more details. </remarks> <typeparam name="TEntity"> The type entity for which a set should be returned. </typeparam> <returns> A set for the given entity type. </returns> </member> <member name="M:System.Data.Entity.DbContext.Set(System.Type)"> <summary> Returns a non-generic <see cref="T:System.Data.Entity.DbSet"/> instance for access to entities of the given type in the context and the underlying store. </summary> <param name="entityType"> The type of entity for which a set should be returned. </param> <returns> A set for the given entity type. </returns> <remarks> Note that Entity Framework requires that this method return the same instance each time that it is called for a given context instance and entity type. Also, the generic <see cref="T:System.Data.Entity.DbSet`1"/> returned by the <see cref="M:System.Data.Entity.DbContext.Set(System.Type)"/> method must wrap the same underlying query and set of entities. These invariants must be maintained if this method is overridden for anything other than creating test doubles for unit testing. See the <see cref="T:System.Data.Entity.DbSet"/> class for more details. </remarks> </member> <member name="M:System.Data.Entity.DbContext.SaveChanges"> <summary> Saves all changes made in this context to the underlying database. </summary> <returns> The number of objects written to the underlying database. </returns> |
︙ | ︙ | |||
16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 | <summary> Gets the <see cref="T:System.Data.Entity.Infrastructure.IDbExecutionStrategy"/> that will be used to execute methods that use the specified connection. </summary> <param name="connection">The database connection</param> <returns> A new instance of <see cref="T:System.Data.Entity.Infrastructure.DbExecutionStrategy"/> </returns> </member> <member name="M:System.Data.Entity.Core.Common.DbProviderServices.GetSpatialDataReader(System.Data.Common.DbDataReader,System.String)"> <summary> Gets the spatial data reader for the <see cref="T:System.Data.Entity.Core.Common.DbProviderServices" />. </summary> <returns>The spatial data reader.</returns> <param name="fromReader">The reader where the spatial data came from.</param> | > > > > > > > > > > > | 16901 16902 16903 16904 16905 16906 16907 16908 16909 16910 16911 16912 16913 16914 16915 16916 16917 16918 16919 16920 16921 16922 16923 16924 16925 | <summary> Gets the <see cref="T:System.Data.Entity.Infrastructure.IDbExecutionStrategy"/> that will be used to execute methods that use the specified connection. </summary> <param name="connection">The database connection</param> <returns> A new instance of <see cref="T:System.Data.Entity.Infrastructure.DbExecutionStrategy"/> </returns> </member> <member name="M:System.Data.Entity.Core.Common.DbProviderServices.GetExecutionStrategy(System.Data.Common.DbConnection,System.String)"> <summary> Gets the <see cref="T:System.Data.Entity.Infrastructure.IDbExecutionStrategy"/> that will be used to execute methods that use the specified connection. This overload should be used by the derived classes for compatability with wrapping providers. </summary> <param name="connection">The database connection</param> <param name="providerInvariantName">The provider invariant name</param> <returns> A new instance of <see cref="T:System.Data.Entity.Infrastructure.DbExecutionStrategy"/> </returns> </member> <member name="M:System.Data.Entity.Core.Common.DbProviderServices.GetSpatialDataReader(System.Data.Common.DbDataReader,System.String)"> <summary> Gets the spatial data reader for the <see cref="T:System.Data.Entity.Core.Common.DbProviderServices" />. </summary> <returns>The spatial data reader.</returns> <param name="fromReader">The reader where the spatial data came from.</param> |
︙ | ︙ | |||
17008 17009 17010 17011 17012 17013 17014 17015 17016 17017 17018 17019 17020 17021 17022 17023 17024 17025 17026 17027 17028 | </member> <member name="M:System.Data.Entity.Core.Common.DbProviderServices.DatabaseExists(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Data.Entity.Core.Metadata.Edm.StoreItemCollection)"> <summary>Returns a value indicating whether a given database exists on the server.</summary> <returns>True if the provider can deduce the database only based on the connection.</returns> <param name="connection">Connection to a database whose existence is checked by this method.</param> <param name="commandTimeout">Execution timeout for any commands needed to determine the existence of the database.</param> <param name="storeItemCollection">The collection of all store items from the model. This parameter is no longer used for determining database existence.</param> </member> <member name="M:System.Data.Entity.Core.Common.DbProviderServices.DbDatabaseExists(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Data.Entity.Core.Metadata.Edm.StoreItemCollection)"> <summary>Returns a value indicating whether a given database exists on the server.</summary> <returns>True if the provider can deduce the database only based on the connection.</returns> <param name="connection">Connection to a database whose existence is checked by this method.</param> <param name="commandTimeout">Execution timeout for any commands needed to determine the existence of the database.</param> <param name="storeItemCollection">The collection of all store items from the model. This parameter is no longer used for determining database existence.</param> </member> <member name="M:System.Data.Entity.Core.Common.DbProviderServices.DeleteDatabase(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Data.Entity.Core.Metadata.Edm.StoreItemCollection)"> <summary>Deletes the specified database.</summary> <param name="connection">Connection to an existing database that needs to be deleted.</param> <param name="commandTimeout">Execution timeout for any commands needed to delete the database.</param> <param name="storeItemCollection">The collection of all store items from the model. This parameter is no longer used for database deletion.</param> </member> | > > > > > > > > > > > > > > > | 17035 17036 17037 17038 17039 17040 17041 17042 17043 17044 17045 17046 17047 17048 17049 17050 17051 17052 17053 17054 17055 17056 17057 17058 17059 17060 17061 17062 17063 17064 17065 17066 17067 17068 17069 17070 | </member> <member name="M:System.Data.Entity.Core.Common.DbProviderServices.DatabaseExists(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Data.Entity.Core.Metadata.Edm.StoreItemCollection)"> <summary>Returns a value indicating whether a given database exists on the server.</summary> <returns>True if the provider can deduce the database only based on the connection.</returns> <param name="connection">Connection to a database whose existence is checked by this method.</param> <param name="commandTimeout">Execution timeout for any commands needed to determine the existence of the database.</param> <param name="storeItemCollection">The collection of all store items from the model. This parameter is no longer used for determining database existence.</param> </member> <member name="M:System.Data.Entity.Core.Common.DbProviderServices.DatabaseExists(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Lazy{System.Data.Entity.Core.Metadata.Edm.StoreItemCollection})"> <summary>Returns a value indicating whether a given database exists on the server.</summary> <returns>True if the provider can deduce the database only based on the connection.</returns> <param name="connection">Connection to a database whose existence is checked by this method.</param> <param name="commandTimeout">Execution timeout for any commands needed to determine the existence of the database.</param> <param name="storeItemCollection">The collection of all store items from the model. This parameter is no longer used for determining database existence.</param> </member> <member name="M:System.Data.Entity.Core.Common.DbProviderServices.DbDatabaseExists(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Data.Entity.Core.Metadata.Edm.StoreItemCollection)"> <summary>Returns a value indicating whether a given database exists on the server.</summary> <returns>True if the provider can deduce the database only based on the connection.</returns> <param name="connection">Connection to a database whose existence is checked by this method.</param> <param name="commandTimeout">Execution timeout for any commands needed to determine the existence of the database.</param> <param name="storeItemCollection">The collection of all store items from the model. This parameter is no longer used for determining database existence.</param> </member> <member name="M:System.Data.Entity.Core.Common.DbProviderServices.DbDatabaseExists(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Lazy{System.Data.Entity.Core.Metadata.Edm.StoreItemCollection})"> <summary>Returns a value indicating whether a given database exists on the server.</summary> <returns>True if the provider can deduce the database only based on the connection.</returns> <param name="connection">Connection to a database whose existence is checked by this method.</param> <param name="commandTimeout">Execution timeout for any commands needed to determine the existence of the database.</param> <param name="storeItemCollection">The collection of all store items from the model. This parameter is no longer used for determining database existence.</param> <remarks>Override this method to avoid creating the store item collection if it is not needed. The default implementation evaluates the Lazy and calls the other overload of this method.</remarks> </member> <member name="M:System.Data.Entity.Core.Common.DbProviderServices.DeleteDatabase(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Data.Entity.Core.Metadata.Edm.StoreItemCollection)"> <summary>Deletes the specified database.</summary> <param name="connection">Connection to an existing database that needs to be deleted.</param> <param name="commandTimeout">Execution timeout for any commands needed to delete the database.</param> <param name="storeItemCollection">The collection of all store items from the model. This parameter is no longer used for database deletion.</param> </member> |
︙ | ︙ | |||
29689 29690 29691 29692 29693 29694 29695 | . </summary> <returns> An <see cref="T:System.Data.Entity.Core.Objects.ObjectResult`1" /> for the data that is returned by the stored procedure. </returns> <param name="functionName">The name of the stored procedure or function. The name can include the container name, such as <Container Name>.<Function Name>. When the default container name is known, only the function name is required.</param> <param name="parameters"> | | > > | 29731 29732 29733 29734 29735 29736 29737 29738 29739 29740 29741 29742 29743 29744 29745 29746 29747 | . </summary> <returns> An <see cref="T:System.Data.Entity.Core.Objects.ObjectResult`1" /> for the data that is returned by the stored procedure. </returns> <param name="functionName">The name of the stored procedure or function. The name can include the container name, such as <Container Name>.<Function Name>. When the default container name is known, only the function name is required.</param> <param name="parameters"> An array of <see cref="T:System.Data.Entity.Core.Objects.ObjectParameter" /> objects. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <typeparam name="TElement"> The entity type of the <see cref="T:System.Data.Entity.Core.Objects.ObjectResult`1" /> returned when the function is executed against the data source. This type must implement <see cref="T:System.Data.Entity.Core.Objects.DataClasses.IEntityWithChangeTracker" /> . </typeparam> |
︙ | ︙ | |||
29715 29716 29717 29718 29719 29720 29721 | An <see cref="T:System.Data.Entity.Core.Objects.ObjectResult`1" /> for the data that is returned by the stored procedure. </returns> <param name="functionName">The name of the stored procedure or function. The name can include the container name, such as <Container Name>.<Function Name>. When the default container name is known, only the function name is required.</param> <param name="mergeOption"> The <see cref="T:System.Data.Entity.Core.Objects.MergeOption" /> to use when executing the query. </param> <param name="parameters"> | | > > | > > > > | > > | 29759 29760 29761 29762 29763 29764 29765 29766 29767 29768 29769 29770 29771 29772 29773 29774 29775 29776 29777 29778 29779 29780 29781 29782 29783 29784 29785 29786 29787 29788 29789 29790 29791 29792 29793 29794 29795 29796 29797 29798 29799 29800 29801 29802 29803 29804 29805 29806 29807 29808 29809 29810 29811 29812 29813 29814 | An <see cref="T:System.Data.Entity.Core.Objects.ObjectResult`1" /> for the data that is returned by the stored procedure. </returns> <param name="functionName">The name of the stored procedure or function. The name can include the container name, such as <Container Name>.<Function Name>. When the default container name is known, only the function name is required.</param> <param name="mergeOption"> The <see cref="T:System.Data.Entity.Core.Objects.MergeOption" /> to use when executing the query. </param> <param name="parameters"> An array of <see cref="T:System.Data.Entity.Core.Objects.ObjectParameter" /> objects. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <typeparam name="TElement"> The entity type of the <see cref="T:System.Data.Entity.Core.Objects.ObjectResult`1" /> returned when the function is executed against the data source. This type must implement <see cref="T:System.Data.Entity.Core.Objects.DataClasses.IEntityWithChangeTracker" /> . </typeparam> <exception cref="T:System.ArgumentException"> function is null or empty or function is not found.</exception> <exception cref="T:System.InvalidOperationException">The entity reader does not support this function or there is a type mismatch on the reader and the function .</exception> </member> <member name="M:System.Data.Entity.Core.Objects.ObjectContext.ExecuteFunction``1(System.String,System.Data.Entity.Core.Objects.ExecutionOptions,System.Data.Entity.Core.Objects.ObjectParameter[])"> <summary> Executes the given function on the default container. </summary> <typeparam name="TElement"> Element type for function results. </typeparam> <param name="functionName"> Name of function. May include container (e.g. ContainerName.FunctionName) or just function name when DefaultContainerName is known. </param> <param name="executionOptions"> The options for executing this function. </param> <param name="parameters"> The parameter values to use for the function. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <returns>An object representing the result of executing this function.</returns> <exception cref="T:System.ArgumentException"> If function is null or empty </exception> <exception cref="T:System.InvalidOperationException"> If function is invalid (syntax, does not exist, refers to a function with return type incompatible with T) </exception> </member> <member name="M:System.Data.Entity.Core.Objects.ObjectContext.ExecuteFunction(System.String,System.Data.Entity.Core.Objects.ObjectParameter[])"> <summary>Executes a stored procedure or function that is defined in the data source and expressed in the conceptual model; discards any results returned from the function; and returns the number of rows affected by the execution.</summary> <returns>The number of rows affected.</returns> <param name="functionName">The name of the stored procedure or function. The name can include the container name, such as <Container Name>.<Function Name>. When the default container name is known, only the function name is required.</param> <param name="parameters"> An array of <see cref="T:System.Data.Entity.Core.Objects.ObjectParameter" /> objects. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <exception cref="T:System.ArgumentException"> function is null or empty or function is not found.</exception> <exception cref="T:System.InvalidOperationException">The entity reader does not support this function or there is a type mismatch on the reader and the function .</exception> </member> <member name="M:System.Data.Entity.Core.Objects.ObjectContext.CreateProxyTypes(System.Collections.Generic.IEnumerable{System.Type})"> <summary>Generates an equivalent type that can be used with the Entity Framework for each type in the supplied enumeration.</summary> <param name="types"> |
︙ | ︙ | |||
29825 29826 29827 29828 29829 29830 29831 | As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); </summary> <typeparam name="TElement"> The element type of the result sequence. </typeparam> <param name="commandText"> The query specified in the server's native query language. </param> | | > > > > | > > > > | 29877 29878 29879 29880 29881 29882 29883 29884 29885 29886 29887 29888 29889 29890 29891 29892 29893 29894 29895 29896 29897 29898 29899 29900 29901 29902 29903 29904 29905 29906 29907 29908 29909 29910 29911 29912 29913 29914 29915 29916 29917 29918 | As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); </summary> <typeparam name="TElement"> The element type of the result sequence. </typeparam> <param name="commandText"> The query specified in the server's native query language. </param> <param name="parameters"> The parameter values to use for the query. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <returns> An enumeration of objects of type <typeparamref name="TElement" /> . </returns> </member> <member name="M:System.Data.Entity.Core.Objects.ObjectContext.ExecuteStoreQuery``1(System.String,System.Data.Entity.Core.Objects.ExecutionOptions,System.Object[])"> <summary> Executes a query directly against the data source and returns a sequence of typed results. The query is specified using the server's native query language, such as SQL. Results are not tracked by the context, use the overload that specifies an entity set name to track results. As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); </summary> <typeparam name="TElement"> The element type of the result sequence. </typeparam> <param name="commandText"> The query specified in the server's native query language. </param> <param name="executionOptions"> The options for executing this query. </param> <param name="parameters"> The parameter values to use for the query. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <returns> An enumeration of objects of type <typeparamref name="TElement" /> . </returns> </member> <member name="M:System.Data.Entity.Core.Objects.ObjectContext.ExecuteStoreQuery``1(System.String,System.String,System.Data.Entity.Core.Objects.MergeOption,System.Object[])"> <summary> Executes a query directly against the data source and returns a sequence of typed results. |
︙ | ︙ | |||
29867 29868 29869 29870 29871 29872 29873 | <typeparam name="TElement"> The element type of the result sequence. </typeparam> <param name="commandText"> The query specified in the server's native query language. </param> <param name="entitySetName">The entity set of the TResult type. If an entity set name is not provided, the results are not going to be tracked.</param> <param name="mergeOption"> The <see cref="T:System.Data.Entity.Core.Objects.MergeOption" /> to use when executing the query. The default is <see cref="F:System.Data.Entity.Core.Objects.MergeOption.AppendOnly" />. </param> | | > > > > | > > > > | 29927 29928 29929 29930 29931 29932 29933 29934 29935 29936 29937 29938 29939 29940 29941 29942 29943 29944 29945 29946 29947 29948 29949 29950 29951 29952 29953 29954 29955 29956 29957 29958 29959 29960 29961 29962 29963 29964 29965 29966 29967 29968 29969 | <typeparam name="TElement"> The element type of the result sequence. </typeparam> <param name="commandText"> The query specified in the server's native query language. </param> <param name="entitySetName">The entity set of the TResult type. If an entity set name is not provided, the results are not going to be tracked.</param> <param name="mergeOption"> The <see cref="T:System.Data.Entity.Core.Objects.MergeOption" /> to use when executing the query. The default is <see cref="F:System.Data.Entity.Core.Objects.MergeOption.AppendOnly" />. </param> <param name="parameters"> The parameter values to use for the query. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <returns> An enumeration of objects of type <typeparamref name="TElement" /> . </returns> </member> <member name="M:System.Data.Entity.Core.Objects.ObjectContext.ExecuteStoreQuery``1(System.String,System.String,System.Data.Entity.Core.Objects.ExecutionOptions,System.Object[])"> <summary> Executes a query directly against the data source and returns a sequence of typed results. The query is specified using the server's native query language, such as SQL. If an entity set name is specified, results are tracked by the context. As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); </summary> <typeparam name="TElement"> The element type of the result sequence. </typeparam> <param name="commandText"> The query specified in the server's native query language. </param> <param name="entitySetName">The entity set of the TResult type. If an entity set name is not provided, the results are not going to be tracked.</param> <param name="executionOptions"> The options for executing this query. </param> <param name="parameters"> The parameter values to use for the query. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <returns> An enumeration of objects of type <typeparamref name="TElement" /> . </returns> </member> <member name="M:System.Data.Entity.Core.Objects.ObjectContext.Translate``1(System.Data.Common.DbDataReader)"> <summary> Translates a <see cref="T:System.Data.Common.DbDataReader" /> that contains rows of entity data to objects of the requested entity type. |
︙ | ︙ | |||
32480 32481 32482 32483 32484 32485 32486 32487 32488 32489 32490 32491 32492 32493 32494 32495 32496 32497 32498 32499 32500 | <param name="nameOrConnectionString"> The database name or connection string. </param> <returns> An initialized DbConnection. </returns> </member> <member name="M:System.Data.Entity.Infrastructure.LocalDbConnectionFactory.#ctor(System.String)"> <summary> Creates a new instance of the connection factory for the given version of LocalDb. For SQL Server 2012 LocalDb use "v11.0". </summary> <param name="localDbVersion"> The LocalDb version to use. </param> </member> <member name="M:System.Data.Entity.Infrastructure.LocalDbConnectionFactory.#ctor(System.String,System.String)"> <summary> Creates a new instance of the connection factory for the given version of LocalDb. For SQL Server 2012 LocalDb use "v11.0". </summary> <param name="localDbVersion"> The LocalDb version to use. </param> <param name="baseConnectionString"> The connection string to use for options to the database other than the 'Initial Catalog', 'Data Source', and 'AttachDbFilename'. The 'Initial Catalog' and 'AttachDbFilename' will be prepended to this string based on the database name when CreateConnection is called. The 'Data Source' will be set based on the LocalDbVersion argument. </param> </member> <member name="M:System.Data.Entity.Infrastructure.LocalDbConnectionFactory.CreateConnection(System.String)"> <summary> Creates a connection for SQL Server LocalDb based on the given database name or connection string. | > > | 32548 32549 32550 32551 32552 32553 32554 32555 32556 32557 32558 32559 32560 32561 32562 32563 32564 32565 32566 32567 32568 32569 32570 | <param name="nameOrConnectionString"> The database name or connection string. </param> <returns> An initialized DbConnection. </returns> </member> <member name="M:System.Data.Entity.Infrastructure.LocalDbConnectionFactory.#ctor(System.String)"> <summary> Creates a new instance of the connection factory for the given version of LocalDb. For SQL Server 2012 LocalDb use "v11.0". For SQL Server 2014 and later LocalDb use "mssqllocaldb". </summary> <param name="localDbVersion"> The LocalDb version to use. </param> </member> <member name="M:System.Data.Entity.Infrastructure.LocalDbConnectionFactory.#ctor(System.String,System.String)"> <summary> Creates a new instance of the connection factory for the given version of LocalDb. For SQL Server 2012 LocalDb use "v11.0". For SQL Server 2014 and later LocalDb use "mssqllocaldb". </summary> <param name="localDbVersion"> The LocalDb version to use. </param> <param name="baseConnectionString"> The connection string to use for options to the database other than the 'Initial Catalog', 'Data Source', and 'AttachDbFilename'. The 'Initial Catalog' and 'AttachDbFilename' will be prepended to this string based on the database name when CreateConnection is called. The 'Data Source' will be set based on the LocalDbVersion argument. </param> </member> <member name="M:System.Data.Entity.Infrastructure.LocalDbConnectionFactory.CreateConnection(System.String)"> <summary> Creates a connection for SQL Server LocalDb based on the given database name or connection string. |
︙ | ︙ | |||
32520 32521 32522 32523 32524 32525 32526 | to update the database to the latest version. </summary> <typeparam name="TContext">The type of the context.</typeparam> <typeparam name="TMigrationsConfiguration">The type of the migrations configuration to use during initialization.</typeparam> </member> <member name="M:System.Data.Entity.MigrateDatabaseToLatestVersion`2.#ctor"> <summary> | | > > > > > > > > > > > > > | 32590 32591 32592 32593 32594 32595 32596 32597 32598 32599 32600 32601 32602 32603 32604 32605 32606 32607 32608 32609 32610 32611 32612 32613 32614 32615 32616 32617 32618 | to update the database to the latest version. </summary> <typeparam name="TContext">The type of the context.</typeparam> <typeparam name="TMigrationsConfiguration">The type of the migrations configuration to use during initialization.</typeparam> </member> <member name="M:System.Data.Entity.MigrateDatabaseToLatestVersion`2.#ctor"> <summary> Initializes a new instance of the MigrateDatabaseToLatestVersion class that will use the connection information from a context constructed using the default constructor or registered factory if applicable </summary> </member> <member name="M:System.Data.Entity.MigrateDatabaseToLatestVersion`2.#ctor(System.Boolean)"> <summary> Initializes a new instance of the MigrateDatabaseToLatestVersion class specifying whether to use the connection information from the context that triggered initialization to perform the migration. </summary> <param name="useSuppliedContext"> If set to <c>true</c> the initializer is run using the connection information from the context that triggered initialization. Otherwise, the connection information will be taken from a context constructed using the default constructor or registered factory if applicable. </param> </member> <member name="M:System.Data.Entity.MigrateDatabaseToLatestVersion`2.#ctor(System.String)"> <summary> Initializes a new instance of the MigrateDatabaseToLatestVersion class that will use a specific connection string from the configuration file to connect to the database to perform the migration. </summary> |
︙ | ︙ | |||
34088 34089 34090 34091 34092 34093 34094 34095 34096 34097 34098 34099 34100 34101 | <member name="M:System.Data.Entity.Migrations.Design.CSharpMigrationCodeGenerator.WriteProperty(System.String,System.String,System.Data.Entity.Migrations.Utilities.IndentedTextWriter)"> <summary> Generates a property to return the source or target model in the code behind file. </summary> <param name="name"> Name of the property. </param> <param name="value"> Value to be returned. </param> <param name="writer"> Text writer to add the generated code to. </param> </member> <member name="M:System.Data.Entity.Migrations.Design.CSharpMigrationCodeGenerator.WriteClassStart(System.String,System.String,System.Data.Entity.Migrations.Utilities.IndentedTextWriter,System.String,System.Boolean,System.Collections.Generic.IEnumerable{System.String})"> <summary> Generates a namespace, using statements and class definition. </summary> <param name="namespace"> Namespace that code should be generated in. </param> <param name="className"> Name of the class that should be generated. </param> | > > > > > > > | 34171 34172 34173 34174 34175 34176 34177 34178 34179 34180 34181 34182 34183 34184 34185 34186 34187 34188 34189 34190 34191 | <member name="M:System.Data.Entity.Migrations.Design.CSharpMigrationCodeGenerator.WriteProperty(System.String,System.String,System.Data.Entity.Migrations.Utilities.IndentedTextWriter)"> <summary> Generates a property to return the source or target model in the code behind file. </summary> <param name="name"> Name of the property. </param> <param name="value"> Value to be returned. </param> <param name="writer"> Text writer to add the generated code to. </param> </member> <member name="M:System.Data.Entity.Migrations.Design.CSharpMigrationCodeGenerator.WriteClassAttributes(System.Data.Entity.Migrations.Utilities.IndentedTextWriter,System.Boolean)"> <summary> Generates class attributes. </summary> <param name="writer"> Text writer to add the generated code to. </param> <param name="designer"> A value indicating if this class is being generated for a code-behind file. </param> </member> <member name="M:System.Data.Entity.Migrations.Design.CSharpMigrationCodeGenerator.WriteClassStart(System.String,System.String,System.Data.Entity.Migrations.Utilities.IndentedTextWriter,System.String,System.Boolean,System.Collections.Generic.IEnumerable{System.String})"> <summary> Generates a namespace, using statements and class definition. </summary> <param name="namespace"> Namespace that code should be generated in. </param> <param name="className"> Name of the class that should be generated. </param> |
︙ | ︙ | |||
34685 34686 34687 34688 34689 34690 34691 34692 34693 34694 34695 34696 34697 34698 | <member name="M:System.Data.Entity.Migrations.Design.VisualBasicMigrationCodeGenerator.WriteProperty(System.String,System.String,System.Data.Entity.Migrations.Utilities.IndentedTextWriter)"> <summary> Generates a property to return the source or target model in the code behind file. </summary> <param name="name"> Name of the property. </param> <param name="value"> Value to be returned. </param> <param name="writer"> Text writer to add the generated code to. </param> </member> <member name="M:System.Data.Entity.Migrations.Design.VisualBasicMigrationCodeGenerator.WriteClassStart(System.String,System.String,System.Data.Entity.Migrations.Utilities.IndentedTextWriter,System.String,System.Boolean,System.Collections.Generic.IEnumerable{System.String})"> <summary> Generates a namespace, using statements and class definition. </summary> <param name="namespace"> Namespace that code should be generated in. </param> <param name="className"> Name of the class that should be generated. </param> | > > > > > > > | 34775 34776 34777 34778 34779 34780 34781 34782 34783 34784 34785 34786 34787 34788 34789 34790 34791 34792 34793 34794 34795 | <member name="M:System.Data.Entity.Migrations.Design.VisualBasicMigrationCodeGenerator.WriteProperty(System.String,System.String,System.Data.Entity.Migrations.Utilities.IndentedTextWriter)"> <summary> Generates a property to return the source or target model in the code behind file. </summary> <param name="name"> Name of the property. </param> <param name="value"> Value to be returned. </param> <param name="writer"> Text writer to add the generated code to. </param> </member> <member name="M:System.Data.Entity.Migrations.Design.VisualBasicMigrationCodeGenerator.WriteClassAttributes(System.Data.Entity.Migrations.Utilities.IndentedTextWriter,System.Boolean)"> <summary> Generates class attributes. </summary> <param name="writer"> Text writer to add the generated code to. </param> <param name="designer"> A value indicating if this class is being generated for a code-behind file. </param> </member> <member name="M:System.Data.Entity.Migrations.Design.VisualBasicMigrationCodeGenerator.WriteClassStart(System.String,System.String,System.Data.Entity.Migrations.Utilities.IndentedTextWriter,System.String,System.Boolean,System.Collections.Generic.IEnumerable{System.String})"> <summary> Generates a namespace, using statements and class definition. </summary> <param name="namespace"> Namespace that code should be generated in. </param> <param name="className"> Name of the class that should be generated. </param> |
︙ | ︙ | |||
39823 39824 39825 39826 39827 39828 39829 | As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. context.Database.SqlQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. context.Database.SqlQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); </summary> <typeparam name="TElement"> The type of object returned by the query. </typeparam> <param name="sql"> The SQL query string. </param> | | > > > > | > > > > | 39920 39921 39922 39923 39924 39925 39926 39927 39928 39929 39930 39931 39932 39933 39934 39935 39936 39937 39938 39939 39940 39941 39942 39943 39944 39945 39946 39947 39948 39949 39950 39951 39952 39953 39954 39955 39956 39957 39958 39959 39960 39961 39962 39963 | As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. context.Database.SqlQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. context.Database.SqlQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); </summary> <typeparam name="TElement"> The type of object returned by the query. </typeparam> <param name="sql"> The SQL query string. </param> <param name="parameters"> The parameters to apply to the SQL query string. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <returns> A <see cref="T:System.Data.Entity.Infrastructure.DbRawSqlQuery`1"/> object that will execute the query when it is enumerated. </returns> </member> <member name="M:System.Data.Entity.Database.SqlQuery(System.Type,System.String,System.Object[])"> <summary> Creates a raw SQL query that will return elements of the given type. The type can be any type that has properties that match the names of the columns returned from the query, or can be a simple primitive type. The type does not have to be an entity type. The results of this query are never tracked by the context even if the type of object returned is an entity type. Use the <see cref="M:System.Data.Entity.DbSet.SqlQuery(System.String,System.Object[])"/> method to return entities that are tracked by the context. As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. context.Database.SqlQuery(typeof(Post), "SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. context.Database.SqlQuery(typeof(Post), "SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); </summary> <param name="elementType"> The type of object returned by the query. </param> <param name="sql"> The SQL query string. </param> <param name="parameters"> The parameters to apply to the SQL query string. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <returns> A <see cref="T:System.Data.Entity.Infrastructure.DbRawSqlQuery"/> object that will execute the query when it is enumerated. </returns> </member> <member name="M:System.Data.Entity.Database.ExecuteSqlCommand(System.String,System.Object[])"> <summary> Executes the given DDL/DML command against the database. |
︙ | ︙ | |||
40430 40431 40432 40433 40434 40435 40436 | As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. context.Set(typeof(Blog)).SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. context.Set(typeof(Blog)).SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); </summary> <param name="sql"> The SQL query string. </param> | | > > > > | 40535 40536 40537 40538 40539 40540 40541 40542 40543 40544 40545 40546 40547 40548 40549 40550 40551 40552 40553 | As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. context.Set(typeof(Blog)).SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. context.Set(typeof(Blog)).SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); </summary> <param name="sql"> The SQL query string. </param> <param name="parameters"> The parameters to apply to the SQL query string. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <returns> A <see cref="T:System.Data.Entity.Infrastructure.DbSqlQuery"/> object that will execute the query when it is enumerated. </returns> </member> <member name="M:System.Data.Entity.DbSet.Equals(System.Object)"> <inheritdoc /> </member> |
︙ | ︙ | |||
40778 40779 40780 40781 40782 40783 40784 | As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. context.Blogs.SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. context.Blogs.SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); </summary> <param name="sql"> The SQL query string. </param> | | > > > > | 40887 40888 40889 40890 40891 40892 40893 40894 40895 40896 40897 40898 40899 40900 40901 40902 40903 40904 40905 | As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. context.Blogs.SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. context.Blogs.SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); </summary> <param name="sql"> The SQL query string. </param> <param name="parameters"> The parameters to apply to the SQL query string. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <returns> A <see cref="T:System.Data.Entity.Infrastructure.DbSqlQuery`1"/> object that will execute the query when it is enumerated. </returns> </member> <member name="M:System.Data.Entity.DbSet`1.Equals(System.Object)"> <inheritdoc /> </member> |
︙ | ︙ | |||
42858 42859 42860 42861 42862 42863 42864 | <summary> Gets the <see cref="T:System.Type"/> of the current instance. </summary> <returns>The exact runtime type of the current instance.</returns> </member> <member name="T:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration"> <summary> | | | > > > > > > > > > > > | | | | | | | | | > | | 42971 42972 42973 42974 42975 42976 42977 42978 42979 42980 42981 42982 42983 42984 42985 42986 42987 42988 42989 42990 42991 42992 42993 42994 42995 42996 42997 42998 42999 43000 43001 43002 43003 43004 43005 43006 43007 43008 43009 43010 43011 43012 43013 43014 43015 43016 43017 43018 43019 43020 43021 43022 43023 43024 43025 43026 43027 43028 43029 43030 43031 43032 43033 43034 43035 43036 43037 43038 43039 43040 43041 43042 43043 43044 43045 43046 43047 43048 43049 43050 43051 43052 43053 | <summary> Gets the <see cref="T:System.Type"/> of the current instance. </summary> <returns>The exact runtime type of the current instance.</returns> </member> <member name="T:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration"> <summary> Allows the conventions used by a <see cref="T:System.Data.Entity.DbModelBuilder"/> instance to be customized. The default conventions can be found in the System.Data.Entity.ModelConfiguration.Conventions namespace. </summary> </member> <member name="M:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration.AddFromAssembly(System.Reflection.Assembly)"> <summary> Discover all conventions in the given assembly and add them to the <see cref="T:System.Data.Entity.DbModelBuilder"/>. </summary> <remarks> This method add all conventions ordered by type name. The order in which conventions are added can have an impact on how they behave because it governs the order in which they are run. All conventions found must have a parameterless public constructor. </remarks> <param name="assembly">The assembly containing conventions to be added.</param> </member> <member name="M:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration.Add(System.Data.Entity.ModelConfiguration.Conventions.IConvention[])"> <summary> Enables one or more conventions for the <see cref="T:System.Data.Entity.DbModelBuilder"/>. </summary> <param name="conventions"> The conventions to be enabled. </param> </member> <member name="M:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration.Add``1"> <summary> Enables a convention for the <see cref="T:System.Data.Entity.DbModelBuilder"/>. </summary> <typeparam name="TConvention"> The type of the convention to be enabled. </typeparam> </member> <member name="M:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration.AddAfter``1(System.Data.Entity.ModelConfiguration.Conventions.IConvention)"> <summary> Enables a convention for the <see cref="T:System.Data.Entity.DbModelBuilder"/>. This convention will run after the one specified. </summary> <typeparam name="TExistingConvention"> The type of the convention after which the enabled one will run. </typeparam> <param name="newConvention"> The convention to enable. </param> </member> <member name="M:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration.AddBefore``1(System.Data.Entity.ModelConfiguration.Conventions.IConvention)"> <summary> Enables a configuration convention for the <see cref="T:System.Data.Entity.DbModelBuilder"/>. This convention will run before the one specified. </summary> <typeparam name="TExistingConvention"> The type of the convention before which the enabled one will run. </typeparam> <param name="newConvention"> The convention to enable. </param> </member> <member name="M:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration.Remove(System.Data.Entity.ModelConfiguration.Conventions.IConvention[])"> <summary> Disables one or more conventions for the <see cref="T:System.Data.Entity.DbModelBuilder"/>. </summary> <param name="conventions"> The conventions to be disabled. </param> </member> <member name="M:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration.Remove``1"> <summary> Disables a convention for the <see cref="T:System.Data.Entity.DbModelBuilder"/>. The default conventions that are available for removal can be found in the System.Data.Entity.ModelConfiguration.Conventions namespace. </summary> <typeparam name="TConvention"> The type of the convention to be disabled. </typeparam> </member> <member name="M:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration.ToString"> <inheritdoc /> </member> <member name="M:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration.Equals(System.Object)"> <inheritdoc /> </member> <member name="M:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration.GetHashCode"> <inheritdoc /> </member> <member name="M:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration.GetType"> <summary> Gets the <see cref="T:System.Type"/> of the current instance. </summary> <returns>The exact runtime type of the current instance.</returns> </member> <member name="T:System.Data.Entity.ModelConfiguration.Configuration.EntityMappingConfiguration`1"> <summary> Configures the table and column mapping for an entity type or a sub-set of properties from an entity type. This configuration functionality is available via the Code First Fluent API, see <see cref="T:System.Data.Entity.DbModelBuilder"/>. |
︙ | ︙ |
Changes to Externals/EntityFramework/lib/net45/EntityFramework.SqlServer.dll.
cannot compute difference between binary files
Changes to Externals/EntityFramework/lib/net45/EntityFramework.SqlServer.xml.
︙ | ︙ | |||
1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 | </summary> <param name="connection">Connection to a non-existent database that needs to be created and populated with the store objects indicated with the storeItemCollection parameter.</param> <param name="commandTimeout">Execution timeout for any commands needed to create the database.</param> <param name="storeItemCollection">The collection of all store items based on which the script should be created.</param> </member> <member name="M:System.Data.Entity.SqlServer.SqlProviderServices.DbDatabaseExists(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Data.Entity.Core.Metadata.Edm.StoreItemCollection)"> <summary> Determines whether the database for the given connection exists. There are three cases: 1. Initial Catalog = X, AttachDBFilename = null: (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 2. Initial Catalog = X, AttachDBFilename = F: if (SELECT Count(*) FROM sys.databases WHERE [name]= X) > true, if not, try to open the connection and then return (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 3. Initial Catalog = null, AttachDBFilename = F: Try to open the connection. If that succeeds the result is true, otherwise if the there are no databases corresponding to the given file return false, otherwise throw. | > > > > > > > > > > > > > > > > > > > | 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 | </summary> <param name="connection">Connection to a non-existent database that needs to be created and populated with the store objects indicated with the storeItemCollection parameter.</param> <param name="commandTimeout">Execution timeout for any commands needed to create the database.</param> <param name="storeItemCollection">The collection of all store items based on which the script should be created.</param> </member> <member name="M:System.Data.Entity.SqlServer.SqlProviderServices.DbDatabaseExists(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Data.Entity.Core.Metadata.Edm.StoreItemCollection)"> <summary> Determines whether the database for the given connection exists. There are three cases: 1. Initial Catalog = X, AttachDBFilename = null: (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 2. Initial Catalog = X, AttachDBFilename = F: if (SELECT Count(*) FROM sys.databases WHERE [name]= X) > true, if not, try to open the connection and then return (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 3. Initial Catalog = null, AttachDBFilename = F: Try to open the connection. If that succeeds the result is true, otherwise if the there are no databases corresponding to the given file return false, otherwise throw. Note: We open the connection to cover the scenario when the mdf exists, but is not attached. Given that opening the connection would auto-attach it, it would not be appropriate to return false in this case. Also note that checking for the existence of the file does not work for a remote server. (Dev11 #290487) For further details on the behavior when AttachDBFilename is specified see Dev10# 188936 </summary> <param name="connection">Connection to a database whose existence is checked by this method.</param> <param name="commandTimeout">Execution timeout for any commands needed to determine the existence of the database.</param> <param name="storeItemCollection">The collection of all store items from the model. This parameter is no longer used for determining database existence.</param> <returns>True if the provider can deduce the database only based on the connection.</returns> </member> <member name="M:System.Data.Entity.SqlServer.SqlProviderServices.DbDatabaseExists(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Lazy{System.Data.Entity.Core.Metadata.Edm.StoreItemCollection})"> <summary> Determines whether the database for the given connection exists. There are three cases: 1. Initial Catalog = X, AttachDBFilename = null: (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 2. Initial Catalog = X, AttachDBFilename = F: if (SELECT Count(*) FROM sys.databases WHERE [name]= X) > true, if not, try to open the connection and then return (SELECT Count(*) FROM sys.databases WHERE [name]= X) > 0 3. Initial Catalog = null, AttachDBFilename = F: Try to open the connection. If that succeeds the result is true, otherwise if the there are no databases corresponding to the given file return false, otherwise throw. |
︙ | ︙ |
Changes to Externals/EntityFramework/lib/net45/EntityFramework.dll.
cannot compute difference between binary files
Changes to Externals/EntityFramework/lib/net45/EntityFramework.xml.
︙ | ︙ | |||
6180 6181 6182 6183 6184 6185 6186 | <summary> Specifies a single clause in an insert or update modification operation, see <see cref="P:System.Data.Entity.Core.Common.CommandTrees.DbInsertCommandTree.SetClauses"/> and <see cref="P:System.Data.Entity.Core.Common.CommandTrees.DbUpdateCommandTree.SetClauses"/> </summary> <remarks> An abstract base class allows the possibility of patterns other than Property = Value in future versions, e.g., | | | | 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 | <summary> Specifies a single clause in an insert or update modification operation, see <see cref="P:System.Data.Entity.Core.Common.CommandTrees.DbInsertCommandTree.SetClauses"/> and <see cref="P:System.Data.Entity.Core.Common.CommandTrees.DbUpdateCommandTree.SetClauses"/> </summary> <remarks> An abstract base class allows the possibility of patterns other than Property = Value in future versions, e.g., <code>update SomeTable set ComplexTypeColumn.SomeProperty() where Id = 2</code> </remarks> </member> <member name="T:System.Data.Entity.Core.Common.CommandTrees.DbQueryCommandTree"> <summary>Represents a query operation expressed as a command tree. This class cannot be inherited. </summary> </member> <member name="M:System.Data.Entity.Core.Common.CommandTrees.DbQueryCommandTree.#ctor(System.Data.Entity.Core.Metadata.Edm.MetadataWorkspace,System.Data.Entity.Core.Metadata.Edm.DataSpace,System.Data.Entity.Core.Common.CommandTrees.DbExpression,System.Boolean,System.Boolean)"> |
︙ | ︙ | |||
7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 | Creates a new <see cref="T:System.Data.Entity.Core.Common.CommandTrees.DbPropertyExpression" /> representing the retrieval of the instance property with the specified name from the given instance. </summary> <returns>A new DbPropertyExpression that represents the property retrieval.</returns> <param name="instance">The instance from which to retrieve the property.</param> <param name="propertyName">The name of the property to retrieve.</param> <exception cref="T:System.ArgumentNullException">propertyName is null or instance is null and the property is not static.</exception> <exception cref="T:System.ArgumentOutOfRangeException">No property with the specified name is declared by the type of instance.</exception> </member> <member name="M:System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder.DbExpressionBuilder.All(System.Data.Entity.Core.Common.CommandTrees.DbExpression,System.Func{System.Data.Entity.Core.Common.CommandTrees.DbExpression,System.Data.Entity.Core.Common.CommandTrees.DbExpression})"> <summary> Creates a new <see cref="T:System.Data.Entity.Core.Common.CommandTrees.DbQuantifierExpression" /> that determines whether the given predicate holds for all elements of the input set. </summary> <returns>A new DbQuantifierExpression that represents the All operation.</returns> <param name="source">An expression that specifies the input set.</param> | > > > > > > > > | 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 | Creates a new <see cref="T:System.Data.Entity.Core.Common.CommandTrees.DbPropertyExpression" /> representing the retrieval of the instance property with the specified name from the given instance. </summary> <returns>A new DbPropertyExpression that represents the property retrieval.</returns> <param name="instance">The instance from which to retrieve the property.</param> <param name="propertyName">The name of the property to retrieve.</param> <exception cref="T:System.ArgumentNullException">propertyName is null or instance is null and the property is not static.</exception> <exception cref="T:System.ArgumentOutOfRangeException">No property with the specified name is declared by the type of instance.</exception> </member> <member name="M:System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder.DbExpressionBuilder.SetClause(System.Data.Entity.Core.Common.CommandTrees.DbExpression,System.Data.Entity.Core.Common.CommandTrees.DbExpression)"> <summary> Creates a new <see cref="T:System.Data.Entity.Core.Common.CommandTrees.DbSetClause" /> representing setting a property to a value. </summary> <param name="property">The property to be set.</param> <param name="value">The value to set the property to.</param> <returns>The newly created set clause.</returns> </member> <member name="M:System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder.DbExpressionBuilder.All(System.Data.Entity.Core.Common.CommandTrees.DbExpression,System.Func{System.Data.Entity.Core.Common.CommandTrees.DbExpression,System.Data.Entity.Core.Common.CommandTrees.DbExpression})"> <summary> Creates a new <see cref="T:System.Data.Entity.Core.Common.CommandTrees.DbQuantifierExpression" /> that determines whether the given predicate holds for all elements of the input set. </summary> <returns>A new DbQuantifierExpression that represents the All operation.</returns> <param name="source">An expression that specifies the input set.</param> |
︙ | ︙ | |||
13162 13163 13164 13165 13166 13167 13168 | More control over caching is provided through use of the DbModelBuilder and DbContextFactory classes directly. </remarks> <param name="modelBuilder"> The builder that defines the model for the context being created. </param> </member> <member name="M:System.Data.Entity.DbContext.Set``1"> <summary> | | | > > > > | | | > > > > | | 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 | More control over caching is provided through use of the DbModelBuilder and DbContextFactory classes directly. </remarks> <param name="modelBuilder"> The builder that defines the model for the context being created. </param> </member> <member name="M:System.Data.Entity.DbContext.Set``1"> <summary> Returns a <see cref="T:System.Data.Entity.DbSet`1"/> instance for access to entities of the given type in the context and the underlying store. </summary> <remarks> Note that Entity Framework requires that this method return the same instance each time that it is called for a given context instance and entity type. Also, the non-generic <see cref="T:System.Data.Entity.DbSet"/> returned by the <see cref="M:System.Data.Entity.DbContext.Set(System.Type)"/> method must wrap the same underlying query and set of entities. These invariants must be maintained if this method is overridden for anything other than creating test doubles for unit testing. See the <see cref="T:System.Data.Entity.DbSet`1"/> class for more details. </remarks> <typeparam name="TEntity"> The type entity for which a set should be returned. </typeparam> <returns> A set for the given entity type. </returns> </member> <member name="M:System.Data.Entity.DbContext.Set(System.Type)"> <summary> Returns a non-generic <see cref="T:System.Data.Entity.DbSet"/> instance for access to entities of the given type in the context and the underlying store. </summary> <param name="entityType"> The type of entity for which a set should be returned. </param> <returns> A set for the given entity type. </returns> <remarks> Note that Entity Framework requires that this method return the same instance each time that it is called for a given context instance and entity type. Also, the generic <see cref="T:System.Data.Entity.DbSet`1"/> returned by the <see cref="M:System.Data.Entity.DbContext.Set(System.Type)"/> method must wrap the same underlying query and set of entities. These invariants must be maintained if this method is overridden for anything other than creating test doubles for unit testing. See the <see cref="T:System.Data.Entity.DbSet"/> class for more details. </remarks> </member> <member name="M:System.Data.Entity.DbContext.SaveChanges"> <summary> Saves all changes made in this context to the underlying database. </summary> <returns> The number of objects written to the underlying database. </returns> |
︙ | ︙ | |||
21830 21831 21832 21833 21834 21835 21836 21837 21838 21839 21840 21841 21842 21843 | <summary> Gets the <see cref="T:System.Data.Entity.Infrastructure.IDbExecutionStrategy"/> that will be used to execute methods that use the specified connection. </summary> <param name="connection">The database connection</param> <returns> A new instance of <see cref="T:System.Data.Entity.Infrastructure.DbExecutionStrategy"/> </returns> </member> <member name="M:System.Data.Entity.Core.Common.DbProviderServices.GetSpatialDataReader(System.Data.Common.DbDataReader,System.String)"> <summary> Gets the spatial data reader for the <see cref="T:System.Data.Entity.Core.Common.DbProviderServices" />. </summary> <returns>The spatial data reader.</returns> <param name="fromReader">The reader where the spatial data came from.</param> | > > > > > > > > > > > | 21846 21847 21848 21849 21850 21851 21852 21853 21854 21855 21856 21857 21858 21859 21860 21861 21862 21863 21864 21865 21866 21867 21868 21869 21870 | <summary> Gets the <see cref="T:System.Data.Entity.Infrastructure.IDbExecutionStrategy"/> that will be used to execute methods that use the specified connection. </summary> <param name="connection">The database connection</param> <returns> A new instance of <see cref="T:System.Data.Entity.Infrastructure.DbExecutionStrategy"/> </returns> </member> <member name="M:System.Data.Entity.Core.Common.DbProviderServices.GetExecutionStrategy(System.Data.Common.DbConnection,System.String)"> <summary> Gets the <see cref="T:System.Data.Entity.Infrastructure.IDbExecutionStrategy"/> that will be used to execute methods that use the specified connection. This overload should be used by the derived classes for compatability with wrapping providers. </summary> <param name="connection">The database connection</param> <param name="providerInvariantName">The provider invariant name</param> <returns> A new instance of <see cref="T:System.Data.Entity.Infrastructure.DbExecutionStrategy"/> </returns> </member> <member name="M:System.Data.Entity.Core.Common.DbProviderServices.GetSpatialDataReader(System.Data.Common.DbDataReader,System.String)"> <summary> Gets the spatial data reader for the <see cref="T:System.Data.Entity.Core.Common.DbProviderServices" />. </summary> <returns>The spatial data reader.</returns> <param name="fromReader">The reader where the spatial data came from.</param> |
︙ | ︙ | |||
21953 21954 21955 21956 21957 21958 21959 21960 21961 21962 21963 21964 21965 21966 21967 21968 21969 21970 21971 21972 21973 | </member> <member name="M:System.Data.Entity.Core.Common.DbProviderServices.DatabaseExists(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Data.Entity.Core.Metadata.Edm.StoreItemCollection)"> <summary>Returns a value indicating whether a given database exists on the server.</summary> <returns>True if the provider can deduce the database only based on the connection.</returns> <param name="connection">Connection to a database whose existence is checked by this method.</param> <param name="commandTimeout">Execution timeout for any commands needed to determine the existence of the database.</param> <param name="storeItemCollection">The collection of all store items from the model. This parameter is no longer used for determining database existence.</param> </member> <member name="M:System.Data.Entity.Core.Common.DbProviderServices.DbDatabaseExists(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Data.Entity.Core.Metadata.Edm.StoreItemCollection)"> <summary>Returns a value indicating whether a given database exists on the server.</summary> <returns>True if the provider can deduce the database only based on the connection.</returns> <param name="connection">Connection to a database whose existence is checked by this method.</param> <param name="commandTimeout">Execution timeout for any commands needed to determine the existence of the database.</param> <param name="storeItemCollection">The collection of all store items from the model. This parameter is no longer used for determining database existence.</param> </member> <member name="M:System.Data.Entity.Core.Common.DbProviderServices.DeleteDatabase(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Data.Entity.Core.Metadata.Edm.StoreItemCollection)"> <summary>Deletes the specified database.</summary> <param name="connection">Connection to an existing database that needs to be deleted.</param> <param name="commandTimeout">Execution timeout for any commands needed to delete the database.</param> <param name="storeItemCollection">The collection of all store items from the model. This parameter is no longer used for database deletion.</param> </member> | > > > > > > > > > > > > > > > | 21980 21981 21982 21983 21984 21985 21986 21987 21988 21989 21990 21991 21992 21993 21994 21995 21996 21997 21998 21999 22000 22001 22002 22003 22004 22005 22006 22007 22008 22009 22010 22011 22012 22013 22014 22015 | </member> <member name="M:System.Data.Entity.Core.Common.DbProviderServices.DatabaseExists(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Data.Entity.Core.Metadata.Edm.StoreItemCollection)"> <summary>Returns a value indicating whether a given database exists on the server.</summary> <returns>True if the provider can deduce the database only based on the connection.</returns> <param name="connection">Connection to a database whose existence is checked by this method.</param> <param name="commandTimeout">Execution timeout for any commands needed to determine the existence of the database.</param> <param name="storeItemCollection">The collection of all store items from the model. This parameter is no longer used for determining database existence.</param> </member> <member name="M:System.Data.Entity.Core.Common.DbProviderServices.DatabaseExists(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Lazy{System.Data.Entity.Core.Metadata.Edm.StoreItemCollection})"> <summary>Returns a value indicating whether a given database exists on the server.</summary> <returns>True if the provider can deduce the database only based on the connection.</returns> <param name="connection">Connection to a database whose existence is checked by this method.</param> <param name="commandTimeout">Execution timeout for any commands needed to determine the existence of the database.</param> <param name="storeItemCollection">The collection of all store items from the model. This parameter is no longer used for determining database existence.</param> </member> <member name="M:System.Data.Entity.Core.Common.DbProviderServices.DbDatabaseExists(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Data.Entity.Core.Metadata.Edm.StoreItemCollection)"> <summary>Returns a value indicating whether a given database exists on the server.</summary> <returns>True if the provider can deduce the database only based on the connection.</returns> <param name="connection">Connection to a database whose existence is checked by this method.</param> <param name="commandTimeout">Execution timeout for any commands needed to determine the existence of the database.</param> <param name="storeItemCollection">The collection of all store items from the model. This parameter is no longer used for determining database existence.</param> </member> <member name="M:System.Data.Entity.Core.Common.DbProviderServices.DbDatabaseExists(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Lazy{System.Data.Entity.Core.Metadata.Edm.StoreItemCollection})"> <summary>Returns a value indicating whether a given database exists on the server.</summary> <returns>True if the provider can deduce the database only based on the connection.</returns> <param name="connection">Connection to a database whose existence is checked by this method.</param> <param name="commandTimeout">Execution timeout for any commands needed to determine the existence of the database.</param> <param name="storeItemCollection">The collection of all store items from the model. This parameter is no longer used for determining database existence.</param> <remarks>Override this method to avoid creating the store item collection if it is not needed. The default implementation evaluates the Lazy and calls the other overload of this method.</remarks> </member> <member name="M:System.Data.Entity.Core.Common.DbProviderServices.DeleteDatabase(System.Data.Common.DbConnection,System.Nullable{System.Int32},System.Data.Entity.Core.Metadata.Edm.StoreItemCollection)"> <summary>Deletes the specified database.</summary> <param name="connection">Connection to an existing database that needs to be deleted.</param> <param name="commandTimeout">Execution timeout for any commands needed to delete the database.</param> <param name="storeItemCollection">The collection of all store items from the model. This parameter is no longer used for database deletion.</param> </member> |
︙ | ︙ | |||
36038 36039 36040 36041 36042 36043 36044 | . </summary> <returns> An <see cref="T:System.Data.Entity.Core.Objects.ObjectResult`1" /> for the data that is returned by the stored procedure. </returns> <param name="functionName">The name of the stored procedure or function. The name can include the container name, such as <Container Name>.<Function Name>. When the default container name is known, only the function name is required.</param> <param name="parameters"> | | > > | 36080 36081 36082 36083 36084 36085 36086 36087 36088 36089 36090 36091 36092 36093 36094 36095 36096 | . </summary> <returns> An <see cref="T:System.Data.Entity.Core.Objects.ObjectResult`1" /> for the data that is returned by the stored procedure. </returns> <param name="functionName">The name of the stored procedure or function. The name can include the container name, such as <Container Name>.<Function Name>. When the default container name is known, only the function name is required.</param> <param name="parameters"> An array of <see cref="T:System.Data.Entity.Core.Objects.ObjectParameter" /> objects. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <typeparam name="TElement"> The entity type of the <see cref="T:System.Data.Entity.Core.Objects.ObjectResult`1" /> returned when the function is executed against the data source. This type must implement <see cref="T:System.Data.Entity.Core.Objects.DataClasses.IEntityWithChangeTracker" /> . </typeparam> |
︙ | ︙ | |||
36064 36065 36066 36067 36068 36069 36070 | An <see cref="T:System.Data.Entity.Core.Objects.ObjectResult`1" /> for the data that is returned by the stored procedure. </returns> <param name="functionName">The name of the stored procedure or function. The name can include the container name, such as <Container Name>.<Function Name>. When the default container name is known, only the function name is required.</param> <param name="mergeOption"> The <see cref="T:System.Data.Entity.Core.Objects.MergeOption" /> to use when executing the query. </param> <param name="parameters"> | | > > | > > > > | > > | 36108 36109 36110 36111 36112 36113 36114 36115 36116 36117 36118 36119 36120 36121 36122 36123 36124 36125 36126 36127 36128 36129 36130 36131 36132 36133 36134 36135 36136 36137 36138 36139 36140 36141 36142 36143 36144 36145 36146 36147 36148 36149 36150 36151 36152 36153 36154 36155 36156 36157 36158 36159 36160 36161 36162 36163 | An <see cref="T:System.Data.Entity.Core.Objects.ObjectResult`1" /> for the data that is returned by the stored procedure. </returns> <param name="functionName">The name of the stored procedure or function. The name can include the container name, such as <Container Name>.<Function Name>. When the default container name is known, only the function name is required.</param> <param name="mergeOption"> The <see cref="T:System.Data.Entity.Core.Objects.MergeOption" /> to use when executing the query. </param> <param name="parameters"> An array of <see cref="T:System.Data.Entity.Core.Objects.ObjectParameter" /> objects. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <typeparam name="TElement"> The entity type of the <see cref="T:System.Data.Entity.Core.Objects.ObjectResult`1" /> returned when the function is executed against the data source. This type must implement <see cref="T:System.Data.Entity.Core.Objects.DataClasses.IEntityWithChangeTracker" /> . </typeparam> <exception cref="T:System.ArgumentException"> function is null or empty or function is not found.</exception> <exception cref="T:System.InvalidOperationException">The entity reader does not support this function or there is a type mismatch on the reader and the function .</exception> </member> <member name="M:System.Data.Entity.Core.Objects.ObjectContext.ExecuteFunction``1(System.String,System.Data.Entity.Core.Objects.ExecutionOptions,System.Data.Entity.Core.Objects.ObjectParameter[])"> <summary> Executes the given function on the default container. </summary> <typeparam name="TElement"> Element type for function results. </typeparam> <param name="functionName"> Name of function. May include container (e.g. ContainerName.FunctionName) or just function name when DefaultContainerName is known. </param> <param name="executionOptions"> The options for executing this function. </param> <param name="parameters"> The parameter values to use for the function. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <returns>An object representing the result of executing this function.</returns> <exception cref="T:System.ArgumentException"> If function is null or empty </exception> <exception cref="T:System.InvalidOperationException"> If function is invalid (syntax, does not exist, refers to a function with return type incompatible with T) </exception> </member> <member name="M:System.Data.Entity.Core.Objects.ObjectContext.ExecuteFunction(System.String,System.Data.Entity.Core.Objects.ObjectParameter[])"> <summary>Executes a stored procedure or function that is defined in the data source and expressed in the conceptual model; discards any results returned from the function; and returns the number of rows affected by the execution.</summary> <returns>The number of rows affected.</returns> <param name="functionName">The name of the stored procedure or function. The name can include the container name, such as <Container Name>.<Function Name>. When the default container name is known, only the function name is required.</param> <param name="parameters"> An array of <see cref="T:System.Data.Entity.Core.Objects.ObjectParameter" /> objects. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <exception cref="T:System.ArgumentException"> function is null or empty or function is not found.</exception> <exception cref="T:System.InvalidOperationException">The entity reader does not support this function or there is a type mismatch on the reader and the function .</exception> </member> <member name="M:System.Data.Entity.Core.Objects.ObjectContext.CreateProxyTypes(System.Collections.Generic.IEnumerable{System.Type})"> <summary>Generates an equivalent type that can be used with the Entity Framework for each type in the supplied enumeration.</summary> <param name="types"> |
︙ | ︙ | |||
36272 36273 36274 36275 36276 36277 36278 | As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); </summary> <typeparam name="TElement"> The element type of the result sequence. </typeparam> <param name="commandText"> The query specified in the server's native query language. </param> | | > > > > | > > > > | 36324 36325 36326 36327 36328 36329 36330 36331 36332 36333 36334 36335 36336 36337 36338 36339 36340 36341 36342 36343 36344 36345 36346 36347 36348 36349 36350 36351 36352 36353 36354 36355 36356 36357 36358 36359 36360 36361 36362 36363 36364 36365 | As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); </summary> <typeparam name="TElement"> The element type of the result sequence. </typeparam> <param name="commandText"> The query specified in the server's native query language. </param> <param name="parameters"> The parameter values to use for the query. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <returns> An enumeration of objects of type <typeparamref name="TElement" /> . </returns> </member> <member name="M:System.Data.Entity.Core.Objects.ObjectContext.ExecuteStoreQuery``1(System.String,System.Data.Entity.Core.Objects.ExecutionOptions,System.Object[])"> <summary> Executes a query directly against the data source and returns a sequence of typed results. The query is specified using the server's native query language, such as SQL. Results are not tracked by the context, use the overload that specifies an entity set name to track results. As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); </summary> <typeparam name="TElement"> The element type of the result sequence. </typeparam> <param name="commandText"> The query specified in the server's native query language. </param> <param name="executionOptions"> The options for executing this query. </param> <param name="parameters"> The parameter values to use for the query. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <returns> An enumeration of objects of type <typeparamref name="TElement" /> . </returns> </member> <member name="M:System.Data.Entity.Core.Objects.ObjectContext.ExecuteStoreQuery``1(System.String,System.String,System.Data.Entity.Core.Objects.MergeOption,System.Object[])"> <summary> Executes a query directly against the data source and returns a sequence of typed results. |
︙ | ︙ | |||
36314 36315 36316 36317 36318 36319 36320 | <typeparam name="TElement"> The element type of the result sequence. </typeparam> <param name="commandText"> The query specified in the server's native query language. </param> <param name="entitySetName">The entity set of the TResult type. If an entity set name is not provided, the results are not going to be tracked.</param> <param name="mergeOption"> The <see cref="T:System.Data.Entity.Core.Objects.MergeOption" /> to use when executing the query. The default is <see cref="F:System.Data.Entity.Core.Objects.MergeOption.AppendOnly" />. </param> | | > > > > | > > > > | 36374 36375 36376 36377 36378 36379 36380 36381 36382 36383 36384 36385 36386 36387 36388 36389 36390 36391 36392 36393 36394 36395 36396 36397 36398 36399 36400 36401 36402 36403 36404 36405 36406 36407 36408 36409 36410 36411 36412 36413 36414 36415 36416 | <typeparam name="TElement"> The element type of the result sequence. </typeparam> <param name="commandText"> The query specified in the server's native query language. </param> <param name="entitySetName">The entity set of the TResult type. If an entity set name is not provided, the results are not going to be tracked.</param> <param name="mergeOption"> The <see cref="T:System.Data.Entity.Core.Objects.MergeOption" /> to use when executing the query. The default is <see cref="F:System.Data.Entity.Core.Objects.MergeOption.AppendOnly" />. </param> <param name="parameters"> The parameter values to use for the query. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <returns> An enumeration of objects of type <typeparamref name="TElement" /> . </returns> </member> <member name="M:System.Data.Entity.Core.Objects.ObjectContext.ExecuteStoreQuery``1(System.String,System.String,System.Data.Entity.Core.Objects.ExecutionOptions,System.Object[])"> <summary> Executes a query directly against the data source and returns a sequence of typed results. The query is specified using the server's native query language, such as SQL. If an entity set name is specified, results are tracked by the context. As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. context.ExecuteStoreQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); </summary> <typeparam name="TElement"> The element type of the result sequence. </typeparam> <param name="commandText"> The query specified in the server's native query language. </param> <param name="entitySetName">The entity set of the TResult type. If an entity set name is not provided, the results are not going to be tracked.</param> <param name="executionOptions"> The options for executing this query. </param> <param name="parameters"> The parameter values to use for the query. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <returns> An enumeration of objects of type <typeparamref name="TElement" /> . </returns> </member> <member name="M:System.Data.Entity.Core.Objects.ObjectContext.ExecuteStoreQueryAsync``1(System.String,System.Object[])"> <summary> Asynchronously executes a query directly against the data source and returns a sequence of typed results. |
︙ | ︙ | |||
36356 36357 36358 36359 36360 36361 36362 | </summary> <remarks> Multiple active operations on the same context instance are not supported. Use 'await' to ensure that any asynchronous operations have completed before calling another method on this context. </remarks> <typeparam name="TElement"> The element type of the result sequence. </typeparam> <param name="commandText"> The query specified in the server's native query language. </param> | | > > > > | 36424 36425 36426 36427 36428 36429 36430 36431 36432 36433 36434 36435 36436 36437 36438 36439 36440 36441 36442 | </summary> <remarks> Multiple active operations on the same context instance are not supported. Use 'await' to ensure that any asynchronous operations have completed before calling another method on this context. </remarks> <typeparam name="TElement"> The element type of the result sequence. </typeparam> <param name="commandText"> The query specified in the server's native query language. </param> <param name="parameters"> The parameter values to use for the query. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <returns> A task that represents the asynchronous operation. The task result contains an enumeration of objects of type <typeparamref name="TElement" /> . </returns> </member> <member name="M:System.Data.Entity.Core.Objects.ObjectContext.ExecuteStoreQueryAsync``1(System.String,System.Threading.CancellationToken,System.Object[])"> <summary> |
︙ | ︙ | |||
36382 36383 36384 36385 36386 36387 36388 | that any asynchronous operations have completed before calling another method on this context. </remarks> <typeparam name="TElement"> The element type of the result sequence. </typeparam> <param name="commandText"> The query specified in the server's native query language. </param> <param name="cancellationToken"> A <see cref="T:System.Threading.CancellationToken"/> to observe while waiting for the task to complete. </param> | | > > > > | 36454 36455 36456 36457 36458 36459 36460 36461 36462 36463 36464 36465 36466 36467 36468 36469 36470 36471 36472 | that any asynchronous operations have completed before calling another method on this context. </remarks> <typeparam name="TElement"> The element type of the result sequence. </typeparam> <param name="commandText"> The query specified in the server's native query language. </param> <param name="cancellationToken"> A <see cref="T:System.Threading.CancellationToken"/> to observe while waiting for the task to complete. </param> <param name="parameters"> The parameter values to use for the query. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <returns> A task that represents the asynchronous operation. The task result contains an enumeration of objects of type <typeparamref name="TElement"/> . </returns> </member> <member name="M:System.Data.Entity.Core.Objects.ObjectContext.ExecuteStoreQueryAsync``1(System.String,System.Data.Entity.Core.Objects.ExecutionOptions,System.Object[])"> <summary> |
︙ | ︙ | |||
36406 36407 36408 36409 36410 36411 36412 | <remarks> Multiple active operations on the same context instance are not supported. Use 'await' to ensure that any asynchronous operations have completed before calling another method on this context. </remarks> <typeparam name="TElement"> The element type of the result sequence. </typeparam> <param name="commandText"> The query specified in the server's native query language. </param> <param name="executionOptions"> The options for executing this query. </param> | | > > > > | 36482 36483 36484 36485 36486 36487 36488 36489 36490 36491 36492 36493 36494 36495 36496 36497 36498 36499 36500 | <remarks> Multiple active operations on the same context instance are not supported. Use 'await' to ensure that any asynchronous operations have completed before calling another method on this context. </remarks> <typeparam name="TElement"> The element type of the result sequence. </typeparam> <param name="commandText"> The query specified in the server's native query language. </param> <param name="executionOptions"> The options for executing this query. </param> <param name="parameters"> The parameter values to use for the query. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <returns> A task that represents the asynchronous operation. The task result contains an enumeration of objects of type <typeparamref name="TElement" /> . </returns> </member> <member name="M:System.Data.Entity.Core.Objects.ObjectContext.ExecuteStoreQueryAsync``1(System.String,System.Data.Entity.Core.Objects.ExecutionOptions,System.Threading.CancellationToken,System.Object[])"> <summary> |
︙ | ︙ | |||
36433 36434 36435 36436 36437 36438 36439 | </remarks> <typeparam name="TElement"> The element type of the result sequence. </typeparam> <param name="commandText"> The query specified in the server's native query language. </param> <param name="executionOptions"> The options for executing this query. </param> <param name="cancellationToken"> A <see cref="T:System.Threading.CancellationToken"/> to observe while waiting for the task to complete. </param> | | > > > > | 36513 36514 36515 36516 36517 36518 36519 36520 36521 36522 36523 36524 36525 36526 36527 36528 36529 36530 36531 | </remarks> <typeparam name="TElement"> The element type of the result sequence. </typeparam> <param name="commandText"> The query specified in the server's native query language. </param> <param name="executionOptions"> The options for executing this query. </param> <param name="cancellationToken"> A <see cref="T:System.Threading.CancellationToken"/> to observe while waiting for the task to complete. </param> <param name="parameters"> The parameter values to use for the query. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <returns> A task that represents the asynchronous operation. The task result contains an enumeration of objects of type <typeparamref name="TElement"/> . </returns> </member> <member name="M:System.Data.Entity.Core.Objects.ObjectContext.ExecuteStoreQueryAsync``1(System.String,System.String,System.Data.Entity.Core.Objects.ExecutionOptions,System.Object[])"> <summary> |
︙ | ︙ | |||
36458 36459 36460 36461 36462 36463 36464 | Multiple active operations on the same context instance are not supported. Use 'await' to ensure that any asynchronous operations have completed before calling another method on this context. </remarks> <typeparam name="TElement"> The element type of the result sequence. </typeparam> <param name="commandText"> The query specified in the server's native query language. </param> <param name="entitySetName">The entity set of the TResult type. If an entity set name is not provided, the results are not going to be tracked.</param> <param name="executionOptions"> The options for executing this query. </param> | | > > > > | 36542 36543 36544 36545 36546 36547 36548 36549 36550 36551 36552 36553 36554 36555 36556 36557 36558 36559 36560 | Multiple active operations on the same context instance are not supported. Use 'await' to ensure that any asynchronous operations have completed before calling another method on this context. </remarks> <typeparam name="TElement"> The element type of the result sequence. </typeparam> <param name="commandText"> The query specified in the server's native query language. </param> <param name="entitySetName">The entity set of the TResult type. If an entity set name is not provided, the results are not going to be tracked.</param> <param name="executionOptions"> The options for executing this query. </param> <param name="parameters"> The parameter values to use for the query. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <returns> A task that represents the asynchronous operation. The task result contains an enumeration of objects of type <typeparamref name="TElement" /> . </returns> </member> <member name="M:System.Data.Entity.Core.Objects.ObjectContext.ExecuteStoreQueryAsync``1(System.String,System.String,System.Data.Entity.Core.Objects.ExecutionOptions,System.Threading.CancellationToken,System.Object[])"> <summary> |
︙ | ︙ | |||
36486 36487 36488 36489 36490 36491 36492 | <typeparam name="TElement"> The element type of the result sequence. </typeparam> <param name="commandText"> The query specified in the server's native query language. </param> <param name="entitySetName">The entity set of the TResult type. If an entity set name is not provided, the results are not going to be tracked.</param> <param name="executionOptions"> The options for executing this query. </param> <param name="cancellationToken"> A <see cref="T:System.Threading.CancellationToken"/> to observe while waiting for the task to complete. </param> | | > > > > | 36574 36575 36576 36577 36578 36579 36580 36581 36582 36583 36584 36585 36586 36587 36588 36589 36590 36591 36592 | <typeparam name="TElement"> The element type of the result sequence. </typeparam> <param name="commandText"> The query specified in the server's native query language. </param> <param name="entitySetName">The entity set of the TResult type. If an entity set name is not provided, the results are not going to be tracked.</param> <param name="executionOptions"> The options for executing this query. </param> <param name="cancellationToken"> A <see cref="T:System.Threading.CancellationToken"/> to observe while waiting for the task to complete. </param> <param name="parameters"> The parameter values to use for the query. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <returns> A task that represents the asynchronous operation. The task result contains an enumeration of objects of type <typeparamref name="TElement"/> . </returns> </member> <member name="M:System.Data.Entity.Core.Objects.ObjectContext.Translate``1(System.Data.Common.DbDataReader)"> <summary> |
︙ | ︙ | |||
39176 39177 39178 39179 39180 39181 39182 39183 39184 39185 39186 39187 39188 39189 39190 39191 39192 39193 39194 39195 39196 | <param name="nameOrConnectionString"> The database name or connection string. </param> <returns> An initialized DbConnection. </returns> </member> <member name="M:System.Data.Entity.Infrastructure.LocalDbConnectionFactory.#ctor(System.String)"> <summary> Creates a new instance of the connection factory for the given version of LocalDb. For SQL Server 2012 LocalDb use "v11.0". </summary> <param name="localDbVersion"> The LocalDb version to use. </param> </member> <member name="M:System.Data.Entity.Infrastructure.LocalDbConnectionFactory.#ctor(System.String,System.String)"> <summary> Creates a new instance of the connection factory for the given version of LocalDb. For SQL Server 2012 LocalDb use "v11.0". </summary> <param name="localDbVersion"> The LocalDb version to use. </param> <param name="baseConnectionString"> The connection string to use for options to the database other than the 'Initial Catalog', 'Data Source', and 'AttachDbFilename'. The 'Initial Catalog' and 'AttachDbFilename' will be prepended to this string based on the database name when CreateConnection is called. The 'Data Source' will be set based on the LocalDbVersion argument. </param> </member> <member name="M:System.Data.Entity.Infrastructure.LocalDbConnectionFactory.CreateConnection(System.String)"> <summary> Creates a connection for SQL Server LocalDb based on the given database name or connection string. | > > | 39268 39269 39270 39271 39272 39273 39274 39275 39276 39277 39278 39279 39280 39281 39282 39283 39284 39285 39286 39287 39288 39289 39290 | <param name="nameOrConnectionString"> The database name or connection string. </param> <returns> An initialized DbConnection. </returns> </member> <member name="M:System.Data.Entity.Infrastructure.LocalDbConnectionFactory.#ctor(System.String)"> <summary> Creates a new instance of the connection factory for the given version of LocalDb. For SQL Server 2012 LocalDb use "v11.0". For SQL Server 2014 and later LocalDb use "mssqllocaldb". </summary> <param name="localDbVersion"> The LocalDb version to use. </param> </member> <member name="M:System.Data.Entity.Infrastructure.LocalDbConnectionFactory.#ctor(System.String,System.String)"> <summary> Creates a new instance of the connection factory for the given version of LocalDb. For SQL Server 2012 LocalDb use "v11.0". For SQL Server 2014 and later LocalDb use "mssqllocaldb". </summary> <param name="localDbVersion"> The LocalDb version to use. </param> <param name="baseConnectionString"> The connection string to use for options to the database other than the 'Initial Catalog', 'Data Source', and 'AttachDbFilename'. The 'Initial Catalog' and 'AttachDbFilename' will be prepended to this string based on the database name when CreateConnection is called. The 'Data Source' will be set based on the LocalDbVersion argument. </param> </member> <member name="M:System.Data.Entity.Infrastructure.LocalDbConnectionFactory.CreateConnection(System.String)"> <summary> Creates a connection for SQL Server LocalDb based on the given database name or connection string. |
︙ | ︙ | |||
39216 39217 39218 39219 39220 39221 39222 | to update the database to the latest version. </summary> <typeparam name="TContext">The type of the context.</typeparam> <typeparam name="TMigrationsConfiguration">The type of the migrations configuration to use during initialization.</typeparam> </member> <member name="M:System.Data.Entity.MigrateDatabaseToLatestVersion`2.#ctor"> <summary> | | > > > > > > > > > > > > > | 39310 39311 39312 39313 39314 39315 39316 39317 39318 39319 39320 39321 39322 39323 39324 39325 39326 39327 39328 39329 39330 39331 39332 39333 39334 39335 39336 39337 39338 | to update the database to the latest version. </summary> <typeparam name="TContext">The type of the context.</typeparam> <typeparam name="TMigrationsConfiguration">The type of the migrations configuration to use during initialization.</typeparam> </member> <member name="M:System.Data.Entity.MigrateDatabaseToLatestVersion`2.#ctor"> <summary> Initializes a new instance of the MigrateDatabaseToLatestVersion class that will use the connection information from a context constructed using the default constructor or registered factory if applicable </summary> </member> <member name="M:System.Data.Entity.MigrateDatabaseToLatestVersion`2.#ctor(System.Boolean)"> <summary> Initializes a new instance of the MigrateDatabaseToLatestVersion class specifying whether to use the connection information from the context that triggered initialization to perform the migration. </summary> <param name="useSuppliedContext"> If set to <c>true</c> the initializer is run using the connection information from the context that triggered initialization. Otherwise, the connection information will be taken from a context constructed using the default constructor or registered factory if applicable. </param> </member> <member name="M:System.Data.Entity.MigrateDatabaseToLatestVersion`2.#ctor(System.String)"> <summary> Initializes a new instance of the MigrateDatabaseToLatestVersion class that will use a specific connection string from the configuration file to connect to the database to perform the migration. </summary> |
︙ | ︙ | |||
40784 40785 40786 40787 40788 40789 40790 40791 40792 40793 40794 40795 40796 40797 | <member name="M:System.Data.Entity.Migrations.Design.CSharpMigrationCodeGenerator.WriteProperty(System.String,System.String,System.Data.Entity.Migrations.Utilities.IndentedTextWriter)"> <summary> Generates a property to return the source or target model in the code behind file. </summary> <param name="name"> Name of the property. </param> <param name="value"> Value to be returned. </param> <param name="writer"> Text writer to add the generated code to. </param> </member> <member name="M:System.Data.Entity.Migrations.Design.CSharpMigrationCodeGenerator.WriteClassStart(System.String,System.String,System.Data.Entity.Migrations.Utilities.IndentedTextWriter,System.String,System.Boolean,System.Collections.Generic.IEnumerable{System.String})"> <summary> Generates a namespace, using statements and class definition. </summary> <param name="namespace"> Namespace that code should be generated in. </param> <param name="className"> Name of the class that should be generated. </param> | > > > > > > > | 40891 40892 40893 40894 40895 40896 40897 40898 40899 40900 40901 40902 40903 40904 40905 40906 40907 40908 40909 40910 40911 | <member name="M:System.Data.Entity.Migrations.Design.CSharpMigrationCodeGenerator.WriteProperty(System.String,System.String,System.Data.Entity.Migrations.Utilities.IndentedTextWriter)"> <summary> Generates a property to return the source or target model in the code behind file. </summary> <param name="name"> Name of the property. </param> <param name="value"> Value to be returned. </param> <param name="writer"> Text writer to add the generated code to. </param> </member> <member name="M:System.Data.Entity.Migrations.Design.CSharpMigrationCodeGenerator.WriteClassAttributes(System.Data.Entity.Migrations.Utilities.IndentedTextWriter,System.Boolean)"> <summary> Generates class attributes. </summary> <param name="writer"> Text writer to add the generated code to. </param> <param name="designer"> A value indicating if this class is being generated for a code-behind file. </param> </member> <member name="M:System.Data.Entity.Migrations.Design.CSharpMigrationCodeGenerator.WriteClassStart(System.String,System.String,System.Data.Entity.Migrations.Utilities.IndentedTextWriter,System.String,System.Boolean,System.Collections.Generic.IEnumerable{System.String})"> <summary> Generates a namespace, using statements and class definition. </summary> <param name="namespace"> Namespace that code should be generated in. </param> <param name="className"> Name of the class that should be generated. </param> |
︙ | ︙ | |||
41381 41382 41383 41384 41385 41386 41387 41388 41389 41390 41391 41392 41393 41394 | <member name="M:System.Data.Entity.Migrations.Design.VisualBasicMigrationCodeGenerator.WriteProperty(System.String,System.String,System.Data.Entity.Migrations.Utilities.IndentedTextWriter)"> <summary> Generates a property to return the source or target model in the code behind file. </summary> <param name="name"> Name of the property. </param> <param name="value"> Value to be returned. </param> <param name="writer"> Text writer to add the generated code to. </param> </member> <member name="M:System.Data.Entity.Migrations.Design.VisualBasicMigrationCodeGenerator.WriteClassStart(System.String,System.String,System.Data.Entity.Migrations.Utilities.IndentedTextWriter,System.String,System.Boolean,System.Collections.Generic.IEnumerable{System.String})"> <summary> Generates a namespace, using statements and class definition. </summary> <param name="namespace"> Namespace that code should be generated in. </param> <param name="className"> Name of the class that should be generated. </param> | > > > > > > > | 41495 41496 41497 41498 41499 41500 41501 41502 41503 41504 41505 41506 41507 41508 41509 41510 41511 41512 41513 41514 41515 | <member name="M:System.Data.Entity.Migrations.Design.VisualBasicMigrationCodeGenerator.WriteProperty(System.String,System.String,System.Data.Entity.Migrations.Utilities.IndentedTextWriter)"> <summary> Generates a property to return the source or target model in the code behind file. </summary> <param name="name"> Name of the property. </param> <param name="value"> Value to be returned. </param> <param name="writer"> Text writer to add the generated code to. </param> </member> <member name="M:System.Data.Entity.Migrations.Design.VisualBasicMigrationCodeGenerator.WriteClassAttributes(System.Data.Entity.Migrations.Utilities.IndentedTextWriter,System.Boolean)"> <summary> Generates class attributes. </summary> <param name="writer"> Text writer to add the generated code to. </param> <param name="designer"> A value indicating if this class is being generated for a code-behind file. </param> </member> <member name="M:System.Data.Entity.Migrations.Design.VisualBasicMigrationCodeGenerator.WriteClassStart(System.String,System.String,System.Data.Entity.Migrations.Utilities.IndentedTextWriter,System.String,System.Boolean,System.Collections.Generic.IEnumerable{System.String})"> <summary> Generates a namespace, using statements and class definition. </summary> <param name="namespace"> Namespace that code should be generated in. </param> <param name="className"> Name of the class that should be generated. </param> |
︙ | ︙ | |||
46555 46556 46557 46558 46559 46560 46561 | As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. context.Database.SqlQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. context.Database.SqlQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); </summary> <typeparam name="TElement"> The type of object returned by the query. </typeparam> <param name="sql"> The SQL query string. </param> | | > > > > | > > > > | 46676 46677 46678 46679 46680 46681 46682 46683 46684 46685 46686 46687 46688 46689 46690 46691 46692 46693 46694 46695 46696 46697 46698 46699 46700 46701 46702 46703 46704 46705 46706 46707 46708 46709 46710 46711 46712 46713 46714 46715 46716 46717 46718 46719 | As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. context.Database.SqlQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. context.Database.SqlQuery<Post>("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); </summary> <typeparam name="TElement"> The type of object returned by the query. </typeparam> <param name="sql"> The SQL query string. </param> <param name="parameters"> The parameters to apply to the SQL query string. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <returns> A <see cref="T:System.Data.Entity.Infrastructure.DbRawSqlQuery`1"/> object that will execute the query when it is enumerated. </returns> </member> <member name="M:System.Data.Entity.Database.SqlQuery(System.Type,System.String,System.Object[])"> <summary> Creates a raw SQL query that will return elements of the given type. The type can be any type that has properties that match the names of the columns returned from the query, or can be a simple primitive type. The type does not have to be an entity type. The results of this query are never tracked by the context even if the type of object returned is an entity type. Use the <see cref="M:System.Data.Entity.DbSet.SqlQuery(System.String,System.Object[])"/> method to return entities that are tracked by the context. As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. context.Database.SqlQuery(typeof(Post), "SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. context.Database.SqlQuery(typeof(Post), "SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); </summary> <param name="elementType"> The type of object returned by the query. </param> <param name="sql"> The SQL query string. </param> <param name="parameters"> The parameters to apply to the SQL query string. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <returns> A <see cref="T:System.Data.Entity.Infrastructure.DbRawSqlQuery"/> object that will execute the query when it is enumerated. </returns> </member> <member name="M:System.Data.Entity.Database.ExecuteSqlCommand(System.String,System.Object[])"> <summary> Executes the given DDL/DML command against the database. |
︙ | ︙ | |||
47309 47310 47311 47312 47313 47314 47315 | As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. context.Set(typeof(Blog)).SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. context.Set(typeof(Blog)).SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); </summary> <param name="sql"> The SQL query string. </param> | | > > > > | 47438 47439 47440 47441 47442 47443 47444 47445 47446 47447 47448 47449 47450 47451 47452 47453 47454 47455 47456 | As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. context.Set(typeof(Blog)).SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. context.Set(typeof(Blog)).SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); </summary> <param name="sql"> The SQL query string. </param> <param name="parameters"> The parameters to apply to the SQL query string. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <returns> A <see cref="T:System.Data.Entity.Infrastructure.DbSqlQuery"/> object that will execute the query when it is enumerated. </returns> </member> <member name="M:System.Data.Entity.DbSet.Equals(System.Object)"> <inheritdoc /> </member> |
︙ | ︙ | |||
47712 47713 47714 47715 47716 47717 47718 | As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. context.Blogs.SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. context.Blogs.SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); </summary> <param name="sql"> The SQL query string. </param> | | > > > > | 47845 47846 47847 47848 47849 47850 47851 47852 47853 47854 47855 47856 47857 47858 47859 47860 47861 47862 47863 | As with any API that accepts SQL it is important to parameterize any user input to protect against a SQL injection attack. You can include parameter place holders in the SQL query string and then supply parameter values as additional arguments. Any parameter values you supply will automatically be converted to a DbParameter. context.Blogs.SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @p0", userSuppliedAuthor); Alternatively, you can also construct a DbParameter and supply it to SqlQuery. This allows you to use named parameters in the SQL query string. context.Blogs.SqlQuery("SELECT * FROM dbo.Posts WHERE Author = @author", new SqlParameter("@author", userSuppliedAuthor)); </summary> <param name="sql"> The SQL query string. </param> <param name="parameters"> The parameters to apply to the SQL query string. If output parameters are used, their values will not be available until the results have been read completely. This is due to the underlying behavior of DbDataReader, see http://go.microsoft.com/fwlink/?LinkID=398589 for more details. </param> <returns> A <see cref="T:System.Data.Entity.Infrastructure.DbSqlQuery`1"/> object that will execute the query when it is enumerated. </returns> </member> <member name="M:System.Data.Entity.DbSet`1.Equals(System.Object)"> <inheritdoc /> </member> |
︙ | ︙ | |||
50032 50033 50034 50035 50036 50037 50038 | <summary> Gets the <see cref="T:System.Type"/> of the current instance. </summary> <returns>The exact runtime type of the current instance.</returns> </member> <member name="T:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration"> <summary> | | | > > > > > > > > > > > | | | | | | | | | > | | 50169 50170 50171 50172 50173 50174 50175 50176 50177 50178 50179 50180 50181 50182 50183 50184 50185 50186 50187 50188 50189 50190 50191 50192 50193 50194 50195 50196 50197 50198 50199 50200 50201 50202 50203 50204 50205 50206 50207 50208 50209 50210 50211 50212 50213 50214 50215 50216 50217 50218 50219 50220 50221 50222 50223 50224 50225 50226 50227 50228 50229 50230 50231 50232 50233 50234 50235 50236 50237 50238 50239 50240 50241 50242 50243 50244 50245 50246 50247 50248 50249 50250 50251 | <summary> Gets the <see cref="T:System.Type"/> of the current instance. </summary> <returns>The exact runtime type of the current instance.</returns> </member> <member name="T:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration"> <summary> Allows the conventions used by a <see cref="T:System.Data.Entity.DbModelBuilder"/> instance to be customized. The default conventions can be found in the System.Data.Entity.ModelConfiguration.Conventions namespace. </summary> </member> <member name="M:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration.AddFromAssembly(System.Reflection.Assembly)"> <summary> Discover all conventions in the given assembly and add them to the <see cref="T:System.Data.Entity.DbModelBuilder"/>. </summary> <remarks> This method add all conventions ordered by type name. The order in which conventions are added can have an impact on how they behave because it governs the order in which they are run. All conventions found must have a parameterless public constructor. </remarks> <param name="assembly">The assembly containing conventions to be added.</param> </member> <member name="M:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration.Add(System.Data.Entity.ModelConfiguration.Conventions.IConvention[])"> <summary> Enables one or more conventions for the <see cref="T:System.Data.Entity.DbModelBuilder"/>. </summary> <param name="conventions"> The conventions to be enabled. </param> </member> <member name="M:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration.Add``1"> <summary> Enables a convention for the <see cref="T:System.Data.Entity.DbModelBuilder"/>. </summary> <typeparam name="TConvention"> The type of the convention to be enabled. </typeparam> </member> <member name="M:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration.AddAfter``1(System.Data.Entity.ModelConfiguration.Conventions.IConvention)"> <summary> Enables a convention for the <see cref="T:System.Data.Entity.DbModelBuilder"/>. This convention will run after the one specified. </summary> <typeparam name="TExistingConvention"> The type of the convention after which the enabled one will run. </typeparam> <param name="newConvention"> The convention to enable. </param> </member> <member name="M:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration.AddBefore``1(System.Data.Entity.ModelConfiguration.Conventions.IConvention)"> <summary> Enables a configuration convention for the <see cref="T:System.Data.Entity.DbModelBuilder"/>. This convention will run before the one specified. </summary> <typeparam name="TExistingConvention"> The type of the convention before which the enabled one will run. </typeparam> <param name="newConvention"> The convention to enable. </param> </member> <member name="M:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration.Remove(System.Data.Entity.ModelConfiguration.Conventions.IConvention[])"> <summary> Disables one or more conventions for the <see cref="T:System.Data.Entity.DbModelBuilder"/>. </summary> <param name="conventions"> The conventions to be disabled. </param> </member> <member name="M:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration.Remove``1"> <summary> Disables a convention for the <see cref="T:System.Data.Entity.DbModelBuilder"/>. The default conventions that are available for removal can be found in the System.Data.Entity.ModelConfiguration.Conventions namespace. </summary> <typeparam name="TConvention"> The type of the convention to be disabled. </typeparam> </member> <member name="M:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration.ToString"> <inheritdoc /> </member> <member name="M:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration.Equals(System.Object)"> <inheritdoc /> </member> <member name="M:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration.GetHashCode"> <inheritdoc /> </member> <member name="M:System.Data.Entity.ModelConfiguration.Configuration.ConventionsConfiguration.GetType"> <summary> Gets the <see cref="T:System.Type"/> of the current instance. </summary> <returns>The exact runtime type of the current instance.</returns> </member> <member name="T:System.Data.Entity.ModelConfiguration.Configuration.EntityMappingConfiguration`1"> <summary> Configures the table and column mapping for an entity type or a sub-set of properties from an entity type. This configuration functionality is available via the Code First Fluent API, see <see cref="T:System.Data.Entity.DbModelBuilder"/>. |
︙ | ︙ |