EntityFramework.SqlServer
An that retries actions that throw exceptions caused by SQL Azure transient failures.
This execution strategy will retry the operation on and
if the contains any of the following error numbers:
40613, 40501, 40197, 10929, 10928, 10060, 10054, 10053, 233, 64 and 20
Creates a new instance of .
The default retry limit is 5, which means that the total amount of time spent between retries is 26 seconds plus the random factor.
Creates a new instance of with the specified limits for
number of retries and the delay between retries.
The maximum number of retry attempts.
The maximum delay in milliseconds between retries.
Contains function stubs that expose SqlServer methods in Linq to Entities.
Returns the checksum of the values in a collection. Null values are ignored.
The checksum computed from the input collection.
The collection of values over which the checksum is computed.
Returns the checksum of the values in a collection. Null values are ignored.
The checksum computed from the input collection.
The collection of values over which the checksum is computed.
Returns the ASCII code value of the left-most character of a character expression.
The ASCII code of the first character in the input string.
A valid string.
Returns the character that corresponds to the specified integer ASCII value.
The character that corresponds to the specified ASCII value.
An ASCII code.
Returns the starting position of one expression found within another expression.
The starting position of target if it is found in toSearch .
The string expression to be searched.
The string expression to be found.
Returns the starting position of one expression found within another expression.
The starting position of target if it is found in toSearch .
The string expression to be searched.
The string expression to be found.
Returns the starting position of one expression found within another expression.
The starting position of target if it is found in toSearch .
The string expression to be searched.
The string expression to be found.
The character position in toSearch where searching begins.
Returns the starting position of one expression found within another expression.
The starting position of target if it is found in toSearch .
The string expression to be searched.
The string expression to be found.
The character position in toSearch where searching begins.
Returns the starting position of one expression found within another expression.
A of value that is the starting position of target if it is found in toSearch .
The string expression to be searched.
The string expression to be found.
The character position in toSearch where searching begins.
Returns the starting position of one expression found within another expression.
The starting position of target if it is found in toSearch .
The string expression to be searched.
The string expression to be found.
The character position in toSearch at which searching begins.
Returns an integer value that indicates the difference between the SOUNDEX values of two character expressions.
The SOUNDEX difference between the two strings.
The first string.
The second string.
Returns the Unicode character with the specified integer code, as defined by the Unicode standard.
The character that corresponds to the input character code.
A character code.
Returns the starting position of the first occurrence of a pattern in a specified expression, or zeros if the pattern is not found, on all valid text and character data types.
The starting character position where the string pattern was found.
A string pattern to search for.
The string to search.
Returns a Unicode string with the delimiters added to make the input string a valid Microsoft SQL Server delimited identifier.
The original string with brackets added.
The expression that quote characters will be added to.
Returns a Unicode string with the delimiters added to make the input string a valid Microsoft SQL Server delimited identifier.
The original string with the specified quote characters added.
The expression that quote characters will be added to.
The one-character string to use as the delimiter. It can be a single quotation mark ( ' ), a left or right bracket ( [ ] ), or a double quotation mark ( " ). If quote_character is not specified, brackets are used.
Repeats a string value a specified number of times.
The target string, repeated the number of times specified by count .
A valid string.
The value that specifies how many time to repeat target .
Converts an alphanumeric string to a four-character (SOUNDEX) code to find similar-sounding words or names.
The SOUNDEX code of the input string.
A valid string.
Returns a string of repeated spaces.
A string that consists of the specified number of spaces.
The number of spaces. If negative, a null string is returned.
Returns character data converted from numeric data.
The numeric input expression converted to a string.
A numeric expression.
Returns character data converted from numeric data.
The input expression converted to a string.
A numeric expression.
Returns character data converted from numeric data.
The numeric input expression converted to a string.
A numeric expression.
The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10.
Returns character data converted from numeric data.
The input expression converted to a string.
A numeric expression.
The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10.
Returns character data converted from numeric data.
The numeric input expression converted to a string.
A numeric expression.
The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10.
The number of places to the right of the decimal point. decimal must be less than or equal to 16. If decimal is more than 16 then the result is truncated to sixteen places to the right of the decimal point.
Returns character data converted from numeric data.
The input expression converted to a string.
A numeric expression.
The total length of the string. This includes decimal point, sign, digits, and spaces. The default is 10.
The number of places to the right of the decimal point. decimal must be less than or equal to 16. If decimal is more than 16 then the result is truncated to sixteen places to the right of the decimal point.
Inserts a string into another string. It deletes a specified length of characters in the target string at the start position and then inserts the second string into the target string at the start position.
A string consisting of the two strings.
The target string.
The character position in stringinput where the replacement string is to be inserted.
The number of characters to delete from stringInput . If length is longer than stringInput , deletion occurs up to the last character in stringReplacement .
The substring to be inserted into stringInput .
Returns the integer value, as defined by the Unicode standard, for the first character of the input expression.
The character code for the first character in the input string.
A valid string.
A mathematical function that returns the angle, in radians, whose cosine is the specified numerical value. This angle is called the arccosine.
The angle, in radians, defined by the input cosine value.
The cosine of an angle.
A mathematical function that returns the angle, in radians, whose cosine is the specified numerical value. This angle is called the arccosine.
An angle, measured in radians.
The cosine of an angle.
A mathematical function that returns the angle, in radians, whose sine is the specified numerical value. This angle is called the arcsine.
An angle, measured in radians.
The sine of an angle.
A mathematical function that returns the angle, in radians, whose sine is the specified numerical value. This angle is called the arcsine.
An angle, measured in radians.
The sine of an angle.
A mathematical function that returns the angle, in radians, whose tangent is the specified numerical value. This angle is called the arctangent.
An angle, measured in radians.
The tangent of an angle.
A mathematical function that returns the angle, in radians, whose tangent is the specified numerical value. This angle is called the arctangent.
An angle, measured in radians.
The tangent of an angle.
Returns the positive angle, in radians, between the positive x-axis and the ray from the origin through the point (x, y), where x and y are the two specified numerical values. The first parameter passed to the function is the y-value and the second parameter is the x-value.
An angle, measured in radians.
The y-coordinate of a point.
The x-coordinate of a point.
Returns the positive angle, in radians, between the positive x-axis and the ray from the origin through the point (x, y), where x and y are the two specified numerical values. The first parameter passed to the function is the y-value and the second parameter is the x-value.
An angle, measured in radians.
The y-coordinate of a point.
The x-coordinate of a point.
Returns the trigonometric cosine of the specified angle, in radians, in the specified expression.
The trigonometric cosine of the specified angle.
An angle, measured in radians.
Returns the trigonometric cosine of the specified angle, in radians, in the specified expression.
The trigonometric cosine of the specified angle.
An angle, measured in radians.
A mathematical function that returns the trigonometric cotangent of the specified angle, in radians.
The trigonometric cotangent of the specified angle.
An angle, measured in radians.
A mathematical function that returns the trigonometric cotangent of the specified angle, in radians.
The trigonometric cotangent of the specified angle.
An angle, measured in radians.
Returns the corresponding angle in degrees for an angle specified in radians.
The specified angle converted to degrees.
An angle, measured in radians.
Returns the corresponding angle in degrees for an angle specified in radians.
The specified angle converted to degrees.
An angle, measured in radians.
Returns the corresponding angle in degrees for an angle specified in radians.
The specified angle converted to degrees.
An angle, measured in radians.
Returns the corresponding angle in degrees for an angle specified in radians.
The specified angle converted to degrees.
An angle, measured in radians.
Returns the exponential value of the specified float expression.
The constant e raised to the power of the input value.
The input value.
Returns the exponential value of the specified float expression.
The constant e raised to the power of the input value.
The input value.
Returns the natural logarithm of the specified input value.
The natural logarithm of the input value.
A numeric expression.
Returns the natural logarithm of the specified input value.
The natural logarithm of the input value.
A numeric expression.
Returns the base-10 logarithm of the specified input value.
The base-10 logarithm of the input value.
A numeric expression.
Returns the base-10 logarithm of the specified input value.
The base-10 logarithm of the input value.
A numeric expression.
Returns the constant value of pi.
The numeric value of pi.
Returns the radian measure corresponding to the specified angle in degrees.
The radian measure of the specified angle.
The angle, measured in degrees
Returns the radian measure corresponding to the specified angle in degrees.
The radian measure of the specified angle.
The angle, measured in degrees
Returns the radian measure corresponding to the specified angle in degrees.
The radian measure of the specified angle.
The angle, measured in degrees.
Returns the radian measure corresponding to the specified angle in degrees.
The radian measure of the specified angle.
The angle, measured in degrees.
Returns a pseudo-random float value from 0 through 1, exclusive.
The pseudo-random value.
Returns a pseudo-random float value from 0 through 1, exclusive.
The pseudo-random value.
The seed value. If seed is not specified, the SQL Server Database Engine assigns a seed value at random. For a specified seed value, the result returned is always the same.
Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression.
The sign of the input expression.
A numeric expression.
Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression.
The sign of the input expression.
A numeric expression.
Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression.
The sign of the input expression.
A numeric expression.
Returns the positive (+1), zero (0), or negative (-1) sign of the specified expression.
The sign of the input expression.
A numeric expression.
Returns the trigonometric sine of the specified angle.
The trigonometric sine of the input expression.
An angle, measured in radians.
Returns the trigonometric sine of the specified angle.
The trigonometric sine of the input expression.
An angle, measured in radians.
Returns the square root of the specified number.
The square root of the input value.
A numeric expression.
Returns the square root of the specified number.
The square root of the input value.
A numeric expression.
Returns the square of the specified number.
The square of the input value.
A numeric expression.
Returns the square of the specified number.
The square of the input value.
A numeric expression.
Returns the trigonometric tangent of the input expression.
The tangent of the input angle.
An angle, measured in radians.
Returns the trigonometric tangent of the input expression.
The tangent of the input angle.
An angle, measured in radians.
Returns a new datetime value based on adding an interval to the specified date.
The new date.
The part of the date to increment.
The value used to increment a date by a specified amount.
The date to increment.
Returns a new time span value based on adding an interval to the specified time span.
The new time span.
The part of the date to increment.
The value used to increment a date by a specified amount.
The time span to increment.
Returns a new date value based on adding an interval to the specified date.
The new point in time, expressed as a date and time of day, relative to Coordinated Universal Time (UTC).
The part of the date to increment.
The value used to increment a date by a specified amount.
The date to increment.
Returns a new datetime value based on adding an interval to the specified date.
A of value that is the new date.
The part of the date to increment.
The value used to increment a date by a specified amount.
The date to increment.
Returns the count of the specified datepart boundaries crossed between the specified start date and end date.
The number of time intervals between the two dates.
The part of the date to calculate the differing number of time intervals.
The first date.
The second date.
Returns the count of the specified datepart boundaries crossed between the specified start date and end date.
The number of time intervals between the two dates.
The part of the date to calculate the differing number of time intervals.
The first date.
The second date.
Returns the count of the specified datepart boundaries crossed between the specified start date and end date.
The number of time intervals between the two dates.
The part of the date to calculate the differing number of time intervals.
The first date.
The second date.
Returns the count of the specified datepart boundaries crossed between the specified start date and end date.
The number of time intervals between the two dates.
The part of the date to calculate the differing number of time intervals.
The first date.
The second date.
Returns the count of the specified datepart boundaries crossed between the specified start date and end date.
The number of time intervals between the two dates.
The part of the date to calculate the differing number of time intervals.
The first date.
The second date.
Returns the count of the specified datepart boundaries crossed between the specified start date and end date.
The value specifying the number of time intervals between the two dates.
The part of the date to calculate the differing number of time intervals.
The first date.
The second date.
Returns the count of the specified datepart boundaries crossed between the specified start date and end date.
The number of time intervals between the two dates.
The part of the date to calculate the differing number of time intervals.
The first date.
The second date.
Returns the count of the specified datepart boundaries crossed between the specified start date and end date.
The number of time intervals between the two dates.
The part of the date to calculate the differing number of time intervals.
The first date.
The second date.
Returns the count of the specified datepart boundaries crossed between the specified start date and end date.
The number of time intervals between the two dates.
The part of the date to calculate the differing number of time intervals.
The first date.
The second date.
Returns the count of the specified datepart boundaries crossed between the specified start date and end date.
The number of time intervals between the two dates.
The part of the date to calculate the differing number of time intervals.
The first date.
The second date.
Returns the count of the specified datepart boundaries crossed between the specified start date and end date.
The number of time intervals between the two dates.
The part of the date to calculate the differing number of time intervals.
The first date.
The second date.
Returns the count of the specified datepart boundaries crossed between the specified start date and end date.
The number of time intervals between the two dates.
The part of the date to calculate the differing number of time intervals.
The first date.
The second date.
Returns the count of the specified datepart boundaries crossed between the specified start date and end date.
The number of time intervals between the two dates.
The part of the date to calculate the differing number of time intervals.
The first date.
The second date.
Returns the count of the specified datepart boundaries crossed between the specified start date and end date.
The number of time intervals between the two Dates.
The part of the date to calculate the differing number of time intervals.
The first date.
The second date.
Returns the count of the specified datepart boundaries crossed between the specified start date and end date.
The number of time intervals between the two dates.
The part of the date to calculate the differing number of time intervals.
The first date.
The second date.
Returns the count of the specified datepart boundaries crossed between the specified start date and end date.
The number of time intervals between the two dates.
The part of the date to calculate the differing number of time intervals.
The first date.
The second date.
Returns a character string that represents the specified datepart of the specified date.
The specified part of the specified date.
The part of the date to calculate the differing number of time intervals.
The date.
Returns a character string that represents the specified datepart of the specified date.
The specified part of the specified date.
The part of the date to calculate the differing number of time intervals.
The date.
Returns a character string that represents the specified datepart of the specified date.
The specified part of the specified date.
The part of the date to calculate the differing number of time intervals.
The date.
Returns a character string that represents the specified datepart of the specified date.
The specified part of the specified date.
The part of the date to calculate the differing number of time intervals.
The date.
Returns an integer that represents the specified datepart of the specified date.
The the specified datepart of the specified date.
The part of the date to return the value.
The date.
Returns an integer that represents the specified datepart of the specified date.
The specified datepart of the specified date.
The part of the date to return the value.
The date.
Returns an integer that represents the specified datepart of the specified date.
The specified datepart of the specified date.
The part of the date to return the value.
The date.
Returns an integer that represents the specified datepart of the specified date.
The specified datepart of the specified date.
The part of the date to return the value.
The date.
Returns the current database system timestamp as a datetime value without the database time zone offset. This value is derived from the operating system of the computer on which the instance of SQL Server is running.
The current database timestamp.
Returns the current database system timestamp as a datetime value. The database time zone offset is not included. This value represents the current UTC time (Coordinated Universal Time). This value is derived from the operating system of the computer on which the instance of SQL Server is running.
The current database UTC timestamp.
Returns the number of bytes used to represent any expression.
The number of bytes in the input value.
The value to be examined for data length.
Returns the number of bytes used to represent any expression.
The number of bytes in the input value.
The value to be examined for data length.
Returns the number of bytes used to represent any expression.
The number of bytes in the input value.
The value to be examined for data length.
Returns the number of bytes used to represent any expression.
The number of bytes in the input value.
The value to be examined for data length.
Returns the number of bytes used to represent any expression.
The number of bytes in the input value.
The value to be examined for data length.
Returns the number of bytes used to represent any expression.
The number of bytes in the input value.
The value to be examined for data length.
Returns the number of bytes used to represent any expression.
The number of bytes in the input value.
The value to be examined for data length.
Returns the number of bytes used to represent any expression.
The number of bytes in the input value.
The value to be examined for length.
Returns the number of bytes used to represent any expression.
The number of bytes in the input value.
The value to be examined for data length.
Returns the checksum value computed over the input argument.
The checksum computed over the input value.
The value for which the checksum is calculated.
Returns the checksum value computed over the input argument.
The checksum computed over the input value.
The value for which the checksum is calculated.
Returns the checksum value computed over the input argument.
The checksum computed over the input value.
The value for which the checksum is calculated.
Returns the checksum value computed over the input argument.
The checksum computed over the input value.
The value for which the checksum is calculated.
Returns the checksum value computed over the input argument.
The checksum computed over the input values.
The value for which the checksum is calculated.
Returns the checksum value computed over the input argument.
The checksum computed over the input value.
The value for which the checksum is calculated.
Returns the checksum value computed over the input argument.
The checksum computed over the input value.
The value for which the checksum is calculated.
Returns the checksum value computed over the input argument.
The checksum computed over the input value.
The character array for which the checksum is calculated.
Returns the checksum value computed over the input argument.
The checksum computed over the input value.
The value for which the checksum is calculated.
Returns the checksum value computed over the input arguments.
The checksum computed over the input values.
The value for which the checksum is calculated.
The value for which the checksum is calculated.
Returns the checksum value computed over the input arguments.
The checksum computed over the input values.
The value for which the checksum is calculated.
The value for which the checksum is calculated.
Returns the checksum value computed over the input arguments.
The checksum computed over the input values.
The value for which the checksum is calculated.
The value for which the checksum is calculated.
Returns the checksum value computed over the input arguments.
The checksum computed over the input values.
The value for which the checksum is calculated.
The value for which the checksum is calculated.
Returns the checksum value computed over the input arguments.
The checksum computed over the input values.
The value for which the checksum is calculated.
The value for which the checksum is calculated.
Returns the checksum value computed over the input arguments.
The checksum computed over the input values.
The value for which the checksum is calculated.
The value for which the checksum is calculated.
Returns the checksum value computed over the input arguments.
The checksum computed over the input values.
The value for which the checksum is calculated.
The value for which the checksum is calculated.
Returns the checksum value computed over the input arguments.
The checksum computed over the input values.
The character array for which the checksum is calculated.
The character array for which the checksum is calculated.
Returns the checksum value computed over the input arguments.
The checksum computed over the input values.
The value for which the checksum is calculated.
The value for which the checksum is calculated.
Returns the checksum value computed over the input arguments.
The checksum computed over the input values.
The value for which the checksum is calculated.
The value for which the checksum is calculated.
The value for which the checksum is calculated.
Returns the checksum value computed over the input arguments.
The checksum computed over the input values.
The value for which the checksum is calculated.
The value for which the checksum is calculated.
The value for which the checksum is calculated.
Returns the checksum value computed over the input arguments.
The checksum computed over the input values.
The value for which the checksum is calculated.
The value for which the checksum is calculated.
The value for which the checksum is calculated.
Returns the checksum value computed over the input arguments.
The checksum computed over the input values.
The value for which the checksum is calculated.
The value for which the checksum is calculated.
The value for which the checksum is calculated.
Returns the checksum value computed over the input arguments.
The checksum computed over the input values.
The value for which the checksum is calculated.
The value for which the checksum is calculated.
The value for which the checksum is calculated.
Returns the checksum value computed over the input arguments.
The checksum computed over the input values.
The value for which the checksum is calculated.
The value for which the checksum is calculated.
The value for which the checksum is calculated.
Returns the checksum value computed over the input arguments.
The checksum computed over the input values.
The value for which the checksum is calculated.
The value for which the checksum is calculated.
The value for which the checksum is calculated.
Returns the checksum value computed over the input arguments.
The checksum computed over the input values.
The character array for which the checksum is calculated.
The character array for which the checksum is calculated.
The character array for which the checksum is calculated.
Returns the checksum value computed over the input arguments.
The checksum computed over the input values.
The value for which the checksum is calculated.
The value for which the checksum is calculated.
The value for which the checksum is calculated.
Returns the current date and time.
The current date and time.
Returns the name of the current user.
The name of the current user.
Returns the workstation name.
The name of the workstation.
Returns a database user name corresponding to a specified identification number.
The user name.
A user ID.
Returns a database user name corresponding to a specified identification number.
The user name.
Indicates whether the input value is a valid numeric type.
1 if the input expression is a valid numeric data type; otherwise, 0.
A string expression.
Indicates whether the input value is a valid date or time.
1 if the input expression is a valid date or time value of datetime or smalldatetime data types; otherwise, 0.
The tested value.
Provider to convert provider agnostic migration operations into SQL commands
that can be run against a Microsoft SQL Server database.
Converts a set of migration operations into Microsoft SQL Server specific SQL.
The operations to be converted.
Token representing the version of SQL Server being targeted (i.e. "2005", "2008").
A list of SQL statements to be executed to perform the migration operations.
Generates the SQL body for a stored procedure.
The command trees representing the commands for an insert, update or delete operation.
The rows affected parameter name.
The provider manifest token.
The SQL body for the stored procedure.
Generates the specified update database operation which represents applying a series of migrations.
The generated script is idempotent, meaning it contains conditional logic to check if individual migrations
have already been applied and only apply the pending ones.
The update database operation.
Generates SQL for a .
Allows derived providers to handle additional operation types.
Generated SQL should be added using the Statement method.
The operation to produce SQL for.
Creates an empty connection for the current provider.
Allows derived providers to use connection other than .
An empty connection for the current provider.
Generates the specified create procedure operation.
The create procedure operation.
Generates the specified alter procedure operation.
The alter procedure operation.
Generates the specified drop procedure operation.
The drop procedure operation.
Generates SQL for a .
Generated SQL should be added using the Statement method.
The operation to produce SQL for.
Override this method to generate SQL when the definition of a table or its attributes are changed.
The default implementation of this method does nothing.
The operation describing changes to the table.
Generates SQL to mark a table as a system table.
Generated SQL should be added using the Statement method.
The table to mark as a system table.
The to write the generated SQL to.
Generates SQL to create a database schema.
Generated SQL should be added using the Statement method.
The name of the schema to create.
Generates SQL for a .
Generated SQL should be added using the Statement method.
The operation to produce SQL for.
Generates SQL for a .
Generated SQL should be added using the Statement method.
The operation to produce SQL for.
Generates SQL for a .
Generated SQL should be added using the Statement method.
The operation to produce SQL for.
Generates SQL for a .
Generated SQL should be added using the Statement method.
The operation to produce SQL for.
Generates SQL for a .
Generated SQL should be added using the Statement method.
The operation to produce SQL for.
Generates SQL for a .
Generated SQL should be added using the Statement method.
The operation to produce SQL for.
Generates SQL for a .
Generated SQL should be added using the Statement method.
The operation to produce SQL for.
Generates SQL for a .
Generated SQL should be added using the Statement method.
The operation to produce SQL for.
Generates SQL for a .
Generated SQL should be added using the Statement method.
The operation to produce SQL for.
Call this method to generate SQL that will attempt to drop the default constraint created
when a column is created. This method is usually called by code that overrides the creation or
altering of columns.
The table to which the constraint applies.
The column to which the constraint applies.
The writer to which generated SQL should be written.
Generates SQL for a .
Generated SQL should be added using the Statement method.
The operation to produce SQL for.
Generates SQL for a .
Generated SQL should be added using the Statement method.
The operation to produce SQL for.
Generates SQL for a .
Generated SQL should be added using the Statement method.
The operation to produce SQL for.
Generates SQL for a .
Generated SQL should be added using the Statement method.
The operation to produce SQL for.
Generates SQL for a .
Generated SQL should be added using the Statement method.
The operation to produce SQL for.
Generates the specified rename procedure operation.
The rename procedure operation.
Generates the specified move procedure operation.
The move procedure operation.
Generates SQL for a .
Generated SQL should be added using the Statement method.
The operation to produce SQL for.
Generates SQL for the given column model. This method is called by other methods that
process columns and can be overridden to change the SQL generated.
The column for which SQL is being generated.
The writer to which generated SQL should be written.
Generates SQL for a .
Generated SQL should be added using the Statement method.
The operation to produce SQL for.
Generates SQL to specify a constant byte[] default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
The value to be set.
SQL representing the default value.
Generates SQL to specify a constant bool default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
The value to be set.
SQL representing the default value.
Generates SQL to specify a constant DateTime default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
The value to be set.
SQL representing the default value.
Generates SQL to specify a constant DateTimeOffset default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
The value to be set.
SQL representing the default value.
Generates SQL to specify a constant Guid default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
The value to be set.
SQL representing the default value.
Generates SQL to specify a constant string default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
The value to be set.
SQL representing the default value.
Generates SQL to specify a constant TimeSpan default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
The value to be set.
SQL representing the default value.
Generates SQL to specify a constant geogrpahy default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
The value to be set.
SQL representing the default value.
Generates SQL to specify a constant geometry default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
The value to be set.
SQL representing the default value.
Generates SQL to specify a constant default value being set on a column.
This method just generates the actual value, not the SQL to set the default value.
The value to be set.
SQL representing the default value.
Generates SQL to specify the data type of a column.
This method just generates the actual type, not the SQL to create the column.
The definition of the column.
SQL representing the data type.
Generates a quoted name. The supplied name may or may not contain the schema.
The name to be quoted.
The quoted name.
Quotes an identifier for SQL Server.
The identifier to be quoted.
The quoted identifier.
Adds a new Statement to be executed against the database.
The statement to be executed.
Gets or sets a value indicating whether this statement should be performed outside of the transaction scope that is used to make the migration process transactional. If set to true, this operation will not be rolled back if the migration process fails.
The batch terminator for the database provider.
Gets a new that can be used to build SQL.
This is just a helper method to create a writer. Writing to the writer will
not cause SQL to be registered for execution. You must pass the generated
SQL to the Statement method.
An empty text writer to use for SQL generation.
Adds a new Statement to be executed against the database.
The writer containing the SQL to be executed.
The batch terminator for the database provider.
Returns the column default value to use for store-generated GUID columns when
no default value is explicitly specified in the migration.
Returns newsequentialid() for on-premises SQL Server 2005 and later.
Returns newid() for SQL Azure.
Either newsequentialid() or newid() as described above.
Contains function stubs that expose SqlServer methods in Linq to Entities.
Constructs a geography instance representing a Point instance from its x and y values and a spatial reference ID (SRID).
The constructed geography instance.
The x-coordinate of the Point being generated.
The y-coordinate of the Point being generated
The SRID of the geography instance.
Returns the Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a geography instance augmented with any Z (elevation) and M (measure) values carried by the instance.
The Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a geography instance.
The geography value.
Returns a geometric object representing the union of all point values whose distance from a geography instance is less than or equal to a specified value, allowing for a specified tolerance.
The union of all point values whose distance from a geography instance is less than or equal to a specified value
The geography value.
The distance.
The specified tolerance.
Specifying whether the tolerance value is relative or absolute.
Returns the maximum angle between the point returned by EnvelopeCenter() and a point in the geography instance in degrees.
the maximum angle between the point returned by EnvelopeCenter().
The geography value.
Returns a point that can be used as the center of a bounding circle for the geography instance.
A SqlGeography value that specifies the location of the center of a bounding circle.
The geography value.
Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeography instance, assuming an index is available.
True if a geography instance potentially intersects another SqlGeography instance; otherwise, false.
The geography value.
Another geography instance to compare against the instance on which Filter is invoked.
Tests if the SqlGeography instance is the same as the specified type.
A string that specifies one of the 12 types exposed in the geography type hierarchy.
The geography value.
A string that specifies one of the 12 types exposed in the geography type hierarchy.
Returns the total number of rings in a Polygon instance.
The total number of rings.
The geography value.
Returns an approximation of the given geography instance produced by running the Douglas-Peucker algorithm on the instance with the given tolerance.
Returns .
The geography value.
The tolerance to input to the Douglas-Peucker algorithm. tolerance must be a positive number.
Returns the specified ring of the SqlGeography instance: 1 ≤ n ≤ NumRings().
A SqlGeography object that represents the ring specified by n.
The geography value.
An int expression between 1 and the number of rings in a polygon instance.
Constructs a geometry instance representing a Point instance from its x and y values and a spatial reference ID (SRID).
The constructed geometry instance.
The x-coordinate of the Point being generated.
The y-coordinate of the Point being generated
The SRID of the geography instance.
Returns the Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a geography instance augmented with any Z (elevation) and M (measure) values carried by the instance.
The Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a geometry instance.
The geometry value.
Returns a geometric object representing the union of all point values whose distance from a geometry instance is less than or equal to a specified value, allowing for a specified tolerance.
The union of all point values whose distance from a geometry instance is less than or equal to a specified value
The geometry value.
The distance.
The specified tolerance.
Specifying whether the tolerance value is relative or absolute.
Tests if the SqlGeometry instance is the same as the specified type.
A string that specifies one of the 12 types exposed in the geography type hierarchy.
The geometry value.
A string that specifies one of the 12 types exposed in the geography type hierarchy.
Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeometry instance, assuming an index is available.
True if a geography instance potentially intersects another SqlGeography instance; otherwise, false.
The geometry value.
Another geography instance to compare against the instance on which Filter is invoked.
Converts an invalid geometry instance into a geometry instance with a valid Open Geospatial Consortium (OGC) type.
The converted geometry instance.
The geometry value.
Returns an approximation of the given geography instance produced by running the Douglas-Peucker algorithm on the instance with the given tolerance.
Returns .
The geometry value.
The tolerance to input to the Douglas-Peucker algorithm. tolerance must be a positive number.
The DbProviderServices implementation for the SqlClient provider for SQL Server.
Note that instance of this type also resolve additional provider services for Microsoft SQL Server
when this type is registered as an EF provider either using an entry in the application's config file
or through code-based registration in .
The services resolved are:
Requests for are resolved to a Singleton instance of
to create connections to SQL Express by default.
Requests for for the invariant name "System.Data.SqlClient"
for any server name are resolved to a delegate that returns a
to provide a non-retrying policy for SQL Server.
Requests for for the invariant name "System.Data.SqlClient" are
resolved to instances to provide default Migrations SQL
generation for SQL Server.
Requests for for the invariant name "System.Data.SqlClient" are
resolved to a Singleton instance of to provide default spatial
services for SQL Server.
This is the well-known string using in configuration files and code-based configuration as
the "provider invariant name" used to specify Microsoft SQL Server for ADO.NET and
Entity Framework provider services.
Registers a handler to process non-error messages coming from the database provider.
The connection to receive information for.
The handler to process messages.
Create a Command Definition object, given the connection and command tree
provider manifest that was determined from metadata
command tree for the statement
an executable command definition object
Sets the parameter value and appropriate facets for the given .
The parameter.
The type of the parameter.
The value of the parameter.
Returns provider manifest token for a given connection.
Connection to find manifest token from.
The provider manifest token for the specified connection.
Returns the provider manifest by using the specified version information.
The token information associated with the provider manifest.
The provider manifest by using the specified version information.
Gets a spatial data reader for SQL Server.
The reader where the spatial data came from.
The manifest token associated with the provider manifest.
The spatial data reader.
Gets a spatial data reader for SQL Server.
The manifest token associated with the provider manifest.
The spatial data reader.
Generates a data definition language (DDL) script that creates schema objects
(tables, primary keys, foreign keys) based on the contents of the StoreItemCollection
parameter and targeted for the version of the database corresponding to the provider manifest token.
The provider manifest token identifying the target version.
The structure of the database.
A DDL script that creates schema objects based on the contents of the StoreItemCollection parameter
and targeted for the version of the database corresponding to the provider manifest token.
Create the database and the database objects.
If initial catalog is not specified, but AttachDBFilename is specified, we generate a random database name based on the AttachDBFilename.
Note: this causes pollution of the db, as when the connection string is later used, the mdf will get attached under a different name.
However if we try to replicate the name under which it would be attached, the following scenario would fail:
The file does not exist, but registered with database.
The user calls: If (DatabaseExists) DeleteDatabase
CreateDatabase
For further details on the behavior when AttachDBFilename is specified see Dev10# 188936
Connection to a non-existent database that needs to be created and populated with the store objects indicated with the storeItemCollection parameter.
Execution timeout for any commands needed to create the database.
The collection of all store items based on which the script should be created.
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
Connection to a database whose existence is checked by this method.
Execution timeout for any commands needed to determine the existence of the database.
The collection of all store items from the model. This parameter is no longer used for determining database existence.
True if the provider can deduce the database only based on the connection.
Delete the database for the given connection.
There are three cases:
1. If Initial Catalog is specified (X) drop database X
2. Else if AttachDBFilename is specified (F) drop all the databases corresponding to F
if none throw
3. If niether the catalog not the file name is specified - throw
Note that directly deleting the files does not work for a remote server. However, even for not attached
databases the current logic would work assuming the user does: if (DatabaseExists) DeleteDatabase
Connection
Timeout for internal commands.
Item Collection.
The Singleton instance of the SqlProviderServices type.
Set this flag to false to prevent values from being truncated to
the scale (number of decimal places) defined for the column. The default value is true,
indicating that decimal values will be truncated, in order to prevent breaking existing
applications that depend on this behavior.
With this flag set to true objects are created with their Scale
properties set. When this flag is set to false then the Scale properties are not set, meaning
that the truncation behavior of SqlParameter is avoided.
An implementation of to provide support for geospatial types when using
Entity Framework with Microsoft SQL Server.