Skip to content

Commit 90bbec3

Browse files
committed
don't use emdash in command options
1 parent 6c01dc3 commit 90bbec3

24 files changed

+955
-956
lines changed

docs/framework/app-domains/how-to-remove-an-assembly-from-the-gac.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ There are two ways to remove an assembly from the global assembly cache (GAC):
2727

2828
At the command prompt, type the following command:
2929

30-
**gacutil u** \<*assembly name*>
30+
**gacutil -u** \<*assembly name*>
3131

3232
In this command, *assembly name* is the name of the assembly to remove from the global assembly cache.
3333

docs/framework/app-domains/how-to-unload-an-application-domain.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ms.assetid: f356116d-e415-4f7c-a332-6e6a60227192
1616

1717
[!INCLUDE [net-framework-specific](../includes/net-framework-specific.md)]
1818

19-
When you have finished using an application domain, unload it using the <xref:System.AppDomain.Unload%2A?displayProperty=nameWithType> method. The **Unload** method gracefully shuts down the specified application domain. During the unloading process, no new threads can access the application domain, and all application domainspecific data structures are freed.
19+
When you have finished using an application domain, unload it using the <xref:System.AppDomain.Unload%2A?displayProperty=nameWithType> method. The **Unload** method gracefully shuts down the specified application domain. During the unloading process, no new threads can access the application domain, and all application domain-specific data structures are freed.
2020

2121
Assemblies loaded into the application domain are removed and are no longer available. If an assembly in the application domain is domain-neutral, data for the assembly remains in memory until the entire process is shut down. There is no mechanism to unload a domain-neutral assembly other than shutting down the entire process. There are situations where the request to unload an application domain does not work and results in a <xref:System.CannotUnloadAppDomainException>.
2222

docs/framework/configure-apps/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ This article describes the syntax of configuration files and provides informatio
6767

6868
The name and location of the application configuration file depend on the app's host, which can be one of the following:
6969

70-
- Executablehosted app.
70+
- Executable-hosted app.
7171

7272
These apps have two configuration files: a source configuration file, which is modified by the developer during development, and an output file that's distributed with the app.
7373

docs/framework/data/adonet/ef/language-reference/literals-entity-sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ DATETIMEOFFSET'2006-12-25 01:01:00.0000000 -08:30'
9494
Binary'00ffaabb'
9595
X'ABCabc'
9696
BINARY '0f0f0f0F0F0F0F0F0F0F'
97-
X'' - empty binary string
97+
X'' -- empty binary string
9898
```
9999

100100
## Guid

docs/framework/data/adonet/sql/linq/system-datetime-methods.md

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,29 @@ ms.assetid: 4f80700c-e83f-4ab6-af0f-1c9a606e1133
66
---
77
# System.DateTime Methods
88

9-
The following LINQ to SQL-supported methods, operators, and properties are available to use in LINQ to SQL queries. When a method, operator or property is unsupported, LINQ to SQL cannot translate the member for execution on the SQL Server. You may use these members in your code, however, they must be evaluated before the query is translated to Transact-SQL or after the results have been retrieved from the database.
10-
11-
## Supported System.DateTime Members
12-
13-
Once mapped in the object model or external mapping file, LINQ to SQL allows you to call the following <xref:System.DateTime?displayProperty=nameWithType> members inside LINQ to SQL queries.
14-
15-
|Supported <xref:System.DateTime> Methods|Supported <xref:System.DateTime> Operators|Supported <xref:System.DateTime> Properties|
16-
|-|-|-|
17-
|<xref:System.DateTime.Add%2A>|<xref:System.DateTime.op_Addition%2A>|<xref:System.DateTime.Date%2A>|
18-
|<xref:System.DateTime.AddDays%2A>|<xref:System.DateTime.op_Equality%2A>|<xref:System.DateTime.Day%2A>|
19-
|<xref:System.DateTime.AddHours%2A>|<xref:System.DateTime.op_GreaterThan%2A>|<xref:System.DateTime.DayOfWeek%2A>|
20-
|<xref:System.DateTime.AddMilliseconds%2A>|<xref:System.DateTime.op_GreaterThanOrEqual%2A>|<xref:System.DateTime.DayOfYear%2A>|
21-
|<xref:System.DateTime.AddMinutes%2A>|<xref:System.DateTime.op_Inequality%2A>|<xref:System.DateTime.Hour%2A>|
22-
|<xref:System.DateTime.AddMonths%2A>|<xref:System.DateTime.op_LessThan%2A>|<xref:System.DateTime.Millisecond%2A>|
23-
|<xref:System.DateTime.AddSeconds%2A>|<xref:System.DateTime.op_LessThanOrEqual%2A>|<xref:System.DateTime.Minute%2A>|
24-
|<xref:System.DateTime.AddTicks%2A>|<xref:System.DateTime.op_Subtraction%2A>|<xref:System.DateTime.Month%2A>|
25-
|<xref:System.DateTime.AddYears%2A>||<xref:System.DateTime.Now%2A>|
26-
|<xref:System.DateTime.Compare%2A>||<xref:System.DateTime.Second%2A>|
27-
|<xref:System.DateTime.CompareTo%28System.DateTime%29>||<xref:System.DateTime.TimeOfDay%2A>|
28-
|<xref:System.DateTime.Equals%28System.DateTime%29>||<xref:System.DateTime.Today%2A>|
29-
|||<xref:System.DateTime.Year%2A>|
30-
31-
## Members Not Supported by LINQ to SQL
9+
The following LINQ to SQL-supported methods, operators, and properties are available to use in LINQ to SQL queries. When a method, operator or property is unsupported, LINQ to SQL cannot translate the member for execution on the SQL Server. You may use these members in your code, however, they must be evaluated before the query is translated to Transact-SQL or after the results have been retrieved from the database.
10+
11+
## Supported System.DateTime Members
12+
13+
Once mapped in the object model or external mapping file, LINQ to SQL allows you to call the following <xref:System.DateTime?displayProperty=nameWithType> members inside LINQ to SQL queries.
14+
15+
|Supported <xref:System.DateTime> Methods|Supported <xref:System.DateTime> Operators|Supported <xref:System.DateTime> Properties|
16+
|-|-|-|
17+
|<xref:System.DateTime.Add%2A>|<xref:System.DateTime.op_Addition%2A>|<xref:System.DateTime.Date%2A>|
18+
|<xref:System.DateTime.AddDays%2A>|<xref:System.DateTime.op_Equality%2A>|<xref:System.DateTime.Day%2A>|
19+
|<xref:System.DateTime.AddHours%2A>|<xref:System.DateTime.op_GreaterThan%2A>|<xref:System.DateTime.DayOfWeek%2A>|
20+
|<xref:System.DateTime.AddMilliseconds%2A>|<xref:System.DateTime.op_GreaterThanOrEqual%2A>|<xref:System.DateTime.DayOfYear%2A>|
21+
|<xref:System.DateTime.AddMinutes%2A>|<xref:System.DateTime.op_Inequality%2A>|<xref:System.DateTime.Hour%2A>|
22+
|<xref:System.DateTime.AddMonths%2A>|<xref:System.DateTime.op_LessThan%2A>|<xref:System.DateTime.Millisecond%2A>|
23+
|<xref:System.DateTime.AddSeconds%2A>|<xref:System.DateTime.op_LessThanOrEqual%2A>|<xref:System.DateTime.Minute%2A>|
24+
|<xref:System.DateTime.AddTicks%2A>|<xref:System.DateTime.op_Subtraction%2A>|<xref:System.DateTime.Month%2A>|
25+
|<xref:System.DateTime.AddYears%2A>||<xref:System.DateTime.Now%2A>|
26+
|<xref:System.DateTime.Compare%2A>||<xref:System.DateTime.Second%2A>|
27+
|<xref:System.DateTime.CompareTo%28System.DateTime%29>||<xref:System.DateTime.TimeOfDay%2A>|
28+
|<xref:System.DateTime.Equals%28System.DateTime%29>||<xref:System.DateTime.Today%2A>|
29+
|||<xref:System.DateTime.Year%2A>|
30+
31+
## Members Not Supported by LINQ to SQL
3232

3333
The following members are not supported inside LINQ to SQL queries:
3434

@@ -50,18 +50,18 @@ The following LINQ to SQL-supported methods, operators, and properties are avail
5050
- <xref:System.DateTime.FromFileTimeUtc%2A>
5151
- <xref:System.DateTime.FromOADate%2A>
5252
- <xref:System.DateTime.GetDateTimeFormats%2A>
53-
54-
## Method Translation Example
55-
56-
All methods supported by LINQ to SQL are translated to Transact-SQL before they are sent to SQL Server. For example, consider the following pattern.
57-
58-
`(dateTime1 dateTime2).{Days, Hours, Milliseconds, Minutes, Months, Seconds, Years}`
59-
60-
When it is recognized, it is translated into a direct call to the SQL Server `DATEDIFF` function, as follows:
61-
62-
`DATEDIFF({DatePart}, @dateTime1, @dateTime2)`
63-
64-
## SQLMethods Date and Time Methods
53+
54+
## Method Translation Example
55+
56+
All methods supported by LINQ to SQL are translated to Transact-SQL before they are sent to SQL Server. For example, consider the following pattern.
57+
58+
`(dateTime1 - dateTime2).{Days, Hours, Milliseconds, Minutes, Months, Seconds, Years}`
59+
60+
When it is recognized, it is translated into a direct call to the SQL Server `DATEDIFF` function, as follows:
61+
62+
`DATEDIFF({DatePart}, @dateTime1, @dateTime2)`
63+
64+
## SQLMethods Date and Time Methods
6565

6666
In addition to the methods offered by the <xref:System.DateTime> structure, LINQ to SQL offers the following methods from the <xref:System.Data.Linq.SqlClient.SqlMethods?displayProperty=nameWithType> class for working with date and time:
6767

@@ -74,7 +74,7 @@ The following LINQ to SQL-supported methods, operators, and properties are avail
7474
- <xref:System.Data.Linq.SqlClient.SqlMethods.DateDiffMicrosecond%2A>
7575
- <xref:System.Data.Linq.SqlClient.SqlMethods.DateDiffMonth%2A>
7676
- <xref:System.Data.Linq.SqlClient.SqlMethods.DateDiffYear%2A>
77-
77+
7878
## See also
7979

8080
- [Query Concepts](query-concepts.md)

0 commit comments

Comments
 (0)