纽威
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5788 lines
134 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. #pragma warning disable 1591
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // 此代码由工具生成。
  5. // 运行时版本:4.0.30319.42000
  6. //
  7. // 对此文件的更改可能会导致不正确的行为,并且如果
  8. // 重新生成代码,这些更改将会丢失。
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. namespace ICSSoft.Frame.Data.Entity
  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. using System.ComponentModel;
  21. using System;
  22. [global::System.Data.Linq.Mapping.DatabaseAttribute(Name="ICS_WMS_NW")]
  23. public partial class FramDataContext : System.Data.Linq.DataContext
  24. {
  25. private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource();
  26. #region 可扩展性方法定义
  27. partial void OnCreated();
  28. partial void InsertICSInventory(ICSInventory instance);
  29. partial void UpdateICSInventory(ICSInventory instance);
  30. partial void DeleteICSInventory(ICSInventory instance);
  31. partial void InsertICSExtension(ICSExtension instance);
  32. partial void UpdateICSExtension(ICSExtension instance);
  33. partial void DeleteICSExtension(ICSExtension instance);
  34. partial void InsertICSOApply(ICSOApply instance);
  35. partial void UpdateICSOApply(ICSOApply instance);
  36. partial void DeleteICSOApply(ICSOApply instance);
  37. partial void InsertICSMOApply(ICSMOApply instance);
  38. partial void UpdateICSMOApply(ICSMOApply instance);
  39. partial void DeleteICSMOApply(ICSMOApply instance);
  40. partial void InsertICSMOApplyNeg(ICSMOApplyNeg instance);
  41. partial void UpdateICSMOApplyNeg(ICSMOApplyNeg instance);
  42. partial void DeleteICSMOApplyNeg(ICSMOApplyNeg instance);
  43. partial void InsertICSMOApplyNegDetail(ICSMOApplyNegDetail instance);
  44. partial void UpdateICSMOApplyNegDetail(ICSMOApplyNegDetail instance);
  45. partial void DeleteICSMOApplyNegDetail(ICSMOApplyNegDetail instance);
  46. partial void InsertICSTransfer(ICSTransfer instance);
  47. partial void UpdateICSTransfer(ICSTransfer instance);
  48. partial void DeleteICSTransfer(ICSTransfer instance);
  49. partial void InsertICSMTDOC(ICSMTDOC instance);
  50. partial void UpdateICSMTDOC(ICSMTDOC instance);
  51. partial void DeleteICSMTDOC(ICSMTDOC instance);
  52. partial void InsertICSManufactureReceive(ICSManufactureReceive instance);
  53. partial void UpdateICSManufactureReceive(ICSManufactureReceive instance);
  54. partial void DeleteICSManufactureReceive(ICSManufactureReceive instance);
  55. partial void InsertICSDeliveryNotice(ICSDeliveryNotice instance);
  56. partial void UpdateICSDeliveryNotice(ICSDeliveryNotice instance);
  57. partial void DeleteICSDeliveryNotice(ICSDeliveryNotice instance);
  58. #endregion
  59. public FramDataContext() :
  60. base(global::ICSSoft.Frame.Data.Entity.Properties.Settings.Default.ICS_WMS_NWConnectionString, mappingSource)
  61. {
  62. OnCreated();
  63. }
  64. public FramDataContext(string connection) :
  65. base(connection, mappingSource)
  66. {
  67. OnCreated();
  68. }
  69. public FramDataContext(System.Data.IDbConnection connection) :
  70. base(connection, mappingSource)
  71. {
  72. OnCreated();
  73. }
  74. public FramDataContext(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
  75. base(connection, mappingSource)
  76. {
  77. OnCreated();
  78. }
  79. public FramDataContext(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
  80. base(connection, mappingSource)
  81. {
  82. OnCreated();
  83. }
  84. public System.Data.Linq.Table<ICSInventory> ICSInventory
  85. {
  86. get
  87. {
  88. return this.GetTable<ICSInventory>();
  89. }
  90. }
  91. public System.Data.Linq.Table<ICSExtension> ICSExtension
  92. {
  93. get
  94. {
  95. return this.GetTable<ICSExtension>();
  96. }
  97. }
  98. public System.Data.Linq.Table<ICSOApply> ICSOApply
  99. {
  100. get
  101. {
  102. return this.GetTable<ICSOApply>();
  103. }
  104. }
  105. public System.Data.Linq.Table<ICSMOApply> ICSMOApply
  106. {
  107. get
  108. {
  109. return this.GetTable<ICSMOApply>();
  110. }
  111. }
  112. public System.Data.Linq.Table<ICSMOApplyNeg> ICSMOApplyNeg
  113. {
  114. get
  115. {
  116. return this.GetTable<ICSMOApplyNeg>();
  117. }
  118. }
  119. public System.Data.Linq.Table<ICSMOApplyNegDetail> ICSMOApplyNegDetail
  120. {
  121. get
  122. {
  123. return this.GetTable<ICSMOApplyNegDetail>();
  124. }
  125. }
  126. public System.Data.Linq.Table<ICSTransfer> ICSTransfer
  127. {
  128. get
  129. {
  130. return this.GetTable<ICSTransfer>();
  131. }
  132. }
  133. public System.Data.Linq.Table<ICSMTDOC> ICSMTDOC
  134. {
  135. get
  136. {
  137. return this.GetTable<ICSMTDOC>();
  138. }
  139. }
  140. public System.Data.Linq.Table<ICSManufactureReceive> ICSManufactureReceive
  141. {
  142. get
  143. {
  144. return this.GetTable<ICSManufactureReceive>();
  145. }
  146. }
  147. public System.Data.Linq.Table<ICSDeliveryNotice> ICSDeliveryNotice
  148. {
  149. get
  150. {
  151. return this.GetTable<ICSDeliveryNotice>();
  152. }
  153. }
  154. }
  155. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSInventory")]
  156. public partial class ICSInventory : INotifyPropertyChanging, INotifyPropertyChanged
  157. {
  158. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  159. private string _ID;
  160. private string _InvCode;
  161. private string _InvName;
  162. private string _InvDesc;
  163. private string _InvStd;
  164. private string _InvUnit;
  165. private string _AmountUnit;
  166. private string _ClassCode;
  167. private string _ClassName;
  168. private decimal _InvRate;
  169. private string _InvVersion;
  170. private string _InvBrand;
  171. private bool _InvIQC;
  172. private bool _InvFQC;
  173. private bool _EffectiveEnable;
  174. private decimal _EffectiveDays;
  175. private bool _BatchEnable;
  176. private bool _LotEnable;
  177. private bool _PrintEnable;
  178. private string _WHUser;
  179. private string _MUSER;
  180. private string _MUSERName;
  181. private System.DateTime _MTIME;
  182. private string _WorkPoint;
  183. private string _EATTRIBUTE1;
  184. #region 可扩展性方法定义
  185. partial void OnLoaded();
  186. partial void OnValidate(System.Data.Linq.ChangeAction action);
  187. partial void OnCreated();
  188. partial void OnIDChanging(string value);
  189. partial void OnIDChanged();
  190. partial void OnInvCodeChanging(string value);
  191. partial void OnInvCodeChanged();
  192. partial void OnInvNameChanging(string value);
  193. partial void OnInvNameChanged();
  194. partial void OnInvDescChanging(string value);
  195. partial void OnInvDescChanged();
  196. partial void OnInvStdChanging(string value);
  197. partial void OnInvStdChanged();
  198. partial void OnInvUnitChanging(string value);
  199. partial void OnInvUnitChanged();
  200. partial void OnAmountUnitChanging(string value);
  201. partial void OnAmountUnitChanged();
  202. partial void OnClassCodeChanging(string value);
  203. partial void OnClassCodeChanged();
  204. partial void OnClassNameChanging(string value);
  205. partial void OnClassNameChanged();
  206. partial void OnInvRateChanging(decimal value);
  207. partial void OnInvRateChanged();
  208. partial void OnInvVersionChanging(string value);
  209. partial void OnInvVersionChanged();
  210. partial void OnInvBrandChanging(string value);
  211. partial void OnInvBrandChanged();
  212. partial void OnInvIQCChanging(bool value);
  213. partial void OnInvIQCChanged();
  214. partial void OnInvFQCChanging(bool value);
  215. partial void OnInvFQCChanged();
  216. partial void OnEffectiveEnableChanging(bool value);
  217. partial void OnEffectiveEnableChanged();
  218. partial void OnEffectiveDaysChanging(decimal value);
  219. partial void OnEffectiveDaysChanged();
  220. partial void OnBatchEnableChanging(bool value);
  221. partial void OnBatchEnableChanged();
  222. partial void OnLotEnableChanging(bool value);
  223. partial void OnLotEnableChanged();
  224. partial void OnPrintEnableChanging(bool value);
  225. partial void OnPrintEnableChanged();
  226. partial void OnWHUserChanging(string value);
  227. partial void OnWHUserChanged();
  228. partial void OnMUSERChanging(string value);
  229. partial void OnMUSERChanged();
  230. partial void OnMUSERNameChanging(string value);
  231. partial void OnMUSERNameChanged();
  232. partial void OnMTIMEChanging(System.DateTime value);
  233. partial void OnMTIMEChanged();
  234. partial void OnWorkPointChanging(string value);
  235. partial void OnWorkPointChanged();
  236. partial void OnEATTRIBUTE1Changing(string value);
  237. partial void OnEATTRIBUTE1Changed();
  238. #endregion
  239. public ICSInventory()
  240. {
  241. OnCreated();
  242. }
  243. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  244. public string ID
  245. {
  246. get
  247. {
  248. return this._ID;
  249. }
  250. set
  251. {
  252. if ((this._ID != value))
  253. {
  254. this.OnIDChanging(value);
  255. this.SendPropertyChanging();
  256. this._ID = value;
  257. this.SendPropertyChanged("ID");
  258. this.OnIDChanged();
  259. }
  260. }
  261. }
  262. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  263. public string InvCode
  264. {
  265. get
  266. {
  267. return this._InvCode;
  268. }
  269. set
  270. {
  271. if ((this._InvCode != value))
  272. {
  273. this.OnInvCodeChanging(value);
  274. this.SendPropertyChanging();
  275. this._InvCode = value;
  276. this.SendPropertyChanged("InvCode");
  277. this.OnInvCodeChanged();
  278. }
  279. }
  280. }
  281. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvName", DbType="NVarChar(500) NOT NULL", CanBeNull=false)]
  282. public string InvName
  283. {
  284. get
  285. {
  286. return this._InvName;
  287. }
  288. set
  289. {
  290. if ((this._InvName != value))
  291. {
  292. this.OnInvNameChanging(value);
  293. this.SendPropertyChanging();
  294. this._InvName = value;
  295. this.SendPropertyChanged("InvName");
  296. this.OnInvNameChanged();
  297. }
  298. }
  299. }
  300. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvDesc", DbType="NVarChar(500)")]
  301. public string InvDesc
  302. {
  303. get
  304. {
  305. return this._InvDesc;
  306. }
  307. set
  308. {
  309. if ((this._InvDesc != value))
  310. {
  311. this.OnInvDescChanging(value);
  312. this.SendPropertyChanging();
  313. this._InvDesc = value;
  314. this.SendPropertyChanged("InvDesc");
  315. this.OnInvDescChanged();
  316. }
  317. }
  318. }
  319. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvStd", DbType="NVarChar(500)")]
  320. public string InvStd
  321. {
  322. get
  323. {
  324. return this._InvStd;
  325. }
  326. set
  327. {
  328. if ((this._InvStd != value))
  329. {
  330. this.OnInvStdChanging(value);
  331. this.SendPropertyChanging();
  332. this._InvStd = value;
  333. this.SendPropertyChanged("InvStd");
  334. this.OnInvStdChanged();
  335. }
  336. }
  337. }
  338. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvUnit", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  339. public string InvUnit
  340. {
  341. get
  342. {
  343. return this._InvUnit;
  344. }
  345. set
  346. {
  347. if ((this._InvUnit != value))
  348. {
  349. this.OnInvUnitChanging(value);
  350. this.SendPropertyChanging();
  351. this._InvUnit = value;
  352. this.SendPropertyChanged("InvUnit");
  353. this.OnInvUnitChanged();
  354. }
  355. }
  356. }
  357. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AmountUnit", DbType="NVarChar(50)")]
  358. public string AmountUnit
  359. {
  360. get
  361. {
  362. return this._AmountUnit;
  363. }
  364. set
  365. {
  366. if ((this._AmountUnit != value))
  367. {
  368. this.OnAmountUnitChanging(value);
  369. this.SendPropertyChanging();
  370. this._AmountUnit = value;
  371. this.SendPropertyChanged("AmountUnit");
  372. this.OnAmountUnitChanged();
  373. }
  374. }
  375. }
  376. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ClassCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  377. public string ClassCode
  378. {
  379. get
  380. {
  381. return this._ClassCode;
  382. }
  383. set
  384. {
  385. if ((this._ClassCode != value))
  386. {
  387. this.OnClassCodeChanging(value);
  388. this.SendPropertyChanging();
  389. this._ClassCode = value;
  390. this.SendPropertyChanged("ClassCode");
  391. this.OnClassCodeChanged();
  392. }
  393. }
  394. }
  395. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ClassName", DbType="NVarChar(80) NOT NULL", CanBeNull=false)]
  396. public string ClassName
  397. {
  398. get
  399. {
  400. return this._ClassName;
  401. }
  402. set
  403. {
  404. if ((this._ClassName != value))
  405. {
  406. this.OnClassNameChanging(value);
  407. this.SendPropertyChanging();
  408. this._ClassName = value;
  409. this.SendPropertyChanged("ClassName");
  410. this.OnClassNameChanged();
  411. }
  412. }
  413. }
  414. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvRate", DbType="Decimal(18,6) NOT NULL")]
  415. public decimal InvRate
  416. {
  417. get
  418. {
  419. return this._InvRate;
  420. }
  421. set
  422. {
  423. if ((this._InvRate != value))
  424. {
  425. this.OnInvRateChanging(value);
  426. this.SendPropertyChanging();
  427. this._InvRate = value;
  428. this.SendPropertyChanged("InvRate");
  429. this.OnInvRateChanged();
  430. }
  431. }
  432. }
  433. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvVersion", DbType="NVarChar(50)")]
  434. public string InvVersion
  435. {
  436. get
  437. {
  438. return this._InvVersion;
  439. }
  440. set
  441. {
  442. if ((this._InvVersion != value))
  443. {
  444. this.OnInvVersionChanging(value);
  445. this.SendPropertyChanging();
  446. this._InvVersion = value;
  447. this.SendPropertyChanged("InvVersion");
  448. this.OnInvVersionChanged();
  449. }
  450. }
  451. }
  452. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvBrand", DbType="NVarChar(50)")]
  453. public string InvBrand
  454. {
  455. get
  456. {
  457. return this._InvBrand;
  458. }
  459. set
  460. {
  461. if ((this._InvBrand != value))
  462. {
  463. this.OnInvBrandChanging(value);
  464. this.SendPropertyChanging();
  465. this._InvBrand = value;
  466. this.SendPropertyChanged("InvBrand");
  467. this.OnInvBrandChanged();
  468. }
  469. }
  470. }
  471. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvIQC", DbType="Bit NOT NULL")]
  472. public bool InvIQC
  473. {
  474. get
  475. {
  476. return this._InvIQC;
  477. }
  478. set
  479. {
  480. if ((this._InvIQC != value))
  481. {
  482. this.OnInvIQCChanging(value);
  483. this.SendPropertyChanging();
  484. this._InvIQC = value;
  485. this.SendPropertyChanged("InvIQC");
  486. this.OnInvIQCChanged();
  487. }
  488. }
  489. }
  490. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvFQC", DbType="Bit NOT NULL")]
  491. public bool InvFQC
  492. {
  493. get
  494. {
  495. return this._InvFQC;
  496. }
  497. set
  498. {
  499. if ((this._InvFQC != value))
  500. {
  501. this.OnInvFQCChanging(value);
  502. this.SendPropertyChanging();
  503. this._InvFQC = value;
  504. this.SendPropertyChanged("InvFQC");
  505. this.OnInvFQCChanged();
  506. }
  507. }
  508. }
  509. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EffectiveEnable", DbType="Bit NOT NULL")]
  510. public bool EffectiveEnable
  511. {
  512. get
  513. {
  514. return this._EffectiveEnable;
  515. }
  516. set
  517. {
  518. if ((this._EffectiveEnable != value))
  519. {
  520. this.OnEffectiveEnableChanging(value);
  521. this.SendPropertyChanging();
  522. this._EffectiveEnable = value;
  523. this.SendPropertyChanged("EffectiveEnable");
  524. this.OnEffectiveEnableChanged();
  525. }
  526. }
  527. }
  528. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EffectiveDays", DbType="Decimal(18,6) NOT NULL")]
  529. public decimal EffectiveDays
  530. {
  531. get
  532. {
  533. return this._EffectiveDays;
  534. }
  535. set
  536. {
  537. if ((this._EffectiveDays != value))
  538. {
  539. this.OnEffectiveDaysChanging(value);
  540. this.SendPropertyChanging();
  541. this._EffectiveDays = value;
  542. this.SendPropertyChanged("EffectiveDays");
  543. this.OnEffectiveDaysChanged();
  544. }
  545. }
  546. }
  547. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchEnable", DbType="Bit NOT NULL")]
  548. public bool BatchEnable
  549. {
  550. get
  551. {
  552. return this._BatchEnable;
  553. }
  554. set
  555. {
  556. if ((this._BatchEnable != value))
  557. {
  558. this.OnBatchEnableChanging(value);
  559. this.SendPropertyChanging();
  560. this._BatchEnable = value;
  561. this.SendPropertyChanged("BatchEnable");
  562. this.OnBatchEnableChanged();
  563. }
  564. }
  565. }
  566. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LotEnable", DbType="Bit NOT NULL")]
  567. public bool LotEnable
  568. {
  569. get
  570. {
  571. return this._LotEnable;
  572. }
  573. set
  574. {
  575. if ((this._LotEnable != value))
  576. {
  577. this.OnLotEnableChanging(value);
  578. this.SendPropertyChanging();
  579. this._LotEnable = value;
  580. this.SendPropertyChanged("LotEnable");
  581. this.OnLotEnableChanged();
  582. }
  583. }
  584. }
  585. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PrintEnable", DbType="Bit NOT NULL")]
  586. public bool PrintEnable
  587. {
  588. get
  589. {
  590. return this._PrintEnable;
  591. }
  592. set
  593. {
  594. if ((this._PrintEnable != value))
  595. {
  596. this.OnPrintEnableChanging(value);
  597. this.SendPropertyChanging();
  598. this._PrintEnable = value;
  599. this.SendPropertyChanged("PrintEnable");
  600. this.OnPrintEnableChanged();
  601. }
  602. }
  603. }
  604. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHUser", DbType="NVarChar(50)")]
  605. public string WHUser
  606. {
  607. get
  608. {
  609. return this._WHUser;
  610. }
  611. set
  612. {
  613. if ((this._WHUser != value))
  614. {
  615. this.OnWHUserChanging(value);
  616. this.SendPropertyChanging();
  617. this._WHUser = value;
  618. this.SendPropertyChanged("WHUser");
  619. this.OnWHUserChanged();
  620. }
  621. }
  622. }
  623. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  624. public string MUSER
  625. {
  626. get
  627. {
  628. return this._MUSER;
  629. }
  630. set
  631. {
  632. if ((this._MUSER != value))
  633. {
  634. this.OnMUSERChanging(value);
  635. this.SendPropertyChanging();
  636. this._MUSER = value;
  637. this.SendPropertyChanged("MUSER");
  638. this.OnMUSERChanged();
  639. }
  640. }
  641. }
  642. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  643. public string MUSERName
  644. {
  645. get
  646. {
  647. return this._MUSERName;
  648. }
  649. set
  650. {
  651. if ((this._MUSERName != value))
  652. {
  653. this.OnMUSERNameChanging(value);
  654. this.SendPropertyChanging();
  655. this._MUSERName = value;
  656. this.SendPropertyChanged("MUSERName");
  657. this.OnMUSERNameChanged();
  658. }
  659. }
  660. }
  661. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  662. public System.DateTime MTIME
  663. {
  664. get
  665. {
  666. return this._MTIME;
  667. }
  668. set
  669. {
  670. if ((this._MTIME != value))
  671. {
  672. this.OnMTIMEChanging(value);
  673. this.SendPropertyChanging();
  674. this._MTIME = value;
  675. this.SendPropertyChanged("MTIME");
  676. this.OnMTIMEChanged();
  677. }
  678. }
  679. }
  680. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  681. public string WorkPoint
  682. {
  683. get
  684. {
  685. return this._WorkPoint;
  686. }
  687. set
  688. {
  689. if ((this._WorkPoint != value))
  690. {
  691. this.OnWorkPointChanging(value);
  692. this.SendPropertyChanging();
  693. this._WorkPoint = value;
  694. this.SendPropertyChanged("WorkPoint");
  695. this.OnWorkPointChanged();
  696. }
  697. }
  698. }
  699. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  700. public string EATTRIBUTE1
  701. {
  702. get
  703. {
  704. return this._EATTRIBUTE1;
  705. }
  706. set
  707. {
  708. if ((this._EATTRIBUTE1 != value))
  709. {
  710. this.OnEATTRIBUTE1Changing(value);
  711. this.SendPropertyChanging();
  712. this._EATTRIBUTE1 = value;
  713. this.SendPropertyChanged("EATTRIBUTE1");
  714. this.OnEATTRIBUTE1Changed();
  715. }
  716. }
  717. }
  718. public event PropertyChangingEventHandler PropertyChanging;
  719. public event PropertyChangedEventHandler PropertyChanged;
  720. protected virtual void SendPropertyChanging()
  721. {
  722. if ((this.PropertyChanging != null))
  723. {
  724. this.PropertyChanging(this, emptyChangingEventArgs);
  725. }
  726. }
  727. protected virtual void SendPropertyChanged(String propertyName)
  728. {
  729. if ((this.PropertyChanged != null))
  730. {
  731. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  732. }
  733. }
  734. }
  735. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSExtension")]
  736. public partial class ICSExtension : INotifyPropertyChanging, INotifyPropertyChanged
  737. {
  738. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  739. private string _ID;
  740. private string _Colspan;
  741. private string _ProjectCode;
  742. private string _BatchCode;
  743. private string _Version;
  744. private string _Brand;
  745. private string _cFree1;
  746. private string _cFree2;
  747. private string _cFree3;
  748. private string _cFree4;
  749. private string _cFree5;
  750. private string _cFree6;
  751. private string _cFree7;
  752. private string _cFree8;
  753. private string _cFree9;
  754. private string _cFree10;
  755. private System.DateTime _MTIME;
  756. private string _MUSER;
  757. private string _MUSERName;
  758. private string _WorkPoint;
  759. private string _EATTRIBUTE1;
  760. private string _EATTRIBUTE2;
  761. private string _EATTRIBUTE3;
  762. private string _EATTRIBUTE4;
  763. private string _EATTRIBUTE5;
  764. #region 可扩展性方法定义
  765. partial void OnLoaded();
  766. partial void OnValidate(System.Data.Linq.ChangeAction action);
  767. partial void OnCreated();
  768. partial void OnIDChanging(string value);
  769. partial void OnIDChanged();
  770. partial void OnColspanChanging(string value);
  771. partial void OnColspanChanged();
  772. partial void OnProjectCodeChanging(string value);
  773. partial void OnProjectCodeChanged();
  774. partial void OnBatchCodeChanging(string value);
  775. partial void OnBatchCodeChanged();
  776. partial void OnVersionChanging(string value);
  777. partial void OnVersionChanged();
  778. partial void OnBrandChanging(string value);
  779. partial void OnBrandChanged();
  780. partial void OncFree1Changing(string value);
  781. partial void OncFree1Changed();
  782. partial void OncFree2Changing(string value);
  783. partial void OncFree2Changed();
  784. partial void OncFree3Changing(string value);
  785. partial void OncFree3Changed();
  786. partial void OncFree4Changing(string value);
  787. partial void OncFree4Changed();
  788. partial void OncFree5Changing(string value);
  789. partial void OncFree5Changed();
  790. partial void OncFree6Changing(string value);
  791. partial void OncFree6Changed();
  792. partial void OncFree7Changing(string value);
  793. partial void OncFree7Changed();
  794. partial void OncFree8Changing(string value);
  795. partial void OncFree8Changed();
  796. partial void OncFree9Changing(string value);
  797. partial void OncFree9Changed();
  798. partial void OncFree10Changing(string value);
  799. partial void OncFree10Changed();
  800. partial void OnMTIMEChanging(System.DateTime value);
  801. partial void OnMTIMEChanged();
  802. partial void OnMUSERChanging(string value);
  803. partial void OnMUSERChanged();
  804. partial void OnMUSERNameChanging(string value);
  805. partial void OnMUSERNameChanged();
  806. partial void OnWorkPointChanging(string value);
  807. partial void OnWorkPointChanged();
  808. partial void OnEATTRIBUTE1Changing(string value);
  809. partial void OnEATTRIBUTE1Changed();
  810. partial void OnEATTRIBUTE2Changing(string value);
  811. partial void OnEATTRIBUTE2Changed();
  812. partial void OnEATTRIBUTE3Changing(string value);
  813. partial void OnEATTRIBUTE3Changed();
  814. partial void OnEATTRIBUTE4Changing(string value);
  815. partial void OnEATTRIBUTE4Changed();
  816. partial void OnEATTRIBUTE5Changing(string value);
  817. partial void OnEATTRIBUTE5Changed();
  818. #endregion
  819. public ICSExtension()
  820. {
  821. OnCreated();
  822. }
  823. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  824. public string ID
  825. {
  826. get
  827. {
  828. return this._ID;
  829. }
  830. set
  831. {
  832. if ((this._ID != value))
  833. {
  834. this.OnIDChanging(value);
  835. this.SendPropertyChanging();
  836. this._ID = value;
  837. this.SendPropertyChanged("ID");
  838. this.OnIDChanged();
  839. }
  840. }
  841. }
  842. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Colspan", DbType="NVarChar(500) NOT NULL", CanBeNull=false)]
  843. public string Colspan
  844. {
  845. get
  846. {
  847. return this._Colspan;
  848. }
  849. set
  850. {
  851. if ((this._Colspan != value))
  852. {
  853. this.OnColspanChanging(value);
  854. this.SendPropertyChanging();
  855. this._Colspan = value;
  856. this.SendPropertyChanged("Colspan");
  857. this.OnColspanChanged();
  858. }
  859. }
  860. }
  861. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectCode", DbType="NVarChar(100)")]
  862. public string ProjectCode
  863. {
  864. get
  865. {
  866. return this._ProjectCode;
  867. }
  868. set
  869. {
  870. if ((this._ProjectCode != value))
  871. {
  872. this.OnProjectCodeChanging(value);
  873. this.SendPropertyChanging();
  874. this._ProjectCode = value;
  875. this.SendPropertyChanged("ProjectCode");
  876. this.OnProjectCodeChanged();
  877. }
  878. }
  879. }
  880. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchCode", DbType="NVarChar(100)")]
  881. public string BatchCode
  882. {
  883. get
  884. {
  885. return this._BatchCode;
  886. }
  887. set
  888. {
  889. if ((this._BatchCode != value))
  890. {
  891. this.OnBatchCodeChanging(value);
  892. this.SendPropertyChanging();
  893. this._BatchCode = value;
  894. this.SendPropertyChanged("BatchCode");
  895. this.OnBatchCodeChanged();
  896. }
  897. }
  898. }
  899. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Version", DbType="NVarChar(100)")]
  900. public string Version
  901. {
  902. get
  903. {
  904. return this._Version;
  905. }
  906. set
  907. {
  908. if ((this._Version != value))
  909. {
  910. this.OnVersionChanging(value);
  911. this.SendPropertyChanging();
  912. this._Version = value;
  913. this.SendPropertyChanged("Version");
  914. this.OnVersionChanged();
  915. }
  916. }
  917. }
  918. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Brand", DbType="NVarChar(100)")]
  919. public string Brand
  920. {
  921. get
  922. {
  923. return this._Brand;
  924. }
  925. set
  926. {
  927. if ((this._Brand != value))
  928. {
  929. this.OnBrandChanging(value);
  930. this.SendPropertyChanging();
  931. this._Brand = value;
  932. this.SendPropertyChanged("Brand");
  933. this.OnBrandChanged();
  934. }
  935. }
  936. }
  937. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree1", DbType="NVarChar(100)")]
  938. public string cFree1
  939. {
  940. get
  941. {
  942. return this._cFree1;
  943. }
  944. set
  945. {
  946. if ((this._cFree1 != value))
  947. {
  948. this.OncFree1Changing(value);
  949. this.SendPropertyChanging();
  950. this._cFree1 = value;
  951. this.SendPropertyChanged("cFree1");
  952. this.OncFree1Changed();
  953. }
  954. }
  955. }
  956. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree2", DbType="NVarChar(100)")]
  957. public string cFree2
  958. {
  959. get
  960. {
  961. return this._cFree2;
  962. }
  963. set
  964. {
  965. if ((this._cFree2 != value))
  966. {
  967. this.OncFree2Changing(value);
  968. this.SendPropertyChanging();
  969. this._cFree2 = value;
  970. this.SendPropertyChanged("cFree2");
  971. this.OncFree2Changed();
  972. }
  973. }
  974. }
  975. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree3", DbType="NVarChar(100)")]
  976. public string cFree3
  977. {
  978. get
  979. {
  980. return this._cFree3;
  981. }
  982. set
  983. {
  984. if ((this._cFree3 != value))
  985. {
  986. this.OncFree3Changing(value);
  987. this.SendPropertyChanging();
  988. this._cFree3 = value;
  989. this.SendPropertyChanged("cFree3");
  990. this.OncFree3Changed();
  991. }
  992. }
  993. }
  994. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree4", DbType="NVarChar(100)")]
  995. public string cFree4
  996. {
  997. get
  998. {
  999. return this._cFree4;
  1000. }
  1001. set
  1002. {
  1003. if ((this._cFree4 != value))
  1004. {
  1005. this.OncFree4Changing(value);
  1006. this.SendPropertyChanging();
  1007. this._cFree4 = value;
  1008. this.SendPropertyChanged("cFree4");
  1009. this.OncFree4Changed();
  1010. }
  1011. }
  1012. }
  1013. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree5", DbType="NVarChar(100)")]
  1014. public string cFree5
  1015. {
  1016. get
  1017. {
  1018. return this._cFree5;
  1019. }
  1020. set
  1021. {
  1022. if ((this._cFree5 != value))
  1023. {
  1024. this.OncFree5Changing(value);
  1025. this.SendPropertyChanging();
  1026. this._cFree5 = value;
  1027. this.SendPropertyChanged("cFree5");
  1028. this.OncFree5Changed();
  1029. }
  1030. }
  1031. }
  1032. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree6", DbType="NVarChar(100)")]
  1033. public string cFree6
  1034. {
  1035. get
  1036. {
  1037. return this._cFree6;
  1038. }
  1039. set
  1040. {
  1041. if ((this._cFree6 != value))
  1042. {
  1043. this.OncFree6Changing(value);
  1044. this.SendPropertyChanging();
  1045. this._cFree6 = value;
  1046. this.SendPropertyChanged("cFree6");
  1047. this.OncFree6Changed();
  1048. }
  1049. }
  1050. }
  1051. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree7", DbType="NVarChar(100)")]
  1052. public string cFree7
  1053. {
  1054. get
  1055. {
  1056. return this._cFree7;
  1057. }
  1058. set
  1059. {
  1060. if ((this._cFree7 != value))
  1061. {
  1062. this.OncFree7Changing(value);
  1063. this.SendPropertyChanging();
  1064. this._cFree7 = value;
  1065. this.SendPropertyChanged("cFree7");
  1066. this.OncFree7Changed();
  1067. }
  1068. }
  1069. }
  1070. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree8", DbType="NVarChar(100)")]
  1071. public string cFree8
  1072. {
  1073. get
  1074. {
  1075. return this._cFree8;
  1076. }
  1077. set
  1078. {
  1079. if ((this._cFree8 != value))
  1080. {
  1081. this.OncFree8Changing(value);
  1082. this.SendPropertyChanging();
  1083. this._cFree8 = value;
  1084. this.SendPropertyChanged("cFree8");
  1085. this.OncFree8Changed();
  1086. }
  1087. }
  1088. }
  1089. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree9", DbType="NVarChar(100)")]
  1090. public string cFree9
  1091. {
  1092. get
  1093. {
  1094. return this._cFree9;
  1095. }
  1096. set
  1097. {
  1098. if ((this._cFree9 != value))
  1099. {
  1100. this.OncFree9Changing(value);
  1101. this.SendPropertyChanging();
  1102. this._cFree9 = value;
  1103. this.SendPropertyChanged("cFree9");
  1104. this.OncFree9Changed();
  1105. }
  1106. }
  1107. }
  1108. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree10", DbType="NVarChar(100)")]
  1109. public string cFree10
  1110. {
  1111. get
  1112. {
  1113. return this._cFree10;
  1114. }
  1115. set
  1116. {
  1117. if ((this._cFree10 != value))
  1118. {
  1119. this.OncFree10Changing(value);
  1120. this.SendPropertyChanging();
  1121. this._cFree10 = value;
  1122. this.SendPropertyChanged("cFree10");
  1123. this.OncFree10Changed();
  1124. }
  1125. }
  1126. }
  1127. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  1128. public System.DateTime MTIME
  1129. {
  1130. get
  1131. {
  1132. return this._MTIME;
  1133. }
  1134. set
  1135. {
  1136. if ((this._MTIME != value))
  1137. {
  1138. this.OnMTIMEChanging(value);
  1139. this.SendPropertyChanging();
  1140. this._MTIME = value;
  1141. this.SendPropertyChanged("MTIME");
  1142. this.OnMTIMEChanged();
  1143. }
  1144. }
  1145. }
  1146. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1147. public string MUSER
  1148. {
  1149. get
  1150. {
  1151. return this._MUSER;
  1152. }
  1153. set
  1154. {
  1155. if ((this._MUSER != value))
  1156. {
  1157. this.OnMUSERChanging(value);
  1158. this.SendPropertyChanging();
  1159. this._MUSER = value;
  1160. this.SendPropertyChanged("MUSER");
  1161. this.OnMUSERChanged();
  1162. }
  1163. }
  1164. }
  1165. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1166. public string MUSERName
  1167. {
  1168. get
  1169. {
  1170. return this._MUSERName;
  1171. }
  1172. set
  1173. {
  1174. if ((this._MUSERName != value))
  1175. {
  1176. this.OnMUSERNameChanging(value);
  1177. this.SendPropertyChanging();
  1178. this._MUSERName = value;
  1179. this.SendPropertyChanged("MUSERName");
  1180. this.OnMUSERNameChanged();
  1181. }
  1182. }
  1183. }
  1184. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="VarChar(50) NOT NULL", CanBeNull=false)]
  1185. public string WorkPoint
  1186. {
  1187. get
  1188. {
  1189. return this._WorkPoint;
  1190. }
  1191. set
  1192. {
  1193. if ((this._WorkPoint != value))
  1194. {
  1195. this.OnWorkPointChanging(value);
  1196. this.SendPropertyChanging();
  1197. this._WorkPoint = value;
  1198. this.SendPropertyChanged("WorkPoint");
  1199. this.OnWorkPointChanged();
  1200. }
  1201. }
  1202. }
  1203. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  1204. public string EATTRIBUTE1
  1205. {
  1206. get
  1207. {
  1208. return this._EATTRIBUTE1;
  1209. }
  1210. set
  1211. {
  1212. if ((this._EATTRIBUTE1 != value))
  1213. {
  1214. this.OnEATTRIBUTE1Changing(value);
  1215. this.SendPropertyChanging();
  1216. this._EATTRIBUTE1 = value;
  1217. this.SendPropertyChanged("EATTRIBUTE1");
  1218. this.OnEATTRIBUTE1Changed();
  1219. }
  1220. }
  1221. }
  1222. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE2", DbType="NVarChar(50)")]
  1223. public string EATTRIBUTE2
  1224. {
  1225. get
  1226. {
  1227. return this._EATTRIBUTE2;
  1228. }
  1229. set
  1230. {
  1231. if ((this._EATTRIBUTE2 != value))
  1232. {
  1233. this.OnEATTRIBUTE2Changing(value);
  1234. this.SendPropertyChanging();
  1235. this._EATTRIBUTE2 = value;
  1236. this.SendPropertyChanged("EATTRIBUTE2");
  1237. this.OnEATTRIBUTE2Changed();
  1238. }
  1239. }
  1240. }
  1241. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE3", DbType="NVarChar(50)")]
  1242. public string EATTRIBUTE3
  1243. {
  1244. get
  1245. {
  1246. return this._EATTRIBUTE3;
  1247. }
  1248. set
  1249. {
  1250. if ((this._EATTRIBUTE3 != value))
  1251. {
  1252. this.OnEATTRIBUTE3Changing(value);
  1253. this.SendPropertyChanging();
  1254. this._EATTRIBUTE3 = value;
  1255. this.SendPropertyChanged("EATTRIBUTE3");
  1256. this.OnEATTRIBUTE3Changed();
  1257. }
  1258. }
  1259. }
  1260. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE4", DbType="NVarChar(50)")]
  1261. public string EATTRIBUTE4
  1262. {
  1263. get
  1264. {
  1265. return this._EATTRIBUTE4;
  1266. }
  1267. set
  1268. {
  1269. if ((this._EATTRIBUTE4 != value))
  1270. {
  1271. this.OnEATTRIBUTE4Changing(value);
  1272. this.SendPropertyChanging();
  1273. this._EATTRIBUTE4 = value;
  1274. this.SendPropertyChanged("EATTRIBUTE4");
  1275. this.OnEATTRIBUTE4Changed();
  1276. }
  1277. }
  1278. }
  1279. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE5", DbType="NVarChar(50)")]
  1280. public string EATTRIBUTE5
  1281. {
  1282. get
  1283. {
  1284. return this._EATTRIBUTE5;
  1285. }
  1286. set
  1287. {
  1288. if ((this._EATTRIBUTE5 != value))
  1289. {
  1290. this.OnEATTRIBUTE5Changing(value);
  1291. this.SendPropertyChanging();
  1292. this._EATTRIBUTE5 = value;
  1293. this.SendPropertyChanged("EATTRIBUTE5");
  1294. this.OnEATTRIBUTE5Changed();
  1295. }
  1296. }
  1297. }
  1298. public event PropertyChangingEventHandler PropertyChanging;
  1299. public event PropertyChangedEventHandler PropertyChanged;
  1300. protected virtual void SendPropertyChanging()
  1301. {
  1302. if ((this.PropertyChanging != null))
  1303. {
  1304. this.PropertyChanging(this, emptyChangingEventArgs);
  1305. }
  1306. }
  1307. protected virtual void SendPropertyChanged(String propertyName)
  1308. {
  1309. if ((this.PropertyChanged != null))
  1310. {
  1311. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  1312. }
  1313. }
  1314. }
  1315. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSOApply")]
  1316. public partial class ICSOApply : INotifyPropertyChanging, INotifyPropertyChanged
  1317. {
  1318. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  1319. private string _ID;
  1320. private string _ApplyCode;
  1321. private string _Sequence;
  1322. private string _SourceCode;
  1323. private string _SourceSequence;
  1324. private string _InvCode;
  1325. private decimal _Quantity;
  1326. private System.Nullable<decimal> _Amount;
  1327. private System.Nullable<decimal> _IssueQuantity;
  1328. private string _WHCode;
  1329. private string _Type;
  1330. private string _Status;
  1331. private string _CreatePerson;
  1332. private System.DateTime _CreateDateTime;
  1333. private string _ApplyID;
  1334. private string _ApplyDetailID;
  1335. private string _ExtensionID;
  1336. private string _MUSER;
  1337. private string _MUSERName;
  1338. private System.DateTime _MTIME;
  1339. private string _WorkPoint;
  1340. private string _EATTRIBUTE;
  1341. #region 可扩展性方法定义
  1342. partial void OnLoaded();
  1343. partial void OnValidate(System.Data.Linq.ChangeAction action);
  1344. partial void OnCreated();
  1345. partial void OnIDChanging(string value);
  1346. partial void OnIDChanged();
  1347. partial void OnApplyCodeChanging(string value);
  1348. partial void OnApplyCodeChanged();
  1349. partial void OnSequenceChanging(string value);
  1350. partial void OnSequenceChanged();
  1351. partial void OnSourceCodeChanging(string value);
  1352. partial void OnSourceCodeChanged();
  1353. partial void OnSourceSequenceChanging(string value);
  1354. partial void OnSourceSequenceChanged();
  1355. partial void OnInvCodeChanging(string value);
  1356. partial void OnInvCodeChanged();
  1357. partial void OnQuantityChanging(decimal value);
  1358. partial void OnQuantityChanged();
  1359. partial void OnAmountChanging(System.Nullable<decimal> value);
  1360. partial void OnAmountChanged();
  1361. partial void OnIssueQuantityChanging(System.Nullable<decimal> value);
  1362. partial void OnIssueQuantityChanged();
  1363. partial void OnWHCodeChanging(string value);
  1364. partial void OnWHCodeChanged();
  1365. partial void OnTypeChanging(string value);
  1366. partial void OnTypeChanged();
  1367. partial void OnStatusChanging(string value);
  1368. partial void OnStatusChanged();
  1369. partial void OnCreatePersonChanging(string value);
  1370. partial void OnCreatePersonChanged();
  1371. partial void OnCreateDateTimeChanging(System.DateTime value);
  1372. partial void OnCreateDateTimeChanged();
  1373. partial void OnApplyIDChanging(string value);
  1374. partial void OnApplyIDChanged();
  1375. partial void OnApplyDetailIDChanging(string value);
  1376. partial void OnApplyDetailIDChanged();
  1377. partial void OnExtensionIDChanging(string value);
  1378. partial void OnExtensionIDChanged();
  1379. partial void OnMUSERChanging(string value);
  1380. partial void OnMUSERChanged();
  1381. partial void OnMUSERNameChanging(string value);
  1382. partial void OnMUSERNameChanged();
  1383. partial void OnMTIMEChanging(System.DateTime value);
  1384. partial void OnMTIMEChanged();
  1385. partial void OnWorkPointChanging(string value);
  1386. partial void OnWorkPointChanged();
  1387. partial void OnEATTRIBUTEChanging(string value);
  1388. partial void OnEATTRIBUTEChanged();
  1389. #endregion
  1390. public ICSOApply()
  1391. {
  1392. OnCreated();
  1393. }
  1394. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  1395. public string ID
  1396. {
  1397. get
  1398. {
  1399. return this._ID;
  1400. }
  1401. set
  1402. {
  1403. if ((this._ID != value))
  1404. {
  1405. this.OnIDChanging(value);
  1406. this.SendPropertyChanging();
  1407. this._ID = value;
  1408. this.SendPropertyChanged("ID");
  1409. this.OnIDChanged();
  1410. }
  1411. }
  1412. }
  1413. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1414. public string ApplyCode
  1415. {
  1416. get
  1417. {
  1418. return this._ApplyCode;
  1419. }
  1420. set
  1421. {
  1422. if ((this._ApplyCode != value))
  1423. {
  1424. this.OnApplyCodeChanging(value);
  1425. this.SendPropertyChanging();
  1426. this._ApplyCode = value;
  1427. this.SendPropertyChanged("ApplyCode");
  1428. this.OnApplyCodeChanged();
  1429. }
  1430. }
  1431. }
  1432. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1433. public string Sequence
  1434. {
  1435. get
  1436. {
  1437. return this._Sequence;
  1438. }
  1439. set
  1440. {
  1441. if ((this._Sequence != value))
  1442. {
  1443. this.OnSequenceChanging(value);
  1444. this.SendPropertyChanging();
  1445. this._Sequence = value;
  1446. this.SendPropertyChanged("Sequence");
  1447. this.OnSequenceChanged();
  1448. }
  1449. }
  1450. }
  1451. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceCode", DbType="NVarChar(50)")]
  1452. public string SourceCode
  1453. {
  1454. get
  1455. {
  1456. return this._SourceCode;
  1457. }
  1458. set
  1459. {
  1460. if ((this._SourceCode != value))
  1461. {
  1462. this.OnSourceCodeChanging(value);
  1463. this.SendPropertyChanging();
  1464. this._SourceCode = value;
  1465. this.SendPropertyChanged("SourceCode");
  1466. this.OnSourceCodeChanged();
  1467. }
  1468. }
  1469. }
  1470. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceSequence", DbType="NVarChar(50)")]
  1471. public string SourceSequence
  1472. {
  1473. get
  1474. {
  1475. return this._SourceSequence;
  1476. }
  1477. set
  1478. {
  1479. if ((this._SourceSequence != value))
  1480. {
  1481. this.OnSourceSequenceChanging(value);
  1482. this.SendPropertyChanging();
  1483. this._SourceSequence = value;
  1484. this.SendPropertyChanged("SourceSequence");
  1485. this.OnSourceSequenceChanged();
  1486. }
  1487. }
  1488. }
  1489. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1490. public string InvCode
  1491. {
  1492. get
  1493. {
  1494. return this._InvCode;
  1495. }
  1496. set
  1497. {
  1498. if ((this._InvCode != value))
  1499. {
  1500. this.OnInvCodeChanging(value);
  1501. this.SendPropertyChanging();
  1502. this._InvCode = value;
  1503. this.SendPropertyChanged("InvCode");
  1504. this.OnInvCodeChanged();
  1505. }
  1506. }
  1507. }
  1508. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
  1509. public decimal Quantity
  1510. {
  1511. get
  1512. {
  1513. return this._Quantity;
  1514. }
  1515. set
  1516. {
  1517. if ((this._Quantity != value))
  1518. {
  1519. this.OnQuantityChanging(value);
  1520. this.SendPropertyChanging();
  1521. this._Quantity = value;
  1522. this.SendPropertyChanged("Quantity");
  1523. this.OnQuantityChanged();
  1524. }
  1525. }
  1526. }
  1527. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  1528. public System.Nullable<decimal> Amount
  1529. {
  1530. get
  1531. {
  1532. return this._Amount;
  1533. }
  1534. set
  1535. {
  1536. if ((this._Amount != value))
  1537. {
  1538. this.OnAmountChanging(value);
  1539. this.SendPropertyChanging();
  1540. this._Amount = value;
  1541. this.SendPropertyChanged("Amount");
  1542. this.OnAmountChanged();
  1543. }
  1544. }
  1545. }
  1546. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IssueQuantity", DbType="Decimal(18,6)")]
  1547. public System.Nullable<decimal> IssueQuantity
  1548. {
  1549. get
  1550. {
  1551. return this._IssueQuantity;
  1552. }
  1553. set
  1554. {
  1555. if ((this._IssueQuantity != value))
  1556. {
  1557. this.OnIssueQuantityChanging(value);
  1558. this.SendPropertyChanging();
  1559. this._IssueQuantity = value;
  1560. this.SendPropertyChanged("IssueQuantity");
  1561. this.OnIssueQuantityChanged();
  1562. }
  1563. }
  1564. }
  1565. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1566. public string WHCode
  1567. {
  1568. get
  1569. {
  1570. return this._WHCode;
  1571. }
  1572. set
  1573. {
  1574. if ((this._WHCode != value))
  1575. {
  1576. this.OnWHCodeChanging(value);
  1577. this.SendPropertyChanging();
  1578. this._WHCode = value;
  1579. this.SendPropertyChanged("WHCode");
  1580. this.OnWHCodeChanged();
  1581. }
  1582. }
  1583. }
  1584. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1585. public string Type
  1586. {
  1587. get
  1588. {
  1589. return this._Type;
  1590. }
  1591. set
  1592. {
  1593. if ((this._Type != value))
  1594. {
  1595. this.OnTypeChanging(value);
  1596. this.SendPropertyChanging();
  1597. this._Type = value;
  1598. this.SendPropertyChanged("Type");
  1599. this.OnTypeChanged();
  1600. }
  1601. }
  1602. }
  1603. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1604. public string Status
  1605. {
  1606. get
  1607. {
  1608. return this._Status;
  1609. }
  1610. set
  1611. {
  1612. if ((this._Status != value))
  1613. {
  1614. this.OnStatusChanging(value);
  1615. this.SendPropertyChanging();
  1616. this._Status = value;
  1617. this.SendPropertyChanged("Status");
  1618. this.OnStatusChanged();
  1619. }
  1620. }
  1621. }
  1622. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1623. public string CreatePerson
  1624. {
  1625. get
  1626. {
  1627. return this._CreatePerson;
  1628. }
  1629. set
  1630. {
  1631. if ((this._CreatePerson != value))
  1632. {
  1633. this.OnCreatePersonChanging(value);
  1634. this.SendPropertyChanging();
  1635. this._CreatePerson = value;
  1636. this.SendPropertyChanged("CreatePerson");
  1637. this.OnCreatePersonChanged();
  1638. }
  1639. }
  1640. }
  1641. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
  1642. public System.DateTime CreateDateTime
  1643. {
  1644. get
  1645. {
  1646. return this._CreateDateTime;
  1647. }
  1648. set
  1649. {
  1650. if ((this._CreateDateTime != value))
  1651. {
  1652. this.OnCreateDateTimeChanging(value);
  1653. this.SendPropertyChanging();
  1654. this._CreateDateTime = value;
  1655. this.SendPropertyChanged("CreateDateTime");
  1656. this.OnCreateDateTimeChanged();
  1657. }
  1658. }
  1659. }
  1660. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1661. public string ApplyID
  1662. {
  1663. get
  1664. {
  1665. return this._ApplyID;
  1666. }
  1667. set
  1668. {
  1669. if ((this._ApplyID != value))
  1670. {
  1671. this.OnApplyIDChanging(value);
  1672. this.SendPropertyChanging();
  1673. this._ApplyID = value;
  1674. this.SendPropertyChanged("ApplyID");
  1675. this.OnApplyIDChanged();
  1676. }
  1677. }
  1678. }
  1679. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyDetailID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1680. public string ApplyDetailID
  1681. {
  1682. get
  1683. {
  1684. return this._ApplyDetailID;
  1685. }
  1686. set
  1687. {
  1688. if ((this._ApplyDetailID != value))
  1689. {
  1690. this.OnApplyDetailIDChanging(value);
  1691. this.SendPropertyChanging();
  1692. this._ApplyDetailID = value;
  1693. this.SendPropertyChanged("ApplyDetailID");
  1694. this.OnApplyDetailIDChanged();
  1695. }
  1696. }
  1697. }
  1698. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1699. public string ExtensionID
  1700. {
  1701. get
  1702. {
  1703. return this._ExtensionID;
  1704. }
  1705. set
  1706. {
  1707. if ((this._ExtensionID != value))
  1708. {
  1709. this.OnExtensionIDChanging(value);
  1710. this.SendPropertyChanging();
  1711. this._ExtensionID = value;
  1712. this.SendPropertyChanged("ExtensionID");
  1713. this.OnExtensionIDChanged();
  1714. }
  1715. }
  1716. }
  1717. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1718. public string MUSER
  1719. {
  1720. get
  1721. {
  1722. return this._MUSER;
  1723. }
  1724. set
  1725. {
  1726. if ((this._MUSER != value))
  1727. {
  1728. this.OnMUSERChanging(value);
  1729. this.SendPropertyChanging();
  1730. this._MUSER = value;
  1731. this.SendPropertyChanged("MUSER");
  1732. this.OnMUSERChanged();
  1733. }
  1734. }
  1735. }
  1736. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1737. public string MUSERName
  1738. {
  1739. get
  1740. {
  1741. return this._MUSERName;
  1742. }
  1743. set
  1744. {
  1745. if ((this._MUSERName != value))
  1746. {
  1747. this.OnMUSERNameChanging(value);
  1748. this.SendPropertyChanging();
  1749. this._MUSERName = value;
  1750. this.SendPropertyChanged("MUSERName");
  1751. this.OnMUSERNameChanged();
  1752. }
  1753. }
  1754. }
  1755. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  1756. public System.DateTime MTIME
  1757. {
  1758. get
  1759. {
  1760. return this._MTIME;
  1761. }
  1762. set
  1763. {
  1764. if ((this._MTIME != value))
  1765. {
  1766. this.OnMTIMEChanging(value);
  1767. this.SendPropertyChanging();
  1768. this._MTIME = value;
  1769. this.SendPropertyChanged("MTIME");
  1770. this.OnMTIMEChanged();
  1771. }
  1772. }
  1773. }
  1774. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1775. public string WorkPoint
  1776. {
  1777. get
  1778. {
  1779. return this._WorkPoint;
  1780. }
  1781. set
  1782. {
  1783. if ((this._WorkPoint != value))
  1784. {
  1785. this.OnWorkPointChanging(value);
  1786. this.SendPropertyChanging();
  1787. this._WorkPoint = value;
  1788. this.SendPropertyChanged("WorkPoint");
  1789. this.OnWorkPointChanged();
  1790. }
  1791. }
  1792. }
  1793. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE", DbType="NVarChar(50)")]
  1794. public string EATTRIBUTE
  1795. {
  1796. get
  1797. {
  1798. return this._EATTRIBUTE;
  1799. }
  1800. set
  1801. {
  1802. if ((this._EATTRIBUTE != value))
  1803. {
  1804. this.OnEATTRIBUTEChanging(value);
  1805. this.SendPropertyChanging();
  1806. this._EATTRIBUTE = value;
  1807. this.SendPropertyChanged("EATTRIBUTE");
  1808. this.OnEATTRIBUTEChanged();
  1809. }
  1810. }
  1811. }
  1812. public event PropertyChangingEventHandler PropertyChanging;
  1813. public event PropertyChangedEventHandler PropertyChanged;
  1814. protected virtual void SendPropertyChanging()
  1815. {
  1816. if ((this.PropertyChanging != null))
  1817. {
  1818. this.PropertyChanging(this, emptyChangingEventArgs);
  1819. }
  1820. }
  1821. protected virtual void SendPropertyChanged(String propertyName)
  1822. {
  1823. if ((this.PropertyChanged != null))
  1824. {
  1825. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  1826. }
  1827. }
  1828. }
  1829. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSMOApply")]
  1830. public partial class ICSMOApply : INotifyPropertyChanging, INotifyPropertyChanged
  1831. {
  1832. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  1833. private string _ID;
  1834. private string _ApplyCode;
  1835. private string _Sequence;
  1836. private string _SourceCode;
  1837. private string _SourceSequence;
  1838. private string _InvCode;
  1839. private decimal _Quantity;
  1840. private System.Nullable<decimal> _Amount;
  1841. private System.Nullable<decimal> _IssueQuantity;
  1842. private string _WHCode;
  1843. private string _Type;
  1844. private string _Status;
  1845. private string _CreatePerson;
  1846. private System.DateTime _CreateDateTime;
  1847. private string _ApplyID;
  1848. private string _ApplyDetailID;
  1849. private string _ExtensionID;
  1850. private string _MUSER;
  1851. private string _MUSERName;
  1852. private System.DateTime _MTIME;
  1853. private string _WorkPoint;
  1854. private string _EATTRIBUTE;
  1855. #region 可扩展性方法定义
  1856. partial void OnLoaded();
  1857. partial void OnValidate(System.Data.Linq.ChangeAction action);
  1858. partial void OnCreated();
  1859. partial void OnIDChanging(string value);
  1860. partial void OnIDChanged();
  1861. partial void OnApplyCodeChanging(string value);
  1862. partial void OnApplyCodeChanged();
  1863. partial void OnSequenceChanging(string value);
  1864. partial void OnSequenceChanged();
  1865. partial void OnSourceCodeChanging(string value);
  1866. partial void OnSourceCodeChanged();
  1867. partial void OnSourceSequenceChanging(string value);
  1868. partial void OnSourceSequenceChanged();
  1869. partial void OnInvCodeChanging(string value);
  1870. partial void OnInvCodeChanged();
  1871. partial void OnQuantityChanging(decimal value);
  1872. partial void OnQuantityChanged();
  1873. partial void OnAmountChanging(System.Nullable<decimal> value);
  1874. partial void OnAmountChanged();
  1875. partial void OnIssueQuantityChanging(System.Nullable<decimal> value);
  1876. partial void OnIssueQuantityChanged();
  1877. partial void OnWHCodeChanging(string value);
  1878. partial void OnWHCodeChanged();
  1879. partial void OnTypeChanging(string value);
  1880. partial void OnTypeChanged();
  1881. partial void OnStatusChanging(string value);
  1882. partial void OnStatusChanged();
  1883. partial void OnCreatePersonChanging(string value);
  1884. partial void OnCreatePersonChanged();
  1885. partial void OnCreateDateTimeChanging(System.DateTime value);
  1886. partial void OnCreateDateTimeChanged();
  1887. partial void OnApplyIDChanging(string value);
  1888. partial void OnApplyIDChanged();
  1889. partial void OnApplyDetailIDChanging(string value);
  1890. partial void OnApplyDetailIDChanged();
  1891. partial void OnExtensionIDChanging(string value);
  1892. partial void OnExtensionIDChanged();
  1893. partial void OnMUSERChanging(string value);
  1894. partial void OnMUSERChanged();
  1895. partial void OnMUSERNameChanging(string value);
  1896. partial void OnMUSERNameChanged();
  1897. partial void OnMTIMEChanging(System.DateTime value);
  1898. partial void OnMTIMEChanged();
  1899. partial void OnWorkPointChanging(string value);
  1900. partial void OnWorkPointChanged();
  1901. partial void OnEATTRIBUTEChanging(string value);
  1902. partial void OnEATTRIBUTEChanged();
  1903. #endregion
  1904. public ICSMOApply()
  1905. {
  1906. OnCreated();
  1907. }
  1908. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  1909. public string ID
  1910. {
  1911. get
  1912. {
  1913. return this._ID;
  1914. }
  1915. set
  1916. {
  1917. if ((this._ID != value))
  1918. {
  1919. this.OnIDChanging(value);
  1920. this.SendPropertyChanging();
  1921. this._ID = value;
  1922. this.SendPropertyChanged("ID");
  1923. this.OnIDChanged();
  1924. }
  1925. }
  1926. }
  1927. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1928. public string ApplyCode
  1929. {
  1930. get
  1931. {
  1932. return this._ApplyCode;
  1933. }
  1934. set
  1935. {
  1936. if ((this._ApplyCode != value))
  1937. {
  1938. this.OnApplyCodeChanging(value);
  1939. this.SendPropertyChanging();
  1940. this._ApplyCode = value;
  1941. this.SendPropertyChanged("ApplyCode");
  1942. this.OnApplyCodeChanged();
  1943. }
  1944. }
  1945. }
  1946. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1947. public string Sequence
  1948. {
  1949. get
  1950. {
  1951. return this._Sequence;
  1952. }
  1953. set
  1954. {
  1955. if ((this._Sequence != value))
  1956. {
  1957. this.OnSequenceChanging(value);
  1958. this.SendPropertyChanging();
  1959. this._Sequence = value;
  1960. this.SendPropertyChanged("Sequence");
  1961. this.OnSequenceChanged();
  1962. }
  1963. }
  1964. }
  1965. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceCode", DbType="NVarChar(50)")]
  1966. public string SourceCode
  1967. {
  1968. get
  1969. {
  1970. return this._SourceCode;
  1971. }
  1972. set
  1973. {
  1974. if ((this._SourceCode != value))
  1975. {
  1976. this.OnSourceCodeChanging(value);
  1977. this.SendPropertyChanging();
  1978. this._SourceCode = value;
  1979. this.SendPropertyChanged("SourceCode");
  1980. this.OnSourceCodeChanged();
  1981. }
  1982. }
  1983. }
  1984. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceSequence", DbType="NVarChar(50)")]
  1985. public string SourceSequence
  1986. {
  1987. get
  1988. {
  1989. return this._SourceSequence;
  1990. }
  1991. set
  1992. {
  1993. if ((this._SourceSequence != value))
  1994. {
  1995. this.OnSourceSequenceChanging(value);
  1996. this.SendPropertyChanging();
  1997. this._SourceSequence = value;
  1998. this.SendPropertyChanged("SourceSequence");
  1999. this.OnSourceSequenceChanged();
  2000. }
  2001. }
  2002. }
  2003. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2004. public string InvCode
  2005. {
  2006. get
  2007. {
  2008. return this._InvCode;
  2009. }
  2010. set
  2011. {
  2012. if ((this._InvCode != value))
  2013. {
  2014. this.OnInvCodeChanging(value);
  2015. this.SendPropertyChanging();
  2016. this._InvCode = value;
  2017. this.SendPropertyChanged("InvCode");
  2018. this.OnInvCodeChanged();
  2019. }
  2020. }
  2021. }
  2022. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
  2023. public decimal Quantity
  2024. {
  2025. get
  2026. {
  2027. return this._Quantity;
  2028. }
  2029. set
  2030. {
  2031. if ((this._Quantity != value))
  2032. {
  2033. this.OnQuantityChanging(value);
  2034. this.SendPropertyChanging();
  2035. this._Quantity = value;
  2036. this.SendPropertyChanged("Quantity");
  2037. this.OnQuantityChanged();
  2038. }
  2039. }
  2040. }
  2041. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  2042. public System.Nullable<decimal> Amount
  2043. {
  2044. get
  2045. {
  2046. return this._Amount;
  2047. }
  2048. set
  2049. {
  2050. if ((this._Amount != value))
  2051. {
  2052. this.OnAmountChanging(value);
  2053. this.SendPropertyChanging();
  2054. this._Amount = value;
  2055. this.SendPropertyChanged("Amount");
  2056. this.OnAmountChanged();
  2057. }
  2058. }
  2059. }
  2060. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IssueQuantity", DbType="Decimal(18,6)")]
  2061. public System.Nullable<decimal> IssueQuantity
  2062. {
  2063. get
  2064. {
  2065. return this._IssueQuantity;
  2066. }
  2067. set
  2068. {
  2069. if ((this._IssueQuantity != value))
  2070. {
  2071. this.OnIssueQuantityChanging(value);
  2072. this.SendPropertyChanging();
  2073. this._IssueQuantity = value;
  2074. this.SendPropertyChanged("IssueQuantity");
  2075. this.OnIssueQuantityChanged();
  2076. }
  2077. }
  2078. }
  2079. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2080. public string WHCode
  2081. {
  2082. get
  2083. {
  2084. return this._WHCode;
  2085. }
  2086. set
  2087. {
  2088. if ((this._WHCode != value))
  2089. {
  2090. this.OnWHCodeChanging(value);
  2091. this.SendPropertyChanging();
  2092. this._WHCode = value;
  2093. this.SendPropertyChanged("WHCode");
  2094. this.OnWHCodeChanged();
  2095. }
  2096. }
  2097. }
  2098. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2099. public string Type
  2100. {
  2101. get
  2102. {
  2103. return this._Type;
  2104. }
  2105. set
  2106. {
  2107. if ((this._Type != value))
  2108. {
  2109. this.OnTypeChanging(value);
  2110. this.SendPropertyChanging();
  2111. this._Type = value;
  2112. this.SendPropertyChanged("Type");
  2113. this.OnTypeChanged();
  2114. }
  2115. }
  2116. }
  2117. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2118. public string Status
  2119. {
  2120. get
  2121. {
  2122. return this._Status;
  2123. }
  2124. set
  2125. {
  2126. if ((this._Status != value))
  2127. {
  2128. this.OnStatusChanging(value);
  2129. this.SendPropertyChanging();
  2130. this._Status = value;
  2131. this.SendPropertyChanged("Status");
  2132. this.OnStatusChanged();
  2133. }
  2134. }
  2135. }
  2136. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2137. public string CreatePerson
  2138. {
  2139. get
  2140. {
  2141. return this._CreatePerson;
  2142. }
  2143. set
  2144. {
  2145. if ((this._CreatePerson != value))
  2146. {
  2147. this.OnCreatePersonChanging(value);
  2148. this.SendPropertyChanging();
  2149. this._CreatePerson = value;
  2150. this.SendPropertyChanged("CreatePerson");
  2151. this.OnCreatePersonChanged();
  2152. }
  2153. }
  2154. }
  2155. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
  2156. public System.DateTime CreateDateTime
  2157. {
  2158. get
  2159. {
  2160. return this._CreateDateTime;
  2161. }
  2162. set
  2163. {
  2164. if ((this._CreateDateTime != value))
  2165. {
  2166. this.OnCreateDateTimeChanging(value);
  2167. this.SendPropertyChanging();
  2168. this._CreateDateTime = value;
  2169. this.SendPropertyChanged("CreateDateTime");
  2170. this.OnCreateDateTimeChanged();
  2171. }
  2172. }
  2173. }
  2174. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2175. public string ApplyID
  2176. {
  2177. get
  2178. {
  2179. return this._ApplyID;
  2180. }
  2181. set
  2182. {
  2183. if ((this._ApplyID != value))
  2184. {
  2185. this.OnApplyIDChanging(value);
  2186. this.SendPropertyChanging();
  2187. this._ApplyID = value;
  2188. this.SendPropertyChanged("ApplyID");
  2189. this.OnApplyIDChanged();
  2190. }
  2191. }
  2192. }
  2193. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyDetailID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2194. public string ApplyDetailID
  2195. {
  2196. get
  2197. {
  2198. return this._ApplyDetailID;
  2199. }
  2200. set
  2201. {
  2202. if ((this._ApplyDetailID != value))
  2203. {
  2204. this.OnApplyDetailIDChanging(value);
  2205. this.SendPropertyChanging();
  2206. this._ApplyDetailID = value;
  2207. this.SendPropertyChanged("ApplyDetailID");
  2208. this.OnApplyDetailIDChanged();
  2209. }
  2210. }
  2211. }
  2212. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2213. public string ExtensionID
  2214. {
  2215. get
  2216. {
  2217. return this._ExtensionID;
  2218. }
  2219. set
  2220. {
  2221. if ((this._ExtensionID != value))
  2222. {
  2223. this.OnExtensionIDChanging(value);
  2224. this.SendPropertyChanging();
  2225. this._ExtensionID = value;
  2226. this.SendPropertyChanged("ExtensionID");
  2227. this.OnExtensionIDChanged();
  2228. }
  2229. }
  2230. }
  2231. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2232. public string MUSER
  2233. {
  2234. get
  2235. {
  2236. return this._MUSER;
  2237. }
  2238. set
  2239. {
  2240. if ((this._MUSER != value))
  2241. {
  2242. this.OnMUSERChanging(value);
  2243. this.SendPropertyChanging();
  2244. this._MUSER = value;
  2245. this.SendPropertyChanged("MUSER");
  2246. this.OnMUSERChanged();
  2247. }
  2248. }
  2249. }
  2250. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2251. public string MUSERName
  2252. {
  2253. get
  2254. {
  2255. return this._MUSERName;
  2256. }
  2257. set
  2258. {
  2259. if ((this._MUSERName != value))
  2260. {
  2261. this.OnMUSERNameChanging(value);
  2262. this.SendPropertyChanging();
  2263. this._MUSERName = value;
  2264. this.SendPropertyChanged("MUSERName");
  2265. this.OnMUSERNameChanged();
  2266. }
  2267. }
  2268. }
  2269. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  2270. public System.DateTime MTIME
  2271. {
  2272. get
  2273. {
  2274. return this._MTIME;
  2275. }
  2276. set
  2277. {
  2278. if ((this._MTIME != value))
  2279. {
  2280. this.OnMTIMEChanging(value);
  2281. this.SendPropertyChanging();
  2282. this._MTIME = value;
  2283. this.SendPropertyChanged("MTIME");
  2284. this.OnMTIMEChanged();
  2285. }
  2286. }
  2287. }
  2288. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2289. public string WorkPoint
  2290. {
  2291. get
  2292. {
  2293. return this._WorkPoint;
  2294. }
  2295. set
  2296. {
  2297. if ((this._WorkPoint != value))
  2298. {
  2299. this.OnWorkPointChanging(value);
  2300. this.SendPropertyChanging();
  2301. this._WorkPoint = value;
  2302. this.SendPropertyChanged("WorkPoint");
  2303. this.OnWorkPointChanged();
  2304. }
  2305. }
  2306. }
  2307. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE", DbType="NVarChar(50)")]
  2308. public string EATTRIBUTE
  2309. {
  2310. get
  2311. {
  2312. return this._EATTRIBUTE;
  2313. }
  2314. set
  2315. {
  2316. if ((this._EATTRIBUTE != value))
  2317. {
  2318. this.OnEATTRIBUTEChanging(value);
  2319. this.SendPropertyChanging();
  2320. this._EATTRIBUTE = value;
  2321. this.SendPropertyChanged("EATTRIBUTE");
  2322. this.OnEATTRIBUTEChanged();
  2323. }
  2324. }
  2325. }
  2326. public event PropertyChangingEventHandler PropertyChanging;
  2327. public event PropertyChangedEventHandler PropertyChanged;
  2328. protected virtual void SendPropertyChanging()
  2329. {
  2330. if ((this.PropertyChanging != null))
  2331. {
  2332. this.PropertyChanging(this, emptyChangingEventArgs);
  2333. }
  2334. }
  2335. protected virtual void SendPropertyChanged(String propertyName)
  2336. {
  2337. if ((this.PropertyChanged != null))
  2338. {
  2339. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  2340. }
  2341. }
  2342. }
  2343. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSMOApplyNeg")]
  2344. public partial class ICSMOApplyNeg : INotifyPropertyChanging, INotifyPropertyChanged
  2345. {
  2346. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  2347. private string _ID;
  2348. private string _ApplyNegCode;
  2349. private string _WHCode;
  2350. private string _Status;
  2351. private string _Type;
  2352. private string _Memo;
  2353. private string _CreatePerson;
  2354. private System.DateTime _CreateDateTime;
  2355. private string _MUSER;
  2356. private string _MUSERName;
  2357. private System.DateTime _MTIME;
  2358. private string _WorkPoint;
  2359. private string _EATTRIBUTE1;
  2360. #region 可扩展性方法定义
  2361. partial void OnLoaded();
  2362. partial void OnValidate(System.Data.Linq.ChangeAction action);
  2363. partial void OnCreated();
  2364. partial void OnIDChanging(string value);
  2365. partial void OnIDChanged();
  2366. partial void OnApplyNegCodeChanging(string value);
  2367. partial void OnApplyNegCodeChanged();
  2368. partial void OnWHCodeChanging(string value);
  2369. partial void OnWHCodeChanged();
  2370. partial void OnStatusChanging(string value);
  2371. partial void OnStatusChanged();
  2372. partial void OnTypeChanging(string value);
  2373. partial void OnTypeChanged();
  2374. partial void OnMemoChanging(string value);
  2375. partial void OnMemoChanged();
  2376. partial void OnCreatePersonChanging(string value);
  2377. partial void OnCreatePersonChanged();
  2378. partial void OnCreateDateTimeChanging(System.DateTime value);
  2379. partial void OnCreateDateTimeChanged();
  2380. partial void OnMUSERChanging(string value);
  2381. partial void OnMUSERChanged();
  2382. partial void OnMUSERNameChanging(string value);
  2383. partial void OnMUSERNameChanged();
  2384. partial void OnMTIMEChanging(System.DateTime value);
  2385. partial void OnMTIMEChanged();
  2386. partial void OnWorkPointChanging(string value);
  2387. partial void OnWorkPointChanged();
  2388. partial void OnEATTRIBUTE1Changing(string value);
  2389. partial void OnEATTRIBUTE1Changed();
  2390. #endregion
  2391. public ICSMOApplyNeg()
  2392. {
  2393. OnCreated();
  2394. }
  2395. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2396. public string ID
  2397. {
  2398. get
  2399. {
  2400. return this._ID;
  2401. }
  2402. set
  2403. {
  2404. if ((this._ID != value))
  2405. {
  2406. this.OnIDChanging(value);
  2407. this.SendPropertyChanging();
  2408. this._ID = value;
  2409. this.SendPropertyChanged("ID");
  2410. this.OnIDChanged();
  2411. }
  2412. }
  2413. }
  2414. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyNegCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  2415. public string ApplyNegCode
  2416. {
  2417. get
  2418. {
  2419. return this._ApplyNegCode;
  2420. }
  2421. set
  2422. {
  2423. if ((this._ApplyNegCode != value))
  2424. {
  2425. this.OnApplyNegCodeChanging(value);
  2426. this.SendPropertyChanging();
  2427. this._ApplyNegCode = value;
  2428. this.SendPropertyChanged("ApplyNegCode");
  2429. this.OnApplyNegCodeChanged();
  2430. }
  2431. }
  2432. }
  2433. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50)")]
  2434. public string WHCode
  2435. {
  2436. get
  2437. {
  2438. return this._WHCode;
  2439. }
  2440. set
  2441. {
  2442. if ((this._WHCode != value))
  2443. {
  2444. this.OnWHCodeChanging(value);
  2445. this.SendPropertyChanging();
  2446. this._WHCode = value;
  2447. this.SendPropertyChanged("WHCode");
  2448. this.OnWHCodeChanged();
  2449. }
  2450. }
  2451. }
  2452. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2453. public string Status
  2454. {
  2455. get
  2456. {
  2457. return this._Status;
  2458. }
  2459. set
  2460. {
  2461. if ((this._Status != value))
  2462. {
  2463. this.OnStatusChanging(value);
  2464. this.SendPropertyChanging();
  2465. this._Status = value;
  2466. this.SendPropertyChanged("Status");
  2467. this.OnStatusChanged();
  2468. }
  2469. }
  2470. }
  2471. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2472. public string Type
  2473. {
  2474. get
  2475. {
  2476. return this._Type;
  2477. }
  2478. set
  2479. {
  2480. if ((this._Type != value))
  2481. {
  2482. this.OnTypeChanging(value);
  2483. this.SendPropertyChanging();
  2484. this._Type = value;
  2485. this.SendPropertyChanged("Type");
  2486. this.OnTypeChanged();
  2487. }
  2488. }
  2489. }
  2490. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Memo", DbType="NVarChar(1000)")]
  2491. public string Memo
  2492. {
  2493. get
  2494. {
  2495. return this._Memo;
  2496. }
  2497. set
  2498. {
  2499. if ((this._Memo != value))
  2500. {
  2501. this.OnMemoChanging(value);
  2502. this.SendPropertyChanging();
  2503. this._Memo = value;
  2504. this.SendPropertyChanged("Memo");
  2505. this.OnMemoChanged();
  2506. }
  2507. }
  2508. }
  2509. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2510. public string CreatePerson
  2511. {
  2512. get
  2513. {
  2514. return this._CreatePerson;
  2515. }
  2516. set
  2517. {
  2518. if ((this._CreatePerson != value))
  2519. {
  2520. this.OnCreatePersonChanging(value);
  2521. this.SendPropertyChanging();
  2522. this._CreatePerson = value;
  2523. this.SendPropertyChanged("CreatePerson");
  2524. this.OnCreatePersonChanged();
  2525. }
  2526. }
  2527. }
  2528. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
  2529. public System.DateTime CreateDateTime
  2530. {
  2531. get
  2532. {
  2533. return this._CreateDateTime;
  2534. }
  2535. set
  2536. {
  2537. if ((this._CreateDateTime != value))
  2538. {
  2539. this.OnCreateDateTimeChanging(value);
  2540. this.SendPropertyChanging();
  2541. this._CreateDateTime = value;
  2542. this.SendPropertyChanged("CreateDateTime");
  2543. this.OnCreateDateTimeChanged();
  2544. }
  2545. }
  2546. }
  2547. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2548. public string MUSER
  2549. {
  2550. get
  2551. {
  2552. return this._MUSER;
  2553. }
  2554. set
  2555. {
  2556. if ((this._MUSER != value))
  2557. {
  2558. this.OnMUSERChanging(value);
  2559. this.SendPropertyChanging();
  2560. this._MUSER = value;
  2561. this.SendPropertyChanged("MUSER");
  2562. this.OnMUSERChanged();
  2563. }
  2564. }
  2565. }
  2566. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2567. public string MUSERName
  2568. {
  2569. get
  2570. {
  2571. return this._MUSERName;
  2572. }
  2573. set
  2574. {
  2575. if ((this._MUSERName != value))
  2576. {
  2577. this.OnMUSERNameChanging(value);
  2578. this.SendPropertyChanging();
  2579. this._MUSERName = value;
  2580. this.SendPropertyChanged("MUSERName");
  2581. this.OnMUSERNameChanged();
  2582. }
  2583. }
  2584. }
  2585. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  2586. public System.DateTime MTIME
  2587. {
  2588. get
  2589. {
  2590. return this._MTIME;
  2591. }
  2592. set
  2593. {
  2594. if ((this._MTIME != value))
  2595. {
  2596. this.OnMTIMEChanging(value);
  2597. this.SendPropertyChanging();
  2598. this._MTIME = value;
  2599. this.SendPropertyChanged("MTIME");
  2600. this.OnMTIMEChanged();
  2601. }
  2602. }
  2603. }
  2604. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2605. public string WorkPoint
  2606. {
  2607. get
  2608. {
  2609. return this._WorkPoint;
  2610. }
  2611. set
  2612. {
  2613. if ((this._WorkPoint != value))
  2614. {
  2615. this.OnWorkPointChanging(value);
  2616. this.SendPropertyChanging();
  2617. this._WorkPoint = value;
  2618. this.SendPropertyChanged("WorkPoint");
  2619. this.OnWorkPointChanged();
  2620. }
  2621. }
  2622. }
  2623. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  2624. public string EATTRIBUTE1
  2625. {
  2626. get
  2627. {
  2628. return this._EATTRIBUTE1;
  2629. }
  2630. set
  2631. {
  2632. if ((this._EATTRIBUTE1 != value))
  2633. {
  2634. this.OnEATTRIBUTE1Changing(value);
  2635. this.SendPropertyChanging();
  2636. this._EATTRIBUTE1 = value;
  2637. this.SendPropertyChanged("EATTRIBUTE1");
  2638. this.OnEATTRIBUTE1Changed();
  2639. }
  2640. }
  2641. }
  2642. public event PropertyChangingEventHandler PropertyChanging;
  2643. public event PropertyChangedEventHandler PropertyChanged;
  2644. protected virtual void SendPropertyChanging()
  2645. {
  2646. if ((this.PropertyChanging != null))
  2647. {
  2648. this.PropertyChanging(this, emptyChangingEventArgs);
  2649. }
  2650. }
  2651. protected virtual void SendPropertyChanged(String propertyName)
  2652. {
  2653. if ((this.PropertyChanged != null))
  2654. {
  2655. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  2656. }
  2657. }
  2658. }
  2659. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSMOApplyNegDetail")]
  2660. public partial class ICSMOApplyNegDetail : INotifyPropertyChanging, INotifyPropertyChanged
  2661. {
  2662. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  2663. private string _ID;
  2664. private string _ApplyNegCode;
  2665. private string _Sequence;
  2666. private string _SourceDetailID;
  2667. private string _InvCode;
  2668. private decimal _Quantity;
  2669. private System.Nullable<decimal> _Amount;
  2670. private System.Nullable<decimal> _IssueNegQuantity;
  2671. private string _ExtensionID;
  2672. private string _MUSER;
  2673. private string _MUSERName;
  2674. private System.DateTime _MTIME;
  2675. private string _WorkPoint;
  2676. private string _EATTRIBUTE;
  2677. #region 可扩展性方法定义
  2678. partial void OnLoaded();
  2679. partial void OnValidate(System.Data.Linq.ChangeAction action);
  2680. partial void OnCreated();
  2681. partial void OnIDChanging(string value);
  2682. partial void OnIDChanged();
  2683. partial void OnApplyNegCodeChanging(string value);
  2684. partial void OnApplyNegCodeChanged();
  2685. partial void OnSequenceChanging(string value);
  2686. partial void OnSequenceChanged();
  2687. partial void OnSourceDetailIDChanging(string value);
  2688. partial void OnSourceDetailIDChanged();
  2689. partial void OnInvCodeChanging(string value);
  2690. partial void OnInvCodeChanged();
  2691. partial void OnQuantityChanging(decimal value);
  2692. partial void OnQuantityChanged();
  2693. partial void OnAmountChanging(System.Nullable<decimal> value);
  2694. partial void OnAmountChanged();
  2695. partial void OnIssueNegQuantityChanging(System.Nullable<decimal> value);
  2696. partial void OnIssueNegQuantityChanged();
  2697. partial void OnExtensionIDChanging(string value);
  2698. partial void OnExtensionIDChanged();
  2699. partial void OnMUSERChanging(string value);
  2700. partial void OnMUSERChanged();
  2701. partial void OnMUSERNameChanging(string value);
  2702. partial void OnMUSERNameChanged();
  2703. partial void OnMTIMEChanging(System.DateTime value);
  2704. partial void OnMTIMEChanged();
  2705. partial void OnWorkPointChanging(string value);
  2706. partial void OnWorkPointChanged();
  2707. partial void OnEATTRIBUTEChanging(string value);
  2708. partial void OnEATTRIBUTEChanged();
  2709. #endregion
  2710. public ICSMOApplyNegDetail()
  2711. {
  2712. OnCreated();
  2713. }
  2714. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  2715. public string ID
  2716. {
  2717. get
  2718. {
  2719. return this._ID;
  2720. }
  2721. set
  2722. {
  2723. if ((this._ID != value))
  2724. {
  2725. this.OnIDChanging(value);
  2726. this.SendPropertyChanging();
  2727. this._ID = value;
  2728. this.SendPropertyChanged("ID");
  2729. this.OnIDChanged();
  2730. }
  2731. }
  2732. }
  2733. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyNegCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2734. public string ApplyNegCode
  2735. {
  2736. get
  2737. {
  2738. return this._ApplyNegCode;
  2739. }
  2740. set
  2741. {
  2742. if ((this._ApplyNegCode != value))
  2743. {
  2744. this.OnApplyNegCodeChanging(value);
  2745. this.SendPropertyChanging();
  2746. this._ApplyNegCode = value;
  2747. this.SendPropertyChanged("ApplyNegCode");
  2748. this.OnApplyNegCodeChanged();
  2749. }
  2750. }
  2751. }
  2752. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2753. public string Sequence
  2754. {
  2755. get
  2756. {
  2757. return this._Sequence;
  2758. }
  2759. set
  2760. {
  2761. if ((this._Sequence != value))
  2762. {
  2763. this.OnSequenceChanging(value);
  2764. this.SendPropertyChanging();
  2765. this._Sequence = value;
  2766. this.SendPropertyChanged("Sequence");
  2767. this.OnSequenceChanged();
  2768. }
  2769. }
  2770. }
  2771. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceDetailID", DbType="NVarChar(50)")]
  2772. public string SourceDetailID
  2773. {
  2774. get
  2775. {
  2776. return this._SourceDetailID;
  2777. }
  2778. set
  2779. {
  2780. if ((this._SourceDetailID != value))
  2781. {
  2782. this.OnSourceDetailIDChanging(value);
  2783. this.SendPropertyChanging();
  2784. this._SourceDetailID = value;
  2785. this.SendPropertyChanged("SourceDetailID");
  2786. this.OnSourceDetailIDChanged();
  2787. }
  2788. }
  2789. }
  2790. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2791. public string InvCode
  2792. {
  2793. get
  2794. {
  2795. return this._InvCode;
  2796. }
  2797. set
  2798. {
  2799. if ((this._InvCode != value))
  2800. {
  2801. this.OnInvCodeChanging(value);
  2802. this.SendPropertyChanging();
  2803. this._InvCode = value;
  2804. this.SendPropertyChanged("InvCode");
  2805. this.OnInvCodeChanged();
  2806. }
  2807. }
  2808. }
  2809. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
  2810. public decimal Quantity
  2811. {
  2812. get
  2813. {
  2814. return this._Quantity;
  2815. }
  2816. set
  2817. {
  2818. if ((this._Quantity != value))
  2819. {
  2820. this.OnQuantityChanging(value);
  2821. this.SendPropertyChanging();
  2822. this._Quantity = value;
  2823. this.SendPropertyChanged("Quantity");
  2824. this.OnQuantityChanged();
  2825. }
  2826. }
  2827. }
  2828. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  2829. public System.Nullable<decimal> Amount
  2830. {
  2831. get
  2832. {
  2833. return this._Amount;
  2834. }
  2835. set
  2836. {
  2837. if ((this._Amount != value))
  2838. {
  2839. this.OnAmountChanging(value);
  2840. this.SendPropertyChanging();
  2841. this._Amount = value;
  2842. this.SendPropertyChanged("Amount");
  2843. this.OnAmountChanged();
  2844. }
  2845. }
  2846. }
  2847. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IssueNegQuantity", DbType="Decimal(18,6)")]
  2848. public System.Nullable<decimal> IssueNegQuantity
  2849. {
  2850. get
  2851. {
  2852. return this._IssueNegQuantity;
  2853. }
  2854. set
  2855. {
  2856. if ((this._IssueNegQuantity != value))
  2857. {
  2858. this.OnIssueNegQuantityChanging(value);
  2859. this.SendPropertyChanging();
  2860. this._IssueNegQuantity = value;
  2861. this.SendPropertyChanged("IssueNegQuantity");
  2862. this.OnIssueNegQuantityChanged();
  2863. }
  2864. }
  2865. }
  2866. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2867. public string ExtensionID
  2868. {
  2869. get
  2870. {
  2871. return this._ExtensionID;
  2872. }
  2873. set
  2874. {
  2875. if ((this._ExtensionID != value))
  2876. {
  2877. this.OnExtensionIDChanging(value);
  2878. this.SendPropertyChanging();
  2879. this._ExtensionID = value;
  2880. this.SendPropertyChanged("ExtensionID");
  2881. this.OnExtensionIDChanged();
  2882. }
  2883. }
  2884. }
  2885. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2886. public string MUSER
  2887. {
  2888. get
  2889. {
  2890. return this._MUSER;
  2891. }
  2892. set
  2893. {
  2894. if ((this._MUSER != value))
  2895. {
  2896. this.OnMUSERChanging(value);
  2897. this.SendPropertyChanging();
  2898. this._MUSER = value;
  2899. this.SendPropertyChanged("MUSER");
  2900. this.OnMUSERChanged();
  2901. }
  2902. }
  2903. }
  2904. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2905. public string MUSERName
  2906. {
  2907. get
  2908. {
  2909. return this._MUSERName;
  2910. }
  2911. set
  2912. {
  2913. if ((this._MUSERName != value))
  2914. {
  2915. this.OnMUSERNameChanging(value);
  2916. this.SendPropertyChanging();
  2917. this._MUSERName = value;
  2918. this.SendPropertyChanged("MUSERName");
  2919. this.OnMUSERNameChanged();
  2920. }
  2921. }
  2922. }
  2923. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  2924. public System.DateTime MTIME
  2925. {
  2926. get
  2927. {
  2928. return this._MTIME;
  2929. }
  2930. set
  2931. {
  2932. if ((this._MTIME != value))
  2933. {
  2934. this.OnMTIMEChanging(value);
  2935. this.SendPropertyChanging();
  2936. this._MTIME = value;
  2937. this.SendPropertyChanged("MTIME");
  2938. this.OnMTIMEChanged();
  2939. }
  2940. }
  2941. }
  2942. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2943. public string WorkPoint
  2944. {
  2945. get
  2946. {
  2947. return this._WorkPoint;
  2948. }
  2949. set
  2950. {
  2951. if ((this._WorkPoint != value))
  2952. {
  2953. this.OnWorkPointChanging(value);
  2954. this.SendPropertyChanging();
  2955. this._WorkPoint = value;
  2956. this.SendPropertyChanged("WorkPoint");
  2957. this.OnWorkPointChanged();
  2958. }
  2959. }
  2960. }
  2961. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE", DbType="NVarChar(50)")]
  2962. public string EATTRIBUTE
  2963. {
  2964. get
  2965. {
  2966. return this._EATTRIBUTE;
  2967. }
  2968. set
  2969. {
  2970. if ((this._EATTRIBUTE != value))
  2971. {
  2972. this.OnEATTRIBUTEChanging(value);
  2973. this.SendPropertyChanging();
  2974. this._EATTRIBUTE = value;
  2975. this.SendPropertyChanged("EATTRIBUTE");
  2976. this.OnEATTRIBUTEChanged();
  2977. }
  2978. }
  2979. }
  2980. public event PropertyChangingEventHandler PropertyChanging;
  2981. public event PropertyChangedEventHandler PropertyChanged;
  2982. protected virtual void SendPropertyChanging()
  2983. {
  2984. if ((this.PropertyChanging != null))
  2985. {
  2986. this.PropertyChanging(this, emptyChangingEventArgs);
  2987. }
  2988. }
  2989. protected virtual void SendPropertyChanged(String propertyName)
  2990. {
  2991. if ((this.PropertyChanged != null))
  2992. {
  2993. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  2994. }
  2995. }
  2996. }
  2997. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSTransfer")]
  2998. public partial class ICSTransfer : INotifyPropertyChanging, INotifyPropertyChanged
  2999. {
  3000. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  3001. private string _ID;
  3002. private string _TransferNO;
  3003. private string _Sequence;
  3004. private string _FromWarehouseCode;
  3005. private string _FromLocationCode;
  3006. private string _ToWarehouseCode;
  3007. private string _ToLocationCode;
  3008. private string _Status;
  3009. private string _InvCode;
  3010. private decimal _Quantity;
  3011. private System.Nullable<decimal> _Amount;
  3012. private System.Nullable<decimal> _TransferQuantity;
  3013. private string _Type;
  3014. private string _Memo;
  3015. private string _CreatePerson;
  3016. private System.DateTime _CreateDateTime;
  3017. private string _TransferID;
  3018. private string _TransferDetailID;
  3019. private string _ExtensionID;
  3020. private string _MUSER;
  3021. private string _MUSERName;
  3022. private System.DateTime _MTIME;
  3023. private string _WorkPoint;
  3024. private string _EATTRIBUTE1;
  3025. #region 可扩展性方法定义
  3026. partial void OnLoaded();
  3027. partial void OnValidate(System.Data.Linq.ChangeAction action);
  3028. partial void OnCreated();
  3029. partial void OnIDChanging(string value);
  3030. partial void OnIDChanged();
  3031. partial void OnTransferNOChanging(string value);
  3032. partial void OnTransferNOChanged();
  3033. partial void OnSequenceChanging(string value);
  3034. partial void OnSequenceChanged();
  3035. partial void OnFromWarehouseCodeChanging(string value);
  3036. partial void OnFromWarehouseCodeChanged();
  3037. partial void OnFromLocationCodeChanging(string value);
  3038. partial void OnFromLocationCodeChanged();
  3039. partial void OnToWarehouseCodeChanging(string value);
  3040. partial void OnToWarehouseCodeChanged();
  3041. partial void OnToLocationCodeChanging(string value);
  3042. partial void OnToLocationCodeChanged();
  3043. partial void OnStatusChanging(string value);
  3044. partial void OnStatusChanged();
  3045. partial void OnInvCodeChanging(string value);
  3046. partial void OnInvCodeChanged();
  3047. partial void OnQuantityChanging(decimal value);
  3048. partial void OnQuantityChanged();
  3049. partial void OnAmountChanging(System.Nullable<decimal> value);
  3050. partial void OnAmountChanged();
  3051. partial void OnTransferQuantityChanging(System.Nullable<decimal> value);
  3052. partial void OnTransferQuantityChanged();
  3053. partial void OnTypeChanging(string value);
  3054. partial void OnTypeChanged();
  3055. partial void OnMemoChanging(string value);
  3056. partial void OnMemoChanged();
  3057. partial void OnCreatePersonChanging(string value);
  3058. partial void OnCreatePersonChanged();
  3059. partial void OnCreateDateTimeChanging(System.DateTime value);
  3060. partial void OnCreateDateTimeChanged();
  3061. partial void OnTransferIDChanging(string value);
  3062. partial void OnTransferIDChanged();
  3063. partial void OnTransferDetailIDChanging(string value);
  3064. partial void OnTransferDetailIDChanged();
  3065. partial void OnExtensionIDChanging(string value);
  3066. partial void OnExtensionIDChanged();
  3067. partial void OnMUSERChanging(string value);
  3068. partial void OnMUSERChanged();
  3069. partial void OnMUSERNameChanging(string value);
  3070. partial void OnMUSERNameChanged();
  3071. partial void OnMTIMEChanging(System.DateTime value);
  3072. partial void OnMTIMEChanged();
  3073. partial void OnWorkPointChanging(string value);
  3074. partial void OnWorkPointChanged();
  3075. partial void OnEATTRIBUTE1Changing(string value);
  3076. partial void OnEATTRIBUTE1Changed();
  3077. #endregion
  3078. public ICSTransfer()
  3079. {
  3080. OnCreated();
  3081. }
  3082. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  3083. public string ID
  3084. {
  3085. get
  3086. {
  3087. return this._ID;
  3088. }
  3089. set
  3090. {
  3091. if ((this._ID != value))
  3092. {
  3093. this.OnIDChanging(value);
  3094. this.SendPropertyChanging();
  3095. this._ID = value;
  3096. this.SendPropertyChanged("ID");
  3097. this.OnIDChanged();
  3098. }
  3099. }
  3100. }
  3101. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferNO", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3102. public string TransferNO
  3103. {
  3104. get
  3105. {
  3106. return this._TransferNO;
  3107. }
  3108. set
  3109. {
  3110. if ((this._TransferNO != value))
  3111. {
  3112. this.OnTransferNOChanging(value);
  3113. this.SendPropertyChanging();
  3114. this._TransferNO = value;
  3115. this.SendPropertyChanged("TransferNO");
  3116. this.OnTransferNOChanged();
  3117. }
  3118. }
  3119. }
  3120. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3121. public string Sequence
  3122. {
  3123. get
  3124. {
  3125. return this._Sequence;
  3126. }
  3127. set
  3128. {
  3129. if ((this._Sequence != value))
  3130. {
  3131. this.OnSequenceChanging(value);
  3132. this.SendPropertyChanging();
  3133. this._Sequence = value;
  3134. this.SendPropertyChanged("Sequence");
  3135. this.OnSequenceChanged();
  3136. }
  3137. }
  3138. }
  3139. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FromWarehouseCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3140. public string FromWarehouseCode
  3141. {
  3142. get
  3143. {
  3144. return this._FromWarehouseCode;
  3145. }
  3146. set
  3147. {
  3148. if ((this._FromWarehouseCode != value))
  3149. {
  3150. this.OnFromWarehouseCodeChanging(value);
  3151. this.SendPropertyChanging();
  3152. this._FromWarehouseCode = value;
  3153. this.SendPropertyChanged("FromWarehouseCode");
  3154. this.OnFromWarehouseCodeChanged();
  3155. }
  3156. }
  3157. }
  3158. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FromLocationCode", DbType="NVarChar(50)")]
  3159. public string FromLocationCode
  3160. {
  3161. get
  3162. {
  3163. return this._FromLocationCode;
  3164. }
  3165. set
  3166. {
  3167. if ((this._FromLocationCode != value))
  3168. {
  3169. this.OnFromLocationCodeChanging(value);
  3170. this.SendPropertyChanging();
  3171. this._FromLocationCode = value;
  3172. this.SendPropertyChanged("FromLocationCode");
  3173. this.OnFromLocationCodeChanged();
  3174. }
  3175. }
  3176. }
  3177. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToWarehouseCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3178. public string ToWarehouseCode
  3179. {
  3180. get
  3181. {
  3182. return this._ToWarehouseCode;
  3183. }
  3184. set
  3185. {
  3186. if ((this._ToWarehouseCode != value))
  3187. {
  3188. this.OnToWarehouseCodeChanging(value);
  3189. this.SendPropertyChanging();
  3190. this._ToWarehouseCode = value;
  3191. this.SendPropertyChanged("ToWarehouseCode");
  3192. this.OnToWarehouseCodeChanged();
  3193. }
  3194. }
  3195. }
  3196. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToLocationCode", DbType="NVarChar(50)")]
  3197. public string ToLocationCode
  3198. {
  3199. get
  3200. {
  3201. return this._ToLocationCode;
  3202. }
  3203. set
  3204. {
  3205. if ((this._ToLocationCode != value))
  3206. {
  3207. this.OnToLocationCodeChanging(value);
  3208. this.SendPropertyChanging();
  3209. this._ToLocationCode = value;
  3210. this.SendPropertyChanged("ToLocationCode");
  3211. this.OnToLocationCodeChanged();
  3212. }
  3213. }
  3214. }
  3215. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3216. public string Status
  3217. {
  3218. get
  3219. {
  3220. return this._Status;
  3221. }
  3222. set
  3223. {
  3224. if ((this._Status != value))
  3225. {
  3226. this.OnStatusChanging(value);
  3227. this.SendPropertyChanging();
  3228. this._Status = value;
  3229. this.SendPropertyChanged("Status");
  3230. this.OnStatusChanged();
  3231. }
  3232. }
  3233. }
  3234. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3235. public string InvCode
  3236. {
  3237. get
  3238. {
  3239. return this._InvCode;
  3240. }
  3241. set
  3242. {
  3243. if ((this._InvCode != value))
  3244. {
  3245. this.OnInvCodeChanging(value);
  3246. this.SendPropertyChanging();
  3247. this._InvCode = value;
  3248. this.SendPropertyChanged("InvCode");
  3249. this.OnInvCodeChanged();
  3250. }
  3251. }
  3252. }
  3253. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
  3254. public decimal Quantity
  3255. {
  3256. get
  3257. {
  3258. return this._Quantity;
  3259. }
  3260. set
  3261. {
  3262. if ((this._Quantity != value))
  3263. {
  3264. this.OnQuantityChanging(value);
  3265. this.SendPropertyChanging();
  3266. this._Quantity = value;
  3267. this.SendPropertyChanged("Quantity");
  3268. this.OnQuantityChanged();
  3269. }
  3270. }
  3271. }
  3272. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  3273. public System.Nullable<decimal> Amount
  3274. {
  3275. get
  3276. {
  3277. return this._Amount;
  3278. }
  3279. set
  3280. {
  3281. if ((this._Amount != value))
  3282. {
  3283. this.OnAmountChanging(value);
  3284. this.SendPropertyChanging();
  3285. this._Amount = value;
  3286. this.SendPropertyChanged("Amount");
  3287. this.OnAmountChanged();
  3288. }
  3289. }
  3290. }
  3291. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferQuantity", DbType="Decimal(18,6)")]
  3292. public System.Nullable<decimal> TransferQuantity
  3293. {
  3294. get
  3295. {
  3296. return this._TransferQuantity;
  3297. }
  3298. set
  3299. {
  3300. if ((this._TransferQuantity != value))
  3301. {
  3302. this.OnTransferQuantityChanging(value);
  3303. this.SendPropertyChanging();
  3304. this._TransferQuantity = value;
  3305. this.SendPropertyChanged("TransferQuantity");
  3306. this.OnTransferQuantityChanged();
  3307. }
  3308. }
  3309. }
  3310. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50)")]
  3311. public string Type
  3312. {
  3313. get
  3314. {
  3315. return this._Type;
  3316. }
  3317. set
  3318. {
  3319. if ((this._Type != value))
  3320. {
  3321. this.OnTypeChanging(value);
  3322. this.SendPropertyChanging();
  3323. this._Type = value;
  3324. this.SendPropertyChanged("Type");
  3325. this.OnTypeChanged();
  3326. }
  3327. }
  3328. }
  3329. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Memo", DbType="NVarChar(1000)")]
  3330. public string Memo
  3331. {
  3332. get
  3333. {
  3334. return this._Memo;
  3335. }
  3336. set
  3337. {
  3338. if ((this._Memo != value))
  3339. {
  3340. this.OnMemoChanging(value);
  3341. this.SendPropertyChanging();
  3342. this._Memo = value;
  3343. this.SendPropertyChanged("Memo");
  3344. this.OnMemoChanged();
  3345. }
  3346. }
  3347. }
  3348. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3349. public string CreatePerson
  3350. {
  3351. get
  3352. {
  3353. return this._CreatePerson;
  3354. }
  3355. set
  3356. {
  3357. if ((this._CreatePerson != value))
  3358. {
  3359. this.OnCreatePersonChanging(value);
  3360. this.SendPropertyChanging();
  3361. this._CreatePerson = value;
  3362. this.SendPropertyChanged("CreatePerson");
  3363. this.OnCreatePersonChanged();
  3364. }
  3365. }
  3366. }
  3367. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
  3368. public System.DateTime CreateDateTime
  3369. {
  3370. get
  3371. {
  3372. return this._CreateDateTime;
  3373. }
  3374. set
  3375. {
  3376. if ((this._CreateDateTime != value))
  3377. {
  3378. this.OnCreateDateTimeChanging(value);
  3379. this.SendPropertyChanging();
  3380. this._CreateDateTime = value;
  3381. this.SendPropertyChanged("CreateDateTime");
  3382. this.OnCreateDateTimeChanged();
  3383. }
  3384. }
  3385. }
  3386. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3387. public string TransferID
  3388. {
  3389. get
  3390. {
  3391. return this._TransferID;
  3392. }
  3393. set
  3394. {
  3395. if ((this._TransferID != value))
  3396. {
  3397. this.OnTransferIDChanging(value);
  3398. this.SendPropertyChanging();
  3399. this._TransferID = value;
  3400. this.SendPropertyChanged("TransferID");
  3401. this.OnTransferIDChanged();
  3402. }
  3403. }
  3404. }
  3405. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferDetailID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3406. public string TransferDetailID
  3407. {
  3408. get
  3409. {
  3410. return this._TransferDetailID;
  3411. }
  3412. set
  3413. {
  3414. if ((this._TransferDetailID != value))
  3415. {
  3416. this.OnTransferDetailIDChanging(value);
  3417. this.SendPropertyChanging();
  3418. this._TransferDetailID = value;
  3419. this.SendPropertyChanged("TransferDetailID");
  3420. this.OnTransferDetailIDChanged();
  3421. }
  3422. }
  3423. }
  3424. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3425. public string ExtensionID
  3426. {
  3427. get
  3428. {
  3429. return this._ExtensionID;
  3430. }
  3431. set
  3432. {
  3433. if ((this._ExtensionID != value))
  3434. {
  3435. this.OnExtensionIDChanging(value);
  3436. this.SendPropertyChanging();
  3437. this._ExtensionID = value;
  3438. this.SendPropertyChanged("ExtensionID");
  3439. this.OnExtensionIDChanged();
  3440. }
  3441. }
  3442. }
  3443. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3444. public string MUSER
  3445. {
  3446. get
  3447. {
  3448. return this._MUSER;
  3449. }
  3450. set
  3451. {
  3452. if ((this._MUSER != value))
  3453. {
  3454. this.OnMUSERChanging(value);
  3455. this.SendPropertyChanging();
  3456. this._MUSER = value;
  3457. this.SendPropertyChanged("MUSER");
  3458. this.OnMUSERChanged();
  3459. }
  3460. }
  3461. }
  3462. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3463. public string MUSERName
  3464. {
  3465. get
  3466. {
  3467. return this._MUSERName;
  3468. }
  3469. set
  3470. {
  3471. if ((this._MUSERName != value))
  3472. {
  3473. this.OnMUSERNameChanging(value);
  3474. this.SendPropertyChanging();
  3475. this._MUSERName = value;
  3476. this.SendPropertyChanged("MUSERName");
  3477. this.OnMUSERNameChanged();
  3478. }
  3479. }
  3480. }
  3481. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  3482. public System.DateTime MTIME
  3483. {
  3484. get
  3485. {
  3486. return this._MTIME;
  3487. }
  3488. set
  3489. {
  3490. if ((this._MTIME != value))
  3491. {
  3492. this.OnMTIMEChanging(value);
  3493. this.SendPropertyChanging();
  3494. this._MTIME = value;
  3495. this.SendPropertyChanged("MTIME");
  3496. this.OnMTIMEChanged();
  3497. }
  3498. }
  3499. }
  3500. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3501. public string WorkPoint
  3502. {
  3503. get
  3504. {
  3505. return this._WorkPoint;
  3506. }
  3507. set
  3508. {
  3509. if ((this._WorkPoint != value))
  3510. {
  3511. this.OnWorkPointChanging(value);
  3512. this.SendPropertyChanging();
  3513. this._WorkPoint = value;
  3514. this.SendPropertyChanged("WorkPoint");
  3515. this.OnWorkPointChanged();
  3516. }
  3517. }
  3518. }
  3519. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  3520. public string EATTRIBUTE1
  3521. {
  3522. get
  3523. {
  3524. return this._EATTRIBUTE1;
  3525. }
  3526. set
  3527. {
  3528. if ((this._EATTRIBUTE1 != value))
  3529. {
  3530. this.OnEATTRIBUTE1Changing(value);
  3531. this.SendPropertyChanging();
  3532. this._EATTRIBUTE1 = value;
  3533. this.SendPropertyChanged("EATTRIBUTE1");
  3534. this.OnEATTRIBUTE1Changed();
  3535. }
  3536. }
  3537. }
  3538. public event PropertyChangingEventHandler PropertyChanging;
  3539. public event PropertyChangedEventHandler PropertyChanged;
  3540. protected virtual void SendPropertyChanging()
  3541. {
  3542. if ((this.PropertyChanging != null))
  3543. {
  3544. this.PropertyChanging(this, emptyChangingEventArgs);
  3545. }
  3546. }
  3547. protected virtual void SendPropertyChanged(String propertyName)
  3548. {
  3549. if ((this.PropertyChanged != null))
  3550. {
  3551. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  3552. }
  3553. }
  3554. }
  3555. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSMTDOC")]
  3556. public partial class ICSMTDOC : INotifyPropertyChanging, INotifyPropertyChanged
  3557. {
  3558. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  3559. private string _ID;
  3560. private string _MTDOCCode;
  3561. private string _DepCode;
  3562. private string _WHCode;
  3563. private string _Sequence;
  3564. private string _INVCode;
  3565. private string _SOCode;
  3566. private string _SOSequence;
  3567. private decimal _Quantity;
  3568. private System.Nullable<decimal> _Amount;
  3569. private System.Nullable<decimal> _MTDOCQuantity;
  3570. private string _MTDOCType;
  3571. private string _Memo;
  3572. private string _Status;
  3573. private string _CreatePerson;
  3574. private System.DateTime _CreateDateTime;
  3575. private string _MTDOCID;
  3576. private string _MTDOCDetailID;
  3577. private string _ExtensionID;
  3578. private string _MUSER;
  3579. private string _MUSERName;
  3580. private System.DateTime _MTIME;
  3581. private string _WorkPoint;
  3582. private string _EATTRIBUTE1;
  3583. #region 可扩展性方法定义
  3584. partial void OnLoaded();
  3585. partial void OnValidate(System.Data.Linq.ChangeAction action);
  3586. partial void OnCreated();
  3587. partial void OnIDChanging(string value);
  3588. partial void OnIDChanged();
  3589. partial void OnMTDOCCodeChanging(string value);
  3590. partial void OnMTDOCCodeChanged();
  3591. partial void OnDepCodeChanging(string value);
  3592. partial void OnDepCodeChanged();
  3593. partial void OnWHCodeChanging(string value);
  3594. partial void OnWHCodeChanged();
  3595. partial void OnSequenceChanging(string value);
  3596. partial void OnSequenceChanged();
  3597. partial void OnINVCodeChanging(string value);
  3598. partial void OnINVCodeChanged();
  3599. partial void OnSOCodeChanging(string value);
  3600. partial void OnSOCodeChanged();
  3601. partial void OnSOSequenceChanging(string value);
  3602. partial void OnSOSequenceChanged();
  3603. partial void OnQuantityChanging(decimal value);
  3604. partial void OnQuantityChanged();
  3605. partial void OnAmountChanging(System.Nullable<decimal> value);
  3606. partial void OnAmountChanged();
  3607. partial void OnMTDOCQuantityChanging(System.Nullable<decimal> value);
  3608. partial void OnMTDOCQuantityChanged();
  3609. partial void OnMTDOCTypeChanging(string value);
  3610. partial void OnMTDOCTypeChanged();
  3611. partial void OnMemoChanging(string value);
  3612. partial void OnMemoChanged();
  3613. partial void OnStatusChanging(string value);
  3614. partial void OnStatusChanged();
  3615. partial void OnCreatePersonChanging(string value);
  3616. partial void OnCreatePersonChanged();
  3617. partial void OnCreateDateTimeChanging(System.DateTime value);
  3618. partial void OnCreateDateTimeChanged();
  3619. partial void OnMTDOCIDChanging(string value);
  3620. partial void OnMTDOCIDChanged();
  3621. partial void OnMTDOCDetailIDChanging(string value);
  3622. partial void OnMTDOCDetailIDChanged();
  3623. partial void OnExtensionIDChanging(string value);
  3624. partial void OnExtensionIDChanged();
  3625. partial void OnMUSERChanging(string value);
  3626. partial void OnMUSERChanged();
  3627. partial void OnMUSERNameChanging(string value);
  3628. partial void OnMUSERNameChanged();
  3629. partial void OnMTIMEChanging(System.DateTime value);
  3630. partial void OnMTIMEChanged();
  3631. partial void OnWorkPointChanging(string value);
  3632. partial void OnWorkPointChanged();
  3633. partial void OnEATTRIBUTE1Changing(string value);
  3634. partial void OnEATTRIBUTE1Changed();
  3635. #endregion
  3636. public ICSMTDOC()
  3637. {
  3638. OnCreated();
  3639. }
  3640. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  3641. public string ID
  3642. {
  3643. get
  3644. {
  3645. return this._ID;
  3646. }
  3647. set
  3648. {
  3649. if ((this._ID != value))
  3650. {
  3651. this.OnIDChanging(value);
  3652. this.SendPropertyChanging();
  3653. this._ID = value;
  3654. this.SendPropertyChanged("ID");
  3655. this.OnIDChanged();
  3656. }
  3657. }
  3658. }
  3659. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTDOCCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3660. public string MTDOCCode
  3661. {
  3662. get
  3663. {
  3664. return this._MTDOCCode;
  3665. }
  3666. set
  3667. {
  3668. if ((this._MTDOCCode != value))
  3669. {
  3670. this.OnMTDOCCodeChanging(value);
  3671. this.SendPropertyChanging();
  3672. this._MTDOCCode = value;
  3673. this.SendPropertyChanged("MTDOCCode");
  3674. this.OnMTDOCCodeChanged();
  3675. }
  3676. }
  3677. }
  3678. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepCode", DbType="NVarChar(50)")]
  3679. public string DepCode
  3680. {
  3681. get
  3682. {
  3683. return this._DepCode;
  3684. }
  3685. set
  3686. {
  3687. if ((this._DepCode != value))
  3688. {
  3689. this.OnDepCodeChanging(value);
  3690. this.SendPropertyChanging();
  3691. this._DepCode = value;
  3692. this.SendPropertyChanged("DepCode");
  3693. this.OnDepCodeChanged();
  3694. }
  3695. }
  3696. }
  3697. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3698. public string WHCode
  3699. {
  3700. get
  3701. {
  3702. return this._WHCode;
  3703. }
  3704. set
  3705. {
  3706. if ((this._WHCode != value))
  3707. {
  3708. this.OnWHCodeChanging(value);
  3709. this.SendPropertyChanging();
  3710. this._WHCode = value;
  3711. this.SendPropertyChanged("WHCode");
  3712. this.OnWHCodeChanged();
  3713. }
  3714. }
  3715. }
  3716. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3717. public string Sequence
  3718. {
  3719. get
  3720. {
  3721. return this._Sequence;
  3722. }
  3723. set
  3724. {
  3725. if ((this._Sequence != value))
  3726. {
  3727. this.OnSequenceChanging(value);
  3728. this.SendPropertyChanging();
  3729. this._Sequence = value;
  3730. this.SendPropertyChanged("Sequence");
  3731. this.OnSequenceChanged();
  3732. }
  3733. }
  3734. }
  3735. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_INVCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3736. public string INVCode
  3737. {
  3738. get
  3739. {
  3740. return this._INVCode;
  3741. }
  3742. set
  3743. {
  3744. if ((this._INVCode != value))
  3745. {
  3746. this.OnINVCodeChanging(value);
  3747. this.SendPropertyChanging();
  3748. this._INVCode = value;
  3749. this.SendPropertyChanged("INVCode");
  3750. this.OnINVCodeChanged();
  3751. }
  3752. }
  3753. }
  3754. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SOCode", DbType="NVarChar(50)")]
  3755. public string SOCode
  3756. {
  3757. get
  3758. {
  3759. return this._SOCode;
  3760. }
  3761. set
  3762. {
  3763. if ((this._SOCode != value))
  3764. {
  3765. this.OnSOCodeChanging(value);
  3766. this.SendPropertyChanging();
  3767. this._SOCode = value;
  3768. this.SendPropertyChanged("SOCode");
  3769. this.OnSOCodeChanged();
  3770. }
  3771. }
  3772. }
  3773. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SOSequence", DbType="NVarChar(50)")]
  3774. public string SOSequence
  3775. {
  3776. get
  3777. {
  3778. return this._SOSequence;
  3779. }
  3780. set
  3781. {
  3782. if ((this._SOSequence != value))
  3783. {
  3784. this.OnSOSequenceChanging(value);
  3785. this.SendPropertyChanging();
  3786. this._SOSequence = value;
  3787. this.SendPropertyChanged("SOSequence");
  3788. this.OnSOSequenceChanged();
  3789. }
  3790. }
  3791. }
  3792. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,3) NOT NULL")]
  3793. public decimal Quantity
  3794. {
  3795. get
  3796. {
  3797. return this._Quantity;
  3798. }
  3799. set
  3800. {
  3801. if ((this._Quantity != value))
  3802. {
  3803. this.OnQuantityChanging(value);
  3804. this.SendPropertyChanging();
  3805. this._Quantity = value;
  3806. this.SendPropertyChanged("Quantity");
  3807. this.OnQuantityChanged();
  3808. }
  3809. }
  3810. }
  3811. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  3812. public System.Nullable<decimal> Amount
  3813. {
  3814. get
  3815. {
  3816. return this._Amount;
  3817. }
  3818. set
  3819. {
  3820. if ((this._Amount != value))
  3821. {
  3822. this.OnAmountChanging(value);
  3823. this.SendPropertyChanging();
  3824. this._Amount = value;
  3825. this.SendPropertyChanged("Amount");
  3826. this.OnAmountChanged();
  3827. }
  3828. }
  3829. }
  3830. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTDOCQuantity", DbType="Decimal(18,2)")]
  3831. public System.Nullable<decimal> MTDOCQuantity
  3832. {
  3833. get
  3834. {
  3835. return this._MTDOCQuantity;
  3836. }
  3837. set
  3838. {
  3839. if ((this._MTDOCQuantity != value))
  3840. {
  3841. this.OnMTDOCQuantityChanging(value);
  3842. this.SendPropertyChanging();
  3843. this._MTDOCQuantity = value;
  3844. this.SendPropertyChanged("MTDOCQuantity");
  3845. this.OnMTDOCQuantityChanged();
  3846. }
  3847. }
  3848. }
  3849. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTDOCType", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3850. public string MTDOCType
  3851. {
  3852. get
  3853. {
  3854. return this._MTDOCType;
  3855. }
  3856. set
  3857. {
  3858. if ((this._MTDOCType != value))
  3859. {
  3860. this.OnMTDOCTypeChanging(value);
  3861. this.SendPropertyChanging();
  3862. this._MTDOCType = value;
  3863. this.SendPropertyChanged("MTDOCType");
  3864. this.OnMTDOCTypeChanged();
  3865. }
  3866. }
  3867. }
  3868. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Memo", DbType="NVarChar(500)")]
  3869. public string Memo
  3870. {
  3871. get
  3872. {
  3873. return this._Memo;
  3874. }
  3875. set
  3876. {
  3877. if ((this._Memo != value))
  3878. {
  3879. this.OnMemoChanging(value);
  3880. this.SendPropertyChanging();
  3881. this._Memo = value;
  3882. this.SendPropertyChanged("Memo");
  3883. this.OnMemoChanged();
  3884. }
  3885. }
  3886. }
  3887. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(10) NOT NULL", CanBeNull=false)]
  3888. public string Status
  3889. {
  3890. get
  3891. {
  3892. return this._Status;
  3893. }
  3894. set
  3895. {
  3896. if ((this._Status != value))
  3897. {
  3898. this.OnStatusChanging(value);
  3899. this.SendPropertyChanging();
  3900. this._Status = value;
  3901. this.SendPropertyChanged("Status");
  3902. this.OnStatusChanged();
  3903. }
  3904. }
  3905. }
  3906. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3907. public string CreatePerson
  3908. {
  3909. get
  3910. {
  3911. return this._CreatePerson;
  3912. }
  3913. set
  3914. {
  3915. if ((this._CreatePerson != value))
  3916. {
  3917. this.OnCreatePersonChanging(value);
  3918. this.SendPropertyChanging();
  3919. this._CreatePerson = value;
  3920. this.SendPropertyChanged("CreatePerson");
  3921. this.OnCreatePersonChanged();
  3922. }
  3923. }
  3924. }
  3925. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
  3926. public System.DateTime CreateDateTime
  3927. {
  3928. get
  3929. {
  3930. return this._CreateDateTime;
  3931. }
  3932. set
  3933. {
  3934. if ((this._CreateDateTime != value))
  3935. {
  3936. this.OnCreateDateTimeChanging(value);
  3937. this.SendPropertyChanging();
  3938. this._CreateDateTime = value;
  3939. this.SendPropertyChanged("CreateDateTime");
  3940. this.OnCreateDateTimeChanged();
  3941. }
  3942. }
  3943. }
  3944. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTDOCID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3945. public string MTDOCID
  3946. {
  3947. get
  3948. {
  3949. return this._MTDOCID;
  3950. }
  3951. set
  3952. {
  3953. if ((this._MTDOCID != value))
  3954. {
  3955. this.OnMTDOCIDChanging(value);
  3956. this.SendPropertyChanging();
  3957. this._MTDOCID = value;
  3958. this.SendPropertyChanged("MTDOCID");
  3959. this.OnMTDOCIDChanged();
  3960. }
  3961. }
  3962. }
  3963. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTDOCDetailID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3964. public string MTDOCDetailID
  3965. {
  3966. get
  3967. {
  3968. return this._MTDOCDetailID;
  3969. }
  3970. set
  3971. {
  3972. if ((this._MTDOCDetailID != value))
  3973. {
  3974. this.OnMTDOCDetailIDChanging(value);
  3975. this.SendPropertyChanging();
  3976. this._MTDOCDetailID = value;
  3977. this.SendPropertyChanged("MTDOCDetailID");
  3978. this.OnMTDOCDetailIDChanged();
  3979. }
  3980. }
  3981. }
  3982. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3983. public string ExtensionID
  3984. {
  3985. get
  3986. {
  3987. return this._ExtensionID;
  3988. }
  3989. set
  3990. {
  3991. if ((this._ExtensionID != value))
  3992. {
  3993. this.OnExtensionIDChanging(value);
  3994. this.SendPropertyChanging();
  3995. this._ExtensionID = value;
  3996. this.SendPropertyChanged("ExtensionID");
  3997. this.OnExtensionIDChanged();
  3998. }
  3999. }
  4000. }
  4001. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4002. public string MUSER
  4003. {
  4004. get
  4005. {
  4006. return this._MUSER;
  4007. }
  4008. set
  4009. {
  4010. if ((this._MUSER != value))
  4011. {
  4012. this.OnMUSERChanging(value);
  4013. this.SendPropertyChanging();
  4014. this._MUSER = value;
  4015. this.SendPropertyChanged("MUSER");
  4016. this.OnMUSERChanged();
  4017. }
  4018. }
  4019. }
  4020. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4021. public string MUSERName
  4022. {
  4023. get
  4024. {
  4025. return this._MUSERName;
  4026. }
  4027. set
  4028. {
  4029. if ((this._MUSERName != value))
  4030. {
  4031. this.OnMUSERNameChanging(value);
  4032. this.SendPropertyChanging();
  4033. this._MUSERName = value;
  4034. this.SendPropertyChanged("MUSERName");
  4035. this.OnMUSERNameChanged();
  4036. }
  4037. }
  4038. }
  4039. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  4040. public System.DateTime MTIME
  4041. {
  4042. get
  4043. {
  4044. return this._MTIME;
  4045. }
  4046. set
  4047. {
  4048. if ((this._MTIME != value))
  4049. {
  4050. this.OnMTIMEChanging(value);
  4051. this.SendPropertyChanging();
  4052. this._MTIME = value;
  4053. this.SendPropertyChanged("MTIME");
  4054. this.OnMTIMEChanged();
  4055. }
  4056. }
  4057. }
  4058. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4059. public string WorkPoint
  4060. {
  4061. get
  4062. {
  4063. return this._WorkPoint;
  4064. }
  4065. set
  4066. {
  4067. if ((this._WorkPoint != value))
  4068. {
  4069. this.OnWorkPointChanging(value);
  4070. this.SendPropertyChanging();
  4071. this._WorkPoint = value;
  4072. this.SendPropertyChanged("WorkPoint");
  4073. this.OnWorkPointChanged();
  4074. }
  4075. }
  4076. }
  4077. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  4078. public string EATTRIBUTE1
  4079. {
  4080. get
  4081. {
  4082. return this._EATTRIBUTE1;
  4083. }
  4084. set
  4085. {
  4086. if ((this._EATTRIBUTE1 != value))
  4087. {
  4088. this.OnEATTRIBUTE1Changing(value);
  4089. this.SendPropertyChanging();
  4090. this._EATTRIBUTE1 = value;
  4091. this.SendPropertyChanged("EATTRIBUTE1");
  4092. this.OnEATTRIBUTE1Changed();
  4093. }
  4094. }
  4095. }
  4096. public event PropertyChangingEventHandler PropertyChanging;
  4097. public event PropertyChangedEventHandler PropertyChanged;
  4098. protected virtual void SendPropertyChanging()
  4099. {
  4100. if ((this.PropertyChanging != null))
  4101. {
  4102. this.PropertyChanging(this, emptyChangingEventArgs);
  4103. }
  4104. }
  4105. protected virtual void SendPropertyChanged(String propertyName)
  4106. {
  4107. if ((this.PropertyChanged != null))
  4108. {
  4109. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  4110. }
  4111. }
  4112. }
  4113. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSManufactureReceive")]
  4114. public partial class ICSManufactureReceive : INotifyPropertyChanging, INotifyPropertyChanged
  4115. {
  4116. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  4117. private string _ID;
  4118. private string _RCVCode;
  4119. private string _Sequence;
  4120. private string _SourceCode;
  4121. private string _SourceSequence;
  4122. private string _InvCode;
  4123. private decimal _Quantity;
  4124. private System.Nullable<decimal> _Amount;
  4125. private System.Nullable<decimal> _RCVQuantity;
  4126. private string _WHCode;
  4127. private string _Type;
  4128. private string _Status;
  4129. private string _CreatePerson;
  4130. private System.DateTime _CreateDateTime;
  4131. private string _RCVID;
  4132. private string _RCVDetailID;
  4133. private string _ExtensionID;
  4134. private string _MUSER;
  4135. private string _MUSERName;
  4136. private System.DateTime _MTIME;
  4137. private string _WorkPoint;
  4138. private string _EATTRIBUTE;
  4139. #region 可扩展性方法定义
  4140. partial void OnLoaded();
  4141. partial void OnValidate(System.Data.Linq.ChangeAction action);
  4142. partial void OnCreated();
  4143. partial void OnIDChanging(string value);
  4144. partial void OnIDChanged();
  4145. partial void OnRCVCodeChanging(string value);
  4146. partial void OnRCVCodeChanged();
  4147. partial void OnSequenceChanging(string value);
  4148. partial void OnSequenceChanged();
  4149. partial void OnSourceCodeChanging(string value);
  4150. partial void OnSourceCodeChanged();
  4151. partial void OnSourceSequenceChanging(string value);
  4152. partial void OnSourceSequenceChanged();
  4153. partial void OnInvCodeChanging(string value);
  4154. partial void OnInvCodeChanged();
  4155. partial void OnQuantityChanging(decimal value);
  4156. partial void OnQuantityChanged();
  4157. partial void OnAmountChanging(System.Nullable<decimal> value);
  4158. partial void OnAmountChanged();
  4159. partial void OnRCVQuantityChanging(System.Nullable<decimal> value);
  4160. partial void OnRCVQuantityChanged();
  4161. partial void OnWHCodeChanging(string value);
  4162. partial void OnWHCodeChanged();
  4163. partial void OnTypeChanging(string value);
  4164. partial void OnTypeChanged();
  4165. partial void OnStatusChanging(string value);
  4166. partial void OnStatusChanged();
  4167. partial void OnCreatePersonChanging(string value);
  4168. partial void OnCreatePersonChanged();
  4169. partial void OnCreateDateTimeChanging(System.DateTime value);
  4170. partial void OnCreateDateTimeChanged();
  4171. partial void OnRCVIDChanging(string value);
  4172. partial void OnRCVIDChanged();
  4173. partial void OnRCVDetailIDChanging(string value);
  4174. partial void OnRCVDetailIDChanged();
  4175. partial void OnExtensionIDChanging(string value);
  4176. partial void OnExtensionIDChanged();
  4177. partial void OnMUSERChanging(string value);
  4178. partial void OnMUSERChanged();
  4179. partial void OnMUSERNameChanging(string value);
  4180. partial void OnMUSERNameChanged();
  4181. partial void OnMTIMEChanging(System.DateTime value);
  4182. partial void OnMTIMEChanged();
  4183. partial void OnWorkPointChanging(string value);
  4184. partial void OnWorkPointChanged();
  4185. partial void OnEATTRIBUTEChanging(string value);
  4186. partial void OnEATTRIBUTEChanged();
  4187. #endregion
  4188. public ICSManufactureReceive()
  4189. {
  4190. OnCreated();
  4191. }
  4192. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  4193. public string ID
  4194. {
  4195. get
  4196. {
  4197. return this._ID;
  4198. }
  4199. set
  4200. {
  4201. if ((this._ID != value))
  4202. {
  4203. this.OnIDChanging(value);
  4204. this.SendPropertyChanging();
  4205. this._ID = value;
  4206. this.SendPropertyChanged("ID");
  4207. this.OnIDChanged();
  4208. }
  4209. }
  4210. }
  4211. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RCVCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4212. public string RCVCode
  4213. {
  4214. get
  4215. {
  4216. return this._RCVCode;
  4217. }
  4218. set
  4219. {
  4220. if ((this._RCVCode != value))
  4221. {
  4222. this.OnRCVCodeChanging(value);
  4223. this.SendPropertyChanging();
  4224. this._RCVCode = value;
  4225. this.SendPropertyChanged("RCVCode");
  4226. this.OnRCVCodeChanged();
  4227. }
  4228. }
  4229. }
  4230. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4231. public string Sequence
  4232. {
  4233. get
  4234. {
  4235. return this._Sequence;
  4236. }
  4237. set
  4238. {
  4239. if ((this._Sequence != value))
  4240. {
  4241. this.OnSequenceChanging(value);
  4242. this.SendPropertyChanging();
  4243. this._Sequence = value;
  4244. this.SendPropertyChanged("Sequence");
  4245. this.OnSequenceChanged();
  4246. }
  4247. }
  4248. }
  4249. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceCode", DbType="NVarChar(50)")]
  4250. public string SourceCode
  4251. {
  4252. get
  4253. {
  4254. return this._SourceCode;
  4255. }
  4256. set
  4257. {
  4258. if ((this._SourceCode != value))
  4259. {
  4260. this.OnSourceCodeChanging(value);
  4261. this.SendPropertyChanging();
  4262. this._SourceCode = value;
  4263. this.SendPropertyChanged("SourceCode");
  4264. this.OnSourceCodeChanged();
  4265. }
  4266. }
  4267. }
  4268. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceSequence", DbType="NVarChar(50)")]
  4269. public string SourceSequence
  4270. {
  4271. get
  4272. {
  4273. return this._SourceSequence;
  4274. }
  4275. set
  4276. {
  4277. if ((this._SourceSequence != value))
  4278. {
  4279. this.OnSourceSequenceChanging(value);
  4280. this.SendPropertyChanging();
  4281. this._SourceSequence = value;
  4282. this.SendPropertyChanged("SourceSequence");
  4283. this.OnSourceSequenceChanged();
  4284. }
  4285. }
  4286. }
  4287. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4288. public string InvCode
  4289. {
  4290. get
  4291. {
  4292. return this._InvCode;
  4293. }
  4294. set
  4295. {
  4296. if ((this._InvCode != value))
  4297. {
  4298. this.OnInvCodeChanging(value);
  4299. this.SendPropertyChanging();
  4300. this._InvCode = value;
  4301. this.SendPropertyChanged("InvCode");
  4302. this.OnInvCodeChanged();
  4303. }
  4304. }
  4305. }
  4306. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
  4307. public decimal Quantity
  4308. {
  4309. get
  4310. {
  4311. return this._Quantity;
  4312. }
  4313. set
  4314. {
  4315. if ((this._Quantity != value))
  4316. {
  4317. this.OnQuantityChanging(value);
  4318. this.SendPropertyChanging();
  4319. this._Quantity = value;
  4320. this.SendPropertyChanged("Quantity");
  4321. this.OnQuantityChanged();
  4322. }
  4323. }
  4324. }
  4325. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  4326. public System.Nullable<decimal> Amount
  4327. {
  4328. get
  4329. {
  4330. return this._Amount;
  4331. }
  4332. set
  4333. {
  4334. if ((this._Amount != value))
  4335. {
  4336. this.OnAmountChanging(value);
  4337. this.SendPropertyChanging();
  4338. this._Amount = value;
  4339. this.SendPropertyChanged("Amount");
  4340. this.OnAmountChanged();
  4341. }
  4342. }
  4343. }
  4344. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RCVQuantity", DbType="Decimal(18,6)")]
  4345. public System.Nullable<decimal> RCVQuantity
  4346. {
  4347. get
  4348. {
  4349. return this._RCVQuantity;
  4350. }
  4351. set
  4352. {
  4353. if ((this._RCVQuantity != value))
  4354. {
  4355. this.OnRCVQuantityChanging(value);
  4356. this.SendPropertyChanging();
  4357. this._RCVQuantity = value;
  4358. this.SendPropertyChanged("RCVQuantity");
  4359. this.OnRCVQuantityChanged();
  4360. }
  4361. }
  4362. }
  4363. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4364. public string WHCode
  4365. {
  4366. get
  4367. {
  4368. return this._WHCode;
  4369. }
  4370. set
  4371. {
  4372. if ((this._WHCode != value))
  4373. {
  4374. this.OnWHCodeChanging(value);
  4375. this.SendPropertyChanging();
  4376. this._WHCode = value;
  4377. this.SendPropertyChanged("WHCode");
  4378. this.OnWHCodeChanged();
  4379. }
  4380. }
  4381. }
  4382. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4383. public string Type
  4384. {
  4385. get
  4386. {
  4387. return this._Type;
  4388. }
  4389. set
  4390. {
  4391. if ((this._Type != value))
  4392. {
  4393. this.OnTypeChanging(value);
  4394. this.SendPropertyChanging();
  4395. this._Type = value;
  4396. this.SendPropertyChanged("Type");
  4397. this.OnTypeChanged();
  4398. }
  4399. }
  4400. }
  4401. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4402. public string Status
  4403. {
  4404. get
  4405. {
  4406. return this._Status;
  4407. }
  4408. set
  4409. {
  4410. if ((this._Status != value))
  4411. {
  4412. this.OnStatusChanging(value);
  4413. this.SendPropertyChanging();
  4414. this._Status = value;
  4415. this.SendPropertyChanged("Status");
  4416. this.OnStatusChanged();
  4417. }
  4418. }
  4419. }
  4420. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4421. public string CreatePerson
  4422. {
  4423. get
  4424. {
  4425. return this._CreatePerson;
  4426. }
  4427. set
  4428. {
  4429. if ((this._CreatePerson != value))
  4430. {
  4431. this.OnCreatePersonChanging(value);
  4432. this.SendPropertyChanging();
  4433. this._CreatePerson = value;
  4434. this.SendPropertyChanged("CreatePerson");
  4435. this.OnCreatePersonChanged();
  4436. }
  4437. }
  4438. }
  4439. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
  4440. public System.DateTime CreateDateTime
  4441. {
  4442. get
  4443. {
  4444. return this._CreateDateTime;
  4445. }
  4446. set
  4447. {
  4448. if ((this._CreateDateTime != value))
  4449. {
  4450. this.OnCreateDateTimeChanging(value);
  4451. this.SendPropertyChanging();
  4452. this._CreateDateTime = value;
  4453. this.SendPropertyChanged("CreateDateTime");
  4454. this.OnCreateDateTimeChanged();
  4455. }
  4456. }
  4457. }
  4458. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RCVID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4459. public string RCVID
  4460. {
  4461. get
  4462. {
  4463. return this._RCVID;
  4464. }
  4465. set
  4466. {
  4467. if ((this._RCVID != value))
  4468. {
  4469. this.OnRCVIDChanging(value);
  4470. this.SendPropertyChanging();
  4471. this._RCVID = value;
  4472. this.SendPropertyChanged("RCVID");
  4473. this.OnRCVIDChanged();
  4474. }
  4475. }
  4476. }
  4477. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RCVDetailID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4478. public string RCVDetailID
  4479. {
  4480. get
  4481. {
  4482. return this._RCVDetailID;
  4483. }
  4484. set
  4485. {
  4486. if ((this._RCVDetailID != value))
  4487. {
  4488. this.OnRCVDetailIDChanging(value);
  4489. this.SendPropertyChanging();
  4490. this._RCVDetailID = value;
  4491. this.SendPropertyChanged("RCVDetailID");
  4492. this.OnRCVDetailIDChanged();
  4493. }
  4494. }
  4495. }
  4496. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4497. public string ExtensionID
  4498. {
  4499. get
  4500. {
  4501. return this._ExtensionID;
  4502. }
  4503. set
  4504. {
  4505. if ((this._ExtensionID != value))
  4506. {
  4507. this.OnExtensionIDChanging(value);
  4508. this.SendPropertyChanging();
  4509. this._ExtensionID = value;
  4510. this.SendPropertyChanged("ExtensionID");
  4511. this.OnExtensionIDChanged();
  4512. }
  4513. }
  4514. }
  4515. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4516. public string MUSER
  4517. {
  4518. get
  4519. {
  4520. return this._MUSER;
  4521. }
  4522. set
  4523. {
  4524. if ((this._MUSER != value))
  4525. {
  4526. this.OnMUSERChanging(value);
  4527. this.SendPropertyChanging();
  4528. this._MUSER = value;
  4529. this.SendPropertyChanged("MUSER");
  4530. this.OnMUSERChanged();
  4531. }
  4532. }
  4533. }
  4534. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4535. public string MUSERName
  4536. {
  4537. get
  4538. {
  4539. return this._MUSERName;
  4540. }
  4541. set
  4542. {
  4543. if ((this._MUSERName != value))
  4544. {
  4545. this.OnMUSERNameChanging(value);
  4546. this.SendPropertyChanging();
  4547. this._MUSERName = value;
  4548. this.SendPropertyChanged("MUSERName");
  4549. this.OnMUSERNameChanged();
  4550. }
  4551. }
  4552. }
  4553. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  4554. public System.DateTime MTIME
  4555. {
  4556. get
  4557. {
  4558. return this._MTIME;
  4559. }
  4560. set
  4561. {
  4562. if ((this._MTIME != value))
  4563. {
  4564. this.OnMTIMEChanging(value);
  4565. this.SendPropertyChanging();
  4566. this._MTIME = value;
  4567. this.SendPropertyChanged("MTIME");
  4568. this.OnMTIMEChanged();
  4569. }
  4570. }
  4571. }
  4572. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4573. public string WorkPoint
  4574. {
  4575. get
  4576. {
  4577. return this._WorkPoint;
  4578. }
  4579. set
  4580. {
  4581. if ((this._WorkPoint != value))
  4582. {
  4583. this.OnWorkPointChanging(value);
  4584. this.SendPropertyChanging();
  4585. this._WorkPoint = value;
  4586. this.SendPropertyChanged("WorkPoint");
  4587. this.OnWorkPointChanged();
  4588. }
  4589. }
  4590. }
  4591. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE", DbType="NVarChar(50)")]
  4592. public string EATTRIBUTE
  4593. {
  4594. get
  4595. {
  4596. return this._EATTRIBUTE;
  4597. }
  4598. set
  4599. {
  4600. if ((this._EATTRIBUTE != value))
  4601. {
  4602. this.OnEATTRIBUTEChanging(value);
  4603. this.SendPropertyChanging();
  4604. this._EATTRIBUTE = value;
  4605. this.SendPropertyChanged("EATTRIBUTE");
  4606. this.OnEATTRIBUTEChanged();
  4607. }
  4608. }
  4609. }
  4610. public event PropertyChangingEventHandler PropertyChanging;
  4611. public event PropertyChangedEventHandler PropertyChanged;
  4612. protected virtual void SendPropertyChanging()
  4613. {
  4614. if ((this.PropertyChanging != null))
  4615. {
  4616. this.PropertyChanging(this, emptyChangingEventArgs);
  4617. }
  4618. }
  4619. protected virtual void SendPropertyChanged(String propertyName)
  4620. {
  4621. if ((this.PropertyChanged != null))
  4622. {
  4623. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  4624. }
  4625. }
  4626. }
  4627. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSDeliveryNotice")]
  4628. public partial class ICSDeliveryNotice : INotifyPropertyChanging, INotifyPropertyChanged
  4629. {
  4630. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  4631. private string _ID;
  4632. private string _DNCode;
  4633. private string _Sequence;
  4634. private string _VenCode;
  4635. private string _DepCode;
  4636. private string _DNType;
  4637. private string _InvCode;
  4638. private decimal _Quantity;
  4639. private System.Nullable<decimal> _Amount;
  4640. private System.Nullable<decimal> _RCVQuantity;
  4641. private System.Nullable<decimal> _UnitPrice;
  4642. private string _Currency;
  4643. private string _Status;
  4644. private string _CreatePerson;
  4645. private System.DateTime _CreateDateTime;
  4646. private string _POID;
  4647. private string _PODetailID;
  4648. private string _DNID;
  4649. private string _DNDetailID;
  4650. private string _ExtensionID;
  4651. private string _MUSER;
  4652. private string _MUSERName;
  4653. private System.DateTime _MTIME;
  4654. private string _WorkPoint;
  4655. private string _EATTRIBUTE1;
  4656. private string _ASNCode;
  4657. private string _WHCode;
  4658. #region 可扩展性方法定义
  4659. partial void OnLoaded();
  4660. partial void OnValidate(System.Data.Linq.ChangeAction action);
  4661. partial void OnCreated();
  4662. partial void OnIDChanging(string value);
  4663. partial void OnIDChanged();
  4664. partial void OnDNCodeChanging(string value);
  4665. partial void OnDNCodeChanged();
  4666. partial void OnSequenceChanging(string value);
  4667. partial void OnSequenceChanged();
  4668. partial void OnVenCodeChanging(string value);
  4669. partial void OnVenCodeChanged();
  4670. partial void OnDepCodeChanging(string value);
  4671. partial void OnDepCodeChanged();
  4672. partial void OnDNTypeChanging(string value);
  4673. partial void OnDNTypeChanged();
  4674. partial void OnInvCodeChanging(string value);
  4675. partial void OnInvCodeChanged();
  4676. partial void OnQuantityChanging(decimal value);
  4677. partial void OnQuantityChanged();
  4678. partial void OnAmountChanging(System.Nullable<decimal> value);
  4679. partial void OnAmountChanged();
  4680. partial void OnRCVQuantityChanging(System.Nullable<decimal> value);
  4681. partial void OnRCVQuantityChanged();
  4682. partial void OnUnitPriceChanging(System.Nullable<decimal> value);
  4683. partial void OnUnitPriceChanged();
  4684. partial void OnCurrencyChanging(string value);
  4685. partial void OnCurrencyChanged();
  4686. partial void OnStatusChanging(string value);
  4687. partial void OnStatusChanged();
  4688. partial void OnCreatePersonChanging(string value);
  4689. partial void OnCreatePersonChanged();
  4690. partial void OnCreateDateTimeChanging(System.DateTime value);
  4691. partial void OnCreateDateTimeChanged();
  4692. partial void OnPOIDChanging(string value);
  4693. partial void OnPOIDChanged();
  4694. partial void OnPODetailIDChanging(string value);
  4695. partial void OnPODetailIDChanged();
  4696. partial void OnDNIDChanging(string value);
  4697. partial void OnDNIDChanged();
  4698. partial void OnDNDetailIDChanging(string value);
  4699. partial void OnDNDetailIDChanged();
  4700. partial void OnExtensionIDChanging(string value);
  4701. partial void OnExtensionIDChanged();
  4702. partial void OnMUSERChanging(string value);
  4703. partial void OnMUSERChanged();
  4704. partial void OnMUSERNameChanging(string value);
  4705. partial void OnMUSERNameChanged();
  4706. partial void OnMTIMEChanging(System.DateTime value);
  4707. partial void OnMTIMEChanged();
  4708. partial void OnWorkPointChanging(string value);
  4709. partial void OnWorkPointChanged();
  4710. partial void OnEATTRIBUTE1Changing(string value);
  4711. partial void OnEATTRIBUTE1Changed();
  4712. partial void OnASNCodeChanging(string value);
  4713. partial void OnASNCodeChanged();
  4714. partial void OnWHCodeChanging(string value);
  4715. partial void OnWHCodeChanged();
  4716. #endregion
  4717. public ICSDeliveryNotice()
  4718. {
  4719. OnCreated();
  4720. }
  4721. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  4722. public string ID
  4723. {
  4724. get
  4725. {
  4726. return this._ID;
  4727. }
  4728. set
  4729. {
  4730. if ((this._ID != value))
  4731. {
  4732. this.OnIDChanging(value);
  4733. this.SendPropertyChanging();
  4734. this._ID = value;
  4735. this.SendPropertyChanged("ID");
  4736. this.OnIDChanged();
  4737. }
  4738. }
  4739. }
  4740. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DNCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4741. public string DNCode
  4742. {
  4743. get
  4744. {
  4745. return this._DNCode;
  4746. }
  4747. set
  4748. {
  4749. if ((this._DNCode != value))
  4750. {
  4751. this.OnDNCodeChanging(value);
  4752. this.SendPropertyChanging();
  4753. this._DNCode = value;
  4754. this.SendPropertyChanged("DNCode");
  4755. this.OnDNCodeChanged();
  4756. }
  4757. }
  4758. }
  4759. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50)")]
  4760. public string Sequence
  4761. {
  4762. get
  4763. {
  4764. return this._Sequence;
  4765. }
  4766. set
  4767. {
  4768. if ((this._Sequence != value))
  4769. {
  4770. this.OnSequenceChanging(value);
  4771. this.SendPropertyChanging();
  4772. this._Sequence = value;
  4773. this.SendPropertyChanged("Sequence");
  4774. this.OnSequenceChanged();
  4775. }
  4776. }
  4777. }
  4778. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VenCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4779. public string VenCode
  4780. {
  4781. get
  4782. {
  4783. return this._VenCode;
  4784. }
  4785. set
  4786. {
  4787. if ((this._VenCode != value))
  4788. {
  4789. this.OnVenCodeChanging(value);
  4790. this.SendPropertyChanging();
  4791. this._VenCode = value;
  4792. this.SendPropertyChanged("VenCode");
  4793. this.OnVenCodeChanged();
  4794. }
  4795. }
  4796. }
  4797. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepCode", DbType="NVarChar(50)")]
  4798. public string DepCode
  4799. {
  4800. get
  4801. {
  4802. return this._DepCode;
  4803. }
  4804. set
  4805. {
  4806. if ((this._DepCode != value))
  4807. {
  4808. this.OnDepCodeChanging(value);
  4809. this.SendPropertyChanging();
  4810. this._DepCode = value;
  4811. this.SendPropertyChanged("DepCode");
  4812. this.OnDepCodeChanged();
  4813. }
  4814. }
  4815. }
  4816. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DNType", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4817. public string DNType
  4818. {
  4819. get
  4820. {
  4821. return this._DNType;
  4822. }
  4823. set
  4824. {
  4825. if ((this._DNType != value))
  4826. {
  4827. this.OnDNTypeChanging(value);
  4828. this.SendPropertyChanging();
  4829. this._DNType = value;
  4830. this.SendPropertyChanged("DNType");
  4831. this.OnDNTypeChanged();
  4832. }
  4833. }
  4834. }
  4835. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4836. public string InvCode
  4837. {
  4838. get
  4839. {
  4840. return this._InvCode;
  4841. }
  4842. set
  4843. {
  4844. if ((this._InvCode != value))
  4845. {
  4846. this.OnInvCodeChanging(value);
  4847. this.SendPropertyChanging();
  4848. this._InvCode = value;
  4849. this.SendPropertyChanged("InvCode");
  4850. this.OnInvCodeChanged();
  4851. }
  4852. }
  4853. }
  4854. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
  4855. public decimal Quantity
  4856. {
  4857. get
  4858. {
  4859. return this._Quantity;
  4860. }
  4861. set
  4862. {
  4863. if ((this._Quantity != value))
  4864. {
  4865. this.OnQuantityChanging(value);
  4866. this.SendPropertyChanging();
  4867. this._Quantity = value;
  4868. this.SendPropertyChanged("Quantity");
  4869. this.OnQuantityChanged();
  4870. }
  4871. }
  4872. }
  4873. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  4874. public System.Nullable<decimal> Amount
  4875. {
  4876. get
  4877. {
  4878. return this._Amount;
  4879. }
  4880. set
  4881. {
  4882. if ((this._Amount != value))
  4883. {
  4884. this.OnAmountChanging(value);
  4885. this.SendPropertyChanging();
  4886. this._Amount = value;
  4887. this.SendPropertyChanged("Amount");
  4888. this.OnAmountChanged();
  4889. }
  4890. }
  4891. }
  4892. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RCVQuantity", DbType="Decimal(18,6)")]
  4893. public System.Nullable<decimal> RCVQuantity
  4894. {
  4895. get
  4896. {
  4897. return this._RCVQuantity;
  4898. }
  4899. set
  4900. {
  4901. if ((this._RCVQuantity != value))
  4902. {
  4903. this.OnRCVQuantityChanging(value);
  4904. this.SendPropertyChanging();
  4905. this._RCVQuantity = value;
  4906. this.SendPropertyChanged("RCVQuantity");
  4907. this.OnRCVQuantityChanged();
  4908. }
  4909. }
  4910. }
  4911. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitPrice", DbType="Decimal(18,6)")]
  4912. public System.Nullable<decimal> UnitPrice
  4913. {
  4914. get
  4915. {
  4916. return this._UnitPrice;
  4917. }
  4918. set
  4919. {
  4920. if ((this._UnitPrice != value))
  4921. {
  4922. this.OnUnitPriceChanging(value);
  4923. this.SendPropertyChanging();
  4924. this._UnitPrice = value;
  4925. this.SendPropertyChanged("UnitPrice");
  4926. this.OnUnitPriceChanged();
  4927. }
  4928. }
  4929. }
  4930. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Currency", DbType="NVarChar(50)")]
  4931. public string Currency
  4932. {
  4933. get
  4934. {
  4935. return this._Currency;
  4936. }
  4937. set
  4938. {
  4939. if ((this._Currency != value))
  4940. {
  4941. this.OnCurrencyChanging(value);
  4942. this.SendPropertyChanging();
  4943. this._Currency = value;
  4944. this.SendPropertyChanged("Currency");
  4945. this.OnCurrencyChanged();
  4946. }
  4947. }
  4948. }
  4949. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50)")]
  4950. public string Status
  4951. {
  4952. get
  4953. {
  4954. return this._Status;
  4955. }
  4956. set
  4957. {
  4958. if ((this._Status != value))
  4959. {
  4960. this.OnStatusChanging(value);
  4961. this.SendPropertyChanging();
  4962. this._Status = value;
  4963. this.SendPropertyChanged("Status");
  4964. this.OnStatusChanged();
  4965. }
  4966. }
  4967. }
  4968. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4969. public string CreatePerson
  4970. {
  4971. get
  4972. {
  4973. return this._CreatePerson;
  4974. }
  4975. set
  4976. {
  4977. if ((this._CreatePerson != value))
  4978. {
  4979. this.OnCreatePersonChanging(value);
  4980. this.SendPropertyChanging();
  4981. this._CreatePerson = value;
  4982. this.SendPropertyChanged("CreatePerson");
  4983. this.OnCreatePersonChanged();
  4984. }
  4985. }
  4986. }
  4987. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
  4988. public System.DateTime CreateDateTime
  4989. {
  4990. get
  4991. {
  4992. return this._CreateDateTime;
  4993. }
  4994. set
  4995. {
  4996. if ((this._CreateDateTime != value))
  4997. {
  4998. this.OnCreateDateTimeChanging(value);
  4999. this.SendPropertyChanging();
  5000. this._CreateDateTime = value;
  5001. this.SendPropertyChanged("CreateDateTime");
  5002. this.OnCreateDateTimeChanged();
  5003. }
  5004. }
  5005. }
  5006. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_POID", DbType="NVarChar(50)")]
  5007. public string POID
  5008. {
  5009. get
  5010. {
  5011. return this._POID;
  5012. }
  5013. set
  5014. {
  5015. if ((this._POID != value))
  5016. {
  5017. this.OnPOIDChanging(value);
  5018. this.SendPropertyChanging();
  5019. this._POID = value;
  5020. this.SendPropertyChanged("POID");
  5021. this.OnPOIDChanged();
  5022. }
  5023. }
  5024. }
  5025. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PODetailID", DbType="NVarChar(50)")]
  5026. public string PODetailID
  5027. {
  5028. get
  5029. {
  5030. return this._PODetailID;
  5031. }
  5032. set
  5033. {
  5034. if ((this._PODetailID != value))
  5035. {
  5036. this.OnPODetailIDChanging(value);
  5037. this.SendPropertyChanging();
  5038. this._PODetailID = value;
  5039. this.SendPropertyChanged("PODetailID");
  5040. this.OnPODetailIDChanged();
  5041. }
  5042. }
  5043. }
  5044. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DNID", DbType="NVarChar(50)")]
  5045. public string DNID
  5046. {
  5047. get
  5048. {
  5049. return this._DNID;
  5050. }
  5051. set
  5052. {
  5053. if ((this._DNID != value))
  5054. {
  5055. this.OnDNIDChanging(value);
  5056. this.SendPropertyChanging();
  5057. this._DNID = value;
  5058. this.SendPropertyChanged("DNID");
  5059. this.OnDNIDChanged();
  5060. }
  5061. }
  5062. }
  5063. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DNDetailID", DbType="NVarChar(50)")]
  5064. public string DNDetailID
  5065. {
  5066. get
  5067. {
  5068. return this._DNDetailID;
  5069. }
  5070. set
  5071. {
  5072. if ((this._DNDetailID != value))
  5073. {
  5074. this.OnDNDetailIDChanging(value);
  5075. this.SendPropertyChanging();
  5076. this._DNDetailID = value;
  5077. this.SendPropertyChanged("DNDetailID");
  5078. this.OnDNDetailIDChanged();
  5079. }
  5080. }
  5081. }
  5082. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5083. public string ExtensionID
  5084. {
  5085. get
  5086. {
  5087. return this._ExtensionID;
  5088. }
  5089. set
  5090. {
  5091. if ((this._ExtensionID != value))
  5092. {
  5093. this.OnExtensionIDChanging(value);
  5094. this.SendPropertyChanging();
  5095. this._ExtensionID = value;
  5096. this.SendPropertyChanged("ExtensionID");
  5097. this.OnExtensionIDChanged();
  5098. }
  5099. }
  5100. }
  5101. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5102. public string MUSER
  5103. {
  5104. get
  5105. {
  5106. return this._MUSER;
  5107. }
  5108. set
  5109. {
  5110. if ((this._MUSER != value))
  5111. {
  5112. this.OnMUSERChanging(value);
  5113. this.SendPropertyChanging();
  5114. this._MUSER = value;
  5115. this.SendPropertyChanged("MUSER");
  5116. this.OnMUSERChanged();
  5117. }
  5118. }
  5119. }
  5120. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5121. public string MUSERName
  5122. {
  5123. get
  5124. {
  5125. return this._MUSERName;
  5126. }
  5127. set
  5128. {
  5129. if ((this._MUSERName != value))
  5130. {
  5131. this.OnMUSERNameChanging(value);
  5132. this.SendPropertyChanging();
  5133. this._MUSERName = value;
  5134. this.SendPropertyChanged("MUSERName");
  5135. this.OnMUSERNameChanged();
  5136. }
  5137. }
  5138. }
  5139. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  5140. public System.DateTime MTIME
  5141. {
  5142. get
  5143. {
  5144. return this._MTIME;
  5145. }
  5146. set
  5147. {
  5148. if ((this._MTIME != value))
  5149. {
  5150. this.OnMTIMEChanging(value);
  5151. this.SendPropertyChanging();
  5152. this._MTIME = value;
  5153. this.SendPropertyChanged("MTIME");
  5154. this.OnMTIMEChanged();
  5155. }
  5156. }
  5157. }
  5158. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5159. public string WorkPoint
  5160. {
  5161. get
  5162. {
  5163. return this._WorkPoint;
  5164. }
  5165. set
  5166. {
  5167. if ((this._WorkPoint != value))
  5168. {
  5169. this.OnWorkPointChanging(value);
  5170. this.SendPropertyChanging();
  5171. this._WorkPoint = value;
  5172. this.SendPropertyChanged("WorkPoint");
  5173. this.OnWorkPointChanged();
  5174. }
  5175. }
  5176. }
  5177. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5178. public string EATTRIBUTE1
  5179. {
  5180. get
  5181. {
  5182. return this._EATTRIBUTE1;
  5183. }
  5184. set
  5185. {
  5186. if ((this._EATTRIBUTE1 != value))
  5187. {
  5188. this.OnEATTRIBUTE1Changing(value);
  5189. this.SendPropertyChanging();
  5190. this._EATTRIBUTE1 = value;
  5191. this.SendPropertyChanged("EATTRIBUTE1");
  5192. this.OnEATTRIBUTE1Changed();
  5193. }
  5194. }
  5195. }
  5196. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ASNCode", DbType="NVarChar(50)")]
  5197. public string ASNCode
  5198. {
  5199. get
  5200. {
  5201. return this._ASNCode;
  5202. }
  5203. set
  5204. {
  5205. if ((this._ASNCode != value))
  5206. {
  5207. this.OnASNCodeChanging(value);
  5208. this.SendPropertyChanging();
  5209. this._ASNCode = value;
  5210. this.SendPropertyChanged("ASNCode");
  5211. this.OnASNCodeChanged();
  5212. }
  5213. }
  5214. }
  5215. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="VarChar(50)")]
  5216. public string WHCode
  5217. {
  5218. get
  5219. {
  5220. return this._WHCode;
  5221. }
  5222. set
  5223. {
  5224. if ((this._WHCode != value))
  5225. {
  5226. this.OnWHCodeChanging(value);
  5227. this.SendPropertyChanging();
  5228. this._WHCode = value;
  5229. this.SendPropertyChanged("WHCode");
  5230. this.OnWHCodeChanged();
  5231. }
  5232. }
  5233. }
  5234. public event PropertyChangingEventHandler PropertyChanging;
  5235. public event PropertyChangedEventHandler PropertyChanged;
  5236. protected virtual void SendPropertyChanging()
  5237. {
  5238. if ((this.PropertyChanging != null))
  5239. {
  5240. this.PropertyChanging(this, emptyChangingEventArgs);
  5241. }
  5242. }
  5243. protected virtual void SendPropertyChanged(String propertyName)
  5244. {
  5245. if ((this.PropertyChanged != null))
  5246. {
  5247. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  5248. }
  5249. }
  5250. }
  5251. }
  5252. #pragma warning restore 1591