You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -74,9 +74,9 @@ The following snippets were taken from the aspnet-core-sample project also locat
74
74
75
75
returnservices.BuildServiceProvider();
76
76
}
77
-
77
+
```
78
78
**Index.cshtml**
79
-
79
+
```html
80
80
@{
81
81
ViewData["title"] = "People Table";
82
82
}
@@ -113,7 +113,7 @@ The following snippets were taken from the aspnet-core-sample project also locat
113
113
114
114
115
115
}
116
-
116
+
```
117
117
The included Dockerfile-websample builds, packages and runs the web sample project in a docker image. No tools, frameworks or runtimes are required on the host machine. The image has been published to docker for your convenience.
118
118
119
119
docker run -p 80:80 garvincasimir/datatables-aspnet-core-sample:0.0.2
@@ -122,7 +122,7 @@ Custom Filter Expressions
122
122
========================
123
123
The parser builds a set of expressions based on the settings and filter text sent from Datatables. The end result is a *WHERE* clause which looks something like this:
124
124
125
-
```
125
+
```sql
126
126
FROM [People] AS [val]
127
127
WHERE ((((CASE
128
128
WHEN CHARINDEX(N'cromie', LOWER([val].[FirstName])) >0
@@ -154,7 +154,7 @@ What is missing in the above expression is the ability to format dates to match
154
154
155
155
For example, if your provider does support *DateTime.ToString(string format)*, you can substitute .ToString() with that expression after initializing the parser. This must be explicitly called for each applicable property.
@@ -165,7 +165,7 @@ var parser = new Parser<Person>(p, context.People)
165
165
In EF Core 2 you can map user defined and system scalar valued functions and use them for formatting. The following is an example for SQL Server >= 2012.
0 commit comments