PageRenderTime 42ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/ServicesTesting/r-u-on/trunk/waterwebservices/ServicesWebSite/services/MonitorDb.designer.cs

http://hydrocatalog.codeplex.com
C# | 466 lines | 400 code | 57 blank | 9 comment | 40 complexity | 067cb7b29778f7a1dd098dcea4f9cc59 MD5 | raw file
Possible License(s): BSD-3-Clause, Apache-2.0, GPL-2.0
  1. #pragma warning disable 1591
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // This code was generated by a tool.
  5. // Runtime Version:4.0.30319.225
  6. //
  7. // Changes to this file may cause incorrect behavior and will be lost if
  8. // the code is regenerated.
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. namespace ServicesWebSite.services
  12. {
  13. using System.Data.Linq;
  14. using System.Data.Linq.Mapping;
  15. using System.Data;
  16. using System.Collections.Generic;
  17. using System.Reflection;
  18. using System.Linq;
  19. using System.Linq.Expressions;
  20. [global::System.Data.Linq.Mapping.DatabaseAttribute(Name="hiscentral_logging")]
  21. public partial class MonitorDbDataContext : System.Data.Linq.DataContext
  22. {
  23. private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource();
  24. #region Extensibility Method Definitions
  25. partial void OnCreated();
  26. #endregion
  27. public MonitorDbDataContext() :
  28. base(global::System.Configuration.ConfigurationManager.ConnectionStrings["hiscentral_loggingReader"].ConnectionString, mappingSource)
  29. {
  30. OnCreated();
  31. }
  32. public MonitorDbDataContext(string connection) :
  33. base(connection, mappingSource)
  34. {
  35. OnCreated();
  36. }
  37. public MonitorDbDataContext(System.Data.IDbConnection connection) :
  38. base(connection, mappingSource)
  39. {
  40. OnCreated();
  41. }
  42. public MonitorDbDataContext(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
  43. base(connection, mappingSource)
  44. {
  45. OnCreated();
  46. }
  47. public MonitorDbDataContext(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
  48. base(connection, mappingSource)
  49. {
  50. OnCreated();
  51. }
  52. public System.Data.Linq.Table<ServicesWebSite.services.monitors.LastServiceRecord> LastServiceRecords
  53. {
  54. get
  55. {
  56. return this.GetTable<ServicesWebSite.services.monitors.LastServiceRecord>();
  57. }
  58. }
  59. public System.Data.Linq.Table<ServicesWebSite.services.monitors.ServiceWorkingStat> ServiceWorkingStats
  60. {
  61. get
  62. {
  63. return this.GetTable<ServicesWebSite.services.monitors.ServiceWorkingStat>();
  64. }
  65. }
  66. }
  67. }
  68. namespace ServicesWebSite.services.monitors
  69. {
  70. using System.Data.Linq;
  71. using System.Data.Linq.Mapping;
  72. using System.ComponentModel;
  73. using System;
  74. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.LastServiceRecords")]
  75. public partial class LastServiceRecord
  76. {
  77. private System.Data.Linq.Binary _TimeChecked;
  78. private System.Guid _Identifier;
  79. private string _ServiceName;
  80. private string _MethodName;
  81. private System.Nullable<bool> _Working;
  82. private string _ErrorString;
  83. private System.Nullable<long> _RunTime;
  84. private string _Severity;
  85. private string _Location;
  86. private string _Variable;
  87. private string _StartDate;
  88. private string _EndDate;
  89. private string _Endpoint;
  90. private string _ExceptionMessage;
  91. private System.Nullable<System.DateTime> _TimeUpdated;
  92. public LastServiceRecord()
  93. {
  94. }
  95. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TimeChecked", AutoSync=AutoSync.Always, DbType="rowversion NOT NULL", CanBeNull=false, IsDbGenerated=true, IsVersion=true, UpdateCheck=UpdateCheck.Never)]
  96. public System.Data.Linq.Binary TimeChecked
  97. {
  98. get
  99. {
  100. return this._TimeChecked;
  101. }
  102. set
  103. {
  104. if ((this._TimeChecked != value))
  105. {
  106. this._TimeChecked = value;
  107. }
  108. }
  109. }
  110. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Identifier", DbType="UniqueIdentifier NOT NULL", UpdateCheck=UpdateCheck.Never)]
  111. public System.Guid Identifier
  112. {
  113. get
  114. {
  115. return this._Identifier;
  116. }
  117. set
  118. {
  119. if ((this._Identifier != value))
  120. {
  121. this._Identifier = value;
  122. }
  123. }
  124. }
  125. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ServiceName", DbType="NVarChar(50)", UpdateCheck=UpdateCheck.Never)]
  126. public string ServiceName
  127. {
  128. get
  129. {
  130. return this._ServiceName;
  131. }
  132. set
  133. {
  134. if ((this._ServiceName != value))
  135. {
  136. this._ServiceName = value;
  137. }
  138. }
  139. }
  140. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MethodName", DbType="NVarChar(50)", UpdateCheck=UpdateCheck.Never)]
  141. public string MethodName
  142. {
  143. get
  144. {
  145. return this._MethodName;
  146. }
  147. set
  148. {
  149. if ((this._MethodName != value))
  150. {
  151. this._MethodName = value;
  152. }
  153. }
  154. }
  155. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Working", DbType="Bit", UpdateCheck=UpdateCheck.Never)]
  156. public System.Nullable<bool> Working
  157. {
  158. get
  159. {
  160. return this._Working;
  161. }
  162. set
  163. {
  164. if ((this._Working != value))
  165. {
  166. this._Working = value;
  167. }
  168. }
  169. }
  170. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ErrorString", DbType="NText", UpdateCheck=UpdateCheck.Never)]
  171. public string ErrorString
  172. {
  173. get
  174. {
  175. return this._ErrorString;
  176. }
  177. set
  178. {
  179. if ((this._ErrorString != value))
  180. {
  181. this._ErrorString = value;
  182. }
  183. }
  184. }
  185. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RunTime", DbType="BigInt", UpdateCheck=UpdateCheck.Never)]
  186. public System.Nullable<long> RunTime
  187. {
  188. get
  189. {
  190. return this._RunTime;
  191. }
  192. set
  193. {
  194. if ((this._RunTime != value))
  195. {
  196. this._RunTime = value;
  197. }
  198. }
  199. }
  200. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Severity", DbType="NVarChar(10)", UpdateCheck=UpdateCheck.Never)]
  201. public string Severity
  202. {
  203. get
  204. {
  205. return this._Severity;
  206. }
  207. set
  208. {
  209. if ((this._Severity != value))
  210. {
  211. this._Severity = value;
  212. }
  213. }
  214. }
  215. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Location", DbType="NVarChar(100)", UpdateCheck=UpdateCheck.Never)]
  216. public string Location
  217. {
  218. get
  219. {
  220. return this._Location;
  221. }
  222. set
  223. {
  224. if ((this._Location != value))
  225. {
  226. this._Location = value;
  227. }
  228. }
  229. }
  230. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Variable", DbType="NVarChar(100)", UpdateCheck=UpdateCheck.Never)]
  231. public string Variable
  232. {
  233. get
  234. {
  235. return this._Variable;
  236. }
  237. set
  238. {
  239. if ((this._Variable != value))
  240. {
  241. this._Variable = value;
  242. }
  243. }
  244. }
  245. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StartDate", DbType="NVarChar(30)", UpdateCheck=UpdateCheck.Never)]
  246. public string StartDate
  247. {
  248. get
  249. {
  250. return this._StartDate;
  251. }
  252. set
  253. {
  254. if ((this._StartDate != value))
  255. {
  256. this._StartDate = value;
  257. }
  258. }
  259. }
  260. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EndDate", DbType="NVarChar(30)", UpdateCheck=UpdateCheck.Never)]
  261. public string EndDate
  262. {
  263. get
  264. {
  265. return this._EndDate;
  266. }
  267. set
  268. {
  269. if ((this._EndDate != value))
  270. {
  271. this._EndDate = value;
  272. }
  273. }
  274. }
  275. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Endpoint", DbType="NVarChar(255)", UpdateCheck=UpdateCheck.Never)]
  276. public string Endpoint
  277. {
  278. get
  279. {
  280. return this._Endpoint;
  281. }
  282. set
  283. {
  284. if ((this._Endpoint != value))
  285. {
  286. this._Endpoint = value;
  287. }
  288. }
  289. }
  290. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExceptionMessage", DbType="NText", UpdateCheck=UpdateCheck.Never)]
  291. public string ExceptionMessage
  292. {
  293. get
  294. {
  295. return this._ExceptionMessage;
  296. }
  297. set
  298. {
  299. if ((this._ExceptionMessage != value))
  300. {
  301. this._ExceptionMessage = value;
  302. }
  303. }
  304. }
  305. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TimeUpdated", DbType="DateTime", UpdateCheck=UpdateCheck.Never)]
  306. public System.Nullable<System.DateTime> TimeUpdated
  307. {
  308. get
  309. {
  310. return this._TimeUpdated;
  311. }
  312. set
  313. {
  314. if ((this._TimeUpdated != value))
  315. {
  316. this._TimeUpdated = value;
  317. }
  318. }
  319. }
  320. }
  321. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ServiceWorkingStats")]
  322. public partial class ServiceWorkingStat
  323. {
  324. private string _ServiceName;
  325. private string _MethodName;
  326. private System.Nullable<int> _TotalTests;
  327. private System.Nullable<int> _WorkingTests;
  328. private System.Nullable<int> _FailedTests;
  329. public ServiceWorkingStat()
  330. {
  331. }
  332. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ServiceName", DbType="NVarChar(50)")]
  333. public string ServiceName
  334. {
  335. get
  336. {
  337. return this._ServiceName;
  338. }
  339. set
  340. {
  341. if ((this._ServiceName != value))
  342. {
  343. this._ServiceName = value;
  344. }
  345. }
  346. }
  347. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MethodName", DbType="NVarChar(50)")]
  348. public string MethodName
  349. {
  350. get
  351. {
  352. return this._MethodName;
  353. }
  354. set
  355. {
  356. if ((this._MethodName != value))
  357. {
  358. this._MethodName = value;
  359. }
  360. }
  361. }
  362. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalTests", DbType="Int")]
  363. public System.Nullable<int> TotalTests
  364. {
  365. get
  366. {
  367. return this._TotalTests;
  368. }
  369. set
  370. {
  371. if ((this._TotalTests != value))
  372. {
  373. this._TotalTests = value;
  374. }
  375. }
  376. }
  377. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkingTests", DbType="Int")]
  378. public System.Nullable<int> WorkingTests
  379. {
  380. get
  381. {
  382. return this._WorkingTests;
  383. }
  384. set
  385. {
  386. if ((this._WorkingTests != value))
  387. {
  388. this._WorkingTests = value;
  389. }
  390. }
  391. }
  392. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FailedTests", DbType="Int")]
  393. public System.Nullable<int> FailedTests
  394. {
  395. get
  396. {
  397. return this._FailedTests;
  398. }
  399. set
  400. {
  401. if ((this._FailedTests != value))
  402. {
  403. this._FailedTests = value;
  404. }
  405. }
  406. }
  407. }
  408. }
  409. #pragma warning restore 1591