5 // Atsushi Enomoto <atsushi@ximian.com>
7 // Copyright (C) 2008 Novell, Inc.
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:
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
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.
32 namespace System.Data.Linq.SqlClient
34 public static class SqlMethods
37 public static int DateDiffDay (DateTime startDate, DateTime endDate)
39 throw new NotImplementedException ();
43 public static int? DateDiffDay (DateTime? startDate, DateTime? endDate)
45 throw new NotImplementedException ();
49 public static int DateDiffHour (DateTime startDate, DateTime endDate)
51 throw new NotImplementedException ();
55 public static int? DateDiffHour (DateTime? startDate, DateTime? endDate)
57 throw new NotImplementedException ();
61 public static int DateDiffMillisecond (DateTime startDate, DateTime endDate)
63 throw new NotImplementedException ();
67 public static int? DateDiffMillisecond (DateTime? startDate, DateTime? endDate)
69 throw new NotImplementedException ();
73 public static int DateDiffMinute (DateTime startDate, DateTime endDate)
75 throw new NotImplementedException ();
79 public static int? DateDiffMinute (DateTime? startDate, DateTime? endDate)
81 throw new NotImplementedException ();
85 public static int DateDiffMonth (DateTime startDate, DateTime endDate)
87 throw new NotImplementedException ();
91 public static int? DateDiffMonth (DateTime? startDate, DateTime? endDate)
93 throw new NotImplementedException ();
97 public static int DateDiffSecond (DateTime startDate, DateTime endDate)
99 throw new NotImplementedException ();
103 public static int? DateDiffSecond (DateTime? startDate, DateTime? endDate)
105 throw new NotImplementedException ();
109 public static int DateDiffYear (DateTime startDate, DateTime endDate)
111 throw new NotImplementedException ();
115 public static int? DateDiffYear (DateTime? startDate, DateTime? endDate)
117 throw new NotImplementedException ();
120 #region .NET 3.5 SP1 (DateTimeOffset)
123 public static int DateDiffMicrosecond (DateTime startDate, DateTime endDate)
125 throw new NotImplementedException ();
129 public static int? DateDiffMicrosecond (DateTime? startDate, DateTime? endDate)
131 throw new NotImplementedException ();
135 public static int DateDiffNanosecond (DateTime startDate, DateTime endDate)
137 throw new NotImplementedException ();
141 public static int? DateDiffNanosecond (DateTime? startDate, DateTime? endDate)
143 throw new NotImplementedException ();
148 public static int DateDiffDay (DateTimeOffset startDate, DateTimeOffset endDate)
150 throw new NotImplementedException ();
154 public static int? DateDiffDay (DateTimeOffset? startDate, DateTimeOffset? endDate)
156 throw new NotImplementedException ();
160 public static int DateDiffHour (DateTimeOffset startDate, DateTimeOffset endDate)
162 throw new NotImplementedException ();
166 public static int? DateDiffHour (DateTimeOffset? startDate, DateTimeOffset? endDate)
168 throw new NotImplementedException ();
172 public static int DateDiffMicrosecond (DateTimeOffset startDate, DateTimeOffset endDate)
174 throw new NotImplementedException ();
178 public static int? DateDiffMicrosecond (DateTimeOffset? startDate, DateTimeOffset? endDate)
180 throw new NotImplementedException ();
184 public static int DateDiffMillisecond (DateTimeOffset startDate, DateTimeOffset endDate)
186 throw new NotImplementedException ();
190 public static int? DateDiffMillisecond (DateTimeOffset? startDate, DateTimeOffset? endDate)
192 throw new NotImplementedException ();
196 public static int DateDiffMinute (DateTimeOffset startDate, DateTimeOffset endDate)
198 throw new NotImplementedException ();
202 public static int? DateDiffMinute (DateTimeOffset? startDate, DateTimeOffset? endDate)
204 throw new NotImplementedException ();
208 public static int DateDiffMonth (DateTimeOffset startDate, DateTimeOffset endDate)
210 throw new NotImplementedException ();
214 public static int? DateDiffMonth (DateTimeOffset? startDate, DateTimeOffset? endDate)
216 throw new NotImplementedException ();
220 public static int DateDiffNanosecond (DateTimeOffset startDate, DateTimeOffset endDate)
222 throw new NotImplementedException ();
226 public static int? DateDiffNanosecond (DateTimeOffset? startDate, DateTimeOffset? endDate)
228 throw new NotImplementedException ();
232 public static int DateDiffSecond (DateTimeOffset startDate, DateTimeOffset endDate)
234 throw new NotImplementedException ();
238 public static int? DateDiffSecond (DateTimeOffset? startDate, DateTimeOffset? endDate)
240 throw new NotImplementedException ();
244 public static int DateDiffYear (DateTimeOffset startDate, DateTimeOffset endDate)
246 throw new NotImplementedException ();
250 public static int? DateDiffYear (DateTimeOffset? startDate, DateTimeOffset? endDate)
252 throw new NotImplementedException ();
257 public static bool Like (string matchExpression, string pattern)
259 throw new NotImplementedException ();
263 public static bool Like (string matchExpression, string pattern, char escapeCharacter)
265 throw new NotImplementedException ();