6c839b8ac35f330761bed4fb0bef466a60af8319
[mono.git] / mcs / class / System.Data.Linq / System.Data.Linq.SqlClient / SqlMethods.cs
1 //
2 // SqlMethods.cs
3 //
4 // Author:
5 //   Atsushi Enomoto  <atsushi@ximian.com>
6 //
7 // Copyright (C) 2008 Novell, Inc.
8 //
9
10 //
11 // Permission is hereby granted, free of charge, to any person obtaining
12 // a copy of this software and associated documentation files (the
13 // "Software"), to deal in the Software without restriction, including
14 // without limitation the rights to use, copy, modify, merge, publish,
15 // distribute, sublicense, and/or sell copies of the Software, and to
16 // permit persons to whom the Software is furnished to do so, subject to
17 // the following conditions:
18 // 
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
21 // 
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 //
30 using System;
31
32 namespace System.Data.Linq.SqlClient
33 {
34         public static class SqlMethods
35         {
36                 [MonoTODO]
37                 public static int DateDiffDay (DateTime startDate, DateTime endDate)
38                 {
39                         throw new NotImplementedException ();
40                 }
41
42                 [MonoTODO]
43                 public static int? DateDiffDay (DateTime? startDate, DateTime? endDate)
44                 {
45                         throw new NotImplementedException ();
46                 }
47
48                 [MonoTODO]
49                 public static int DateDiffHour (DateTime startDate, DateTime endDate)
50                 {
51                         throw new NotImplementedException ();
52                 }
53
54                 [MonoTODO]
55                 public static int? DateDiffHour (DateTime? startDate, DateTime? endDate)
56                 {
57                         throw new NotImplementedException ();
58                 }
59
60                 [MonoTODO]
61                 public static int DateDiffMillisecond (DateTime startDate, DateTime endDate)
62                 {
63                         throw new NotImplementedException ();
64                 }
65
66                 [MonoTODO]
67                 public static int? DateDiffMillisecond (DateTime? startDate, DateTime? endDate)
68                 {
69                         throw new NotImplementedException ();
70                 }
71
72                 [MonoTODO]
73                 public static int DateDiffMinute (DateTime startDate, DateTime endDate)
74                 {
75                         throw new NotImplementedException ();
76                 }
77
78                 [MonoTODO]
79                 public static int? DateDiffMinute (DateTime? startDate, DateTime? endDate)
80                 {
81                         throw new NotImplementedException ();
82                 }
83
84                 [MonoTODO]
85                 public static int DateDiffMonth (DateTime startDate, DateTime endDate)
86                 {
87                         throw new NotImplementedException ();
88                 }
89
90                 [MonoTODO]
91                 public static int? DateDiffMonth (DateTime? startDate, DateTime? endDate)
92                 {
93                         throw new NotImplementedException ();
94                 }
95
96                 [MonoTODO]
97                 public static int DateDiffSecond (DateTime startDate, DateTime endDate)
98                 {
99                         throw new NotImplementedException ();
100                 }
101
102                 [MonoTODO]
103                 public static int? DateDiffSecond (DateTime? startDate, DateTime? endDate)
104                 {
105                         throw new NotImplementedException ();
106                 }
107
108                 [MonoTODO]
109                 public static int DateDiffYear (DateTime startDate, DateTime endDate)
110                 {
111                         throw new NotImplementedException ();
112                 }
113
114                 [MonoTODO]
115                 public static int? DateDiffYear (DateTime? startDate, DateTime? endDate)
116                 {
117                         throw new NotImplementedException ();
118                 }
119
120                 #region .NET 3.5 SP1 (DateTimeOffset)
121
122                 [MonoTODO]
123                 public static int DateDiffMicrosecond (DateTime startDate, DateTime endDate)
124                 {
125                         throw new NotImplementedException ();
126                 }
127
128                 [MonoTODO]
129                 public static int? DateDiffMicrosecond (DateTime? startDate, DateTime? endDate)
130                 {
131                         throw new NotImplementedException ();
132                 }
133
134                 [MonoTODO]
135                 public static int DateDiffNanosecond (DateTime startDate, DateTime endDate)
136                 {
137                         throw new NotImplementedException ();
138                 }
139
140                 [MonoTODO]
141                 public static int? DateDiffNanosecond (DateTime? startDate, DateTime? endDate)
142                 {
143                         throw new NotImplementedException ();
144                 }
145
146
147                 [MonoTODO]
148                 public static int DateDiffDay (DateTimeOffset startDate, DateTimeOffset endDate)
149                 {
150                         throw new NotImplementedException ();
151                 }
152
153                 [MonoTODO]
154                 public static int? DateDiffDay (DateTimeOffset? startDate, DateTimeOffset? endDate)
155                 {
156                         throw new NotImplementedException ();
157                 }
158
159                 [MonoTODO]
160                 public static int DateDiffHour (DateTimeOffset startDate, DateTimeOffset endDate)
161                 {
162                         throw new NotImplementedException ();
163                 }
164
165                 [MonoTODO]
166                 public static int? DateDiffHour (DateTimeOffset? startDate, DateTimeOffset? endDate)
167                 {
168                         throw new NotImplementedException ();
169                 }
170
171                 [MonoTODO]
172                 public static int DateDiffMicrosecond (DateTimeOffset startDate, DateTimeOffset endDate)
173                 {
174                         throw new NotImplementedException ();
175                 }
176
177                 [MonoTODO]
178                 public static int? DateDiffMicrosecond (DateTimeOffset? startDate, DateTimeOffset? endDate)
179                 {
180                         throw new NotImplementedException ();
181                 }
182
183                 [MonoTODO]
184                 public static int DateDiffMillisecond (DateTimeOffset startDate, DateTimeOffset endDate)
185                 {
186                         throw new NotImplementedException ();
187                 }
188
189                 [MonoTODO]
190                 public static int? DateDiffMillisecond (DateTimeOffset? startDate, DateTimeOffset? endDate)
191                 {
192                         throw new NotImplementedException ();
193                 }
194
195                 [MonoTODO]
196                 public static int DateDiffMinute (DateTimeOffset startDate, DateTimeOffset endDate)
197                 {
198                         throw new NotImplementedException ();
199                 }
200
201                 [MonoTODO]
202                 public static int? DateDiffMinute (DateTimeOffset? startDate, DateTimeOffset? endDate)
203                 {
204                         throw new NotImplementedException ();
205                 }
206
207                 [MonoTODO]
208                 public static int DateDiffMonth (DateTimeOffset startDate, DateTimeOffset endDate)
209                 {
210                         throw new NotImplementedException ();
211                 }
212
213                 [MonoTODO]
214                 public static int? DateDiffMonth (DateTimeOffset? startDate, DateTimeOffset? endDate)
215                 {
216                         throw new NotImplementedException ();
217                 }
218
219                 [MonoTODO]
220                 public static int DateDiffNanosecond (DateTimeOffset startDate, DateTimeOffset endDate)
221                 {
222                         throw new NotImplementedException ();
223                 }
224
225                 [MonoTODO]
226                 public static int? DateDiffNanosecond (DateTimeOffset? startDate, DateTimeOffset? endDate)
227                 {
228                         throw new NotImplementedException ();
229                 }
230
231                 [MonoTODO]
232                 public static int DateDiffSecond (DateTimeOffset startDate, DateTimeOffset endDate)
233                 {
234                         throw new NotImplementedException ();
235                 }
236
237                 [MonoTODO]
238                 public static int? DateDiffSecond (DateTimeOffset? startDate, DateTimeOffset? endDate)
239                 {
240                         throw new NotImplementedException ();
241                 }
242
243                 [MonoTODO]
244                 public static int DateDiffYear (DateTimeOffset startDate, DateTimeOffset endDate)
245                 {
246                         throw new NotImplementedException ();
247                 }
248
249                 [MonoTODO]
250                 public static int? DateDiffYear (DateTimeOffset? startDate, DateTimeOffset? endDate)
251                 {
252                         throw new NotImplementedException ();
253                 }
254                 #endregion
255
256                 [MonoTODO]
257                 public static bool Like (string matchExpression, string pattern)
258                 {
259                         throw new NotImplementedException ();
260                 }
261
262                 [MonoTODO]
263                 public static bool Like (string matchExpression, string pattern, char escapeCharacter)
264                 {
265                         throw new NotImplementedException ();
266                 }
267         }
268 }