纽威
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.

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