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

11749 lines
272 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
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. partial void InsertICSInventoryLotDetail(ICSInventoryLotDetail instance);
  62. partial void UpdateICSInventoryLotDetail(ICSInventoryLotDetail instance);
  63. partial void DeleteICSInventoryLotDetail(ICSInventoryLotDetail instance);
  64. partial void InsertICSWareHouseLotInfoLog(ICSWareHouseLotInfoLog instance);
  65. partial void UpdateICSWareHouseLotInfoLog(ICSWareHouseLotInfoLog instance);
  66. partial void DeleteICSWareHouseLotInfoLog(ICSWareHouseLotInfoLog instance);
  67. partial void InsertICSInventoryLot(ICSInventoryLot instance);
  68. partial void UpdateICSInventoryLot(ICSInventoryLot instance);
  69. partial void DeleteICSInventoryLot(ICSInventoryLot instance);
  70. partial void InsertICSWareHouseLotInfo(ICSWareHouseLotInfo instance);
  71. partial void UpdateICSWareHouseLotInfo(ICSWareHouseLotInfo instance);
  72. partial void DeleteICSWareHouseLotInfo(ICSWareHouseLotInfo instance);
  73. partial void InsertICSLocation(ICSLocation instance);
  74. partial void UpdateICSLocation(ICSLocation instance);
  75. partial void DeleteICSLocation(ICSLocation instance);
  76. partial void InsertICSWarehouse(ICSWarehouse instance);
  77. partial void UpdateICSWarehouse(ICSWarehouse instance);
  78. partial void DeleteICSWarehouse(ICSWarehouse instance);
  79. partial void InsertICSOtherOut(ICSOtherOut instance);
  80. partial void UpdateICSOtherOut(ICSOtherOut instance);
  81. partial void DeleteICSOtherOut(ICSOtherOut instance);
  82. partial void InsertICSOtherIn(ICSOtherIn instance);
  83. partial void UpdateICSOtherIn(ICSOtherIn instance);
  84. partial void DeleteICSOtherIn(ICSOtherIn instance);
  85. #endregion
  86. public FramDataContext() :
  87. base(global::ICSSoft.Frame.Data.Entity.Properties.Settings.Default.ICS_WMS_NWConnectionString, mappingSource)
  88. {
  89. OnCreated();
  90. }
  91. public FramDataContext(string connection) :
  92. base(connection, mappingSource)
  93. {
  94. OnCreated();
  95. }
  96. public FramDataContext(System.Data.IDbConnection connection) :
  97. base(connection, mappingSource)
  98. {
  99. OnCreated();
  100. }
  101. public FramDataContext(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
  102. base(connection, mappingSource)
  103. {
  104. OnCreated();
  105. }
  106. public FramDataContext(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
  107. base(connection, mappingSource)
  108. {
  109. OnCreated();
  110. }
  111. public System.Data.Linq.Table<ICSInventory> ICSInventory
  112. {
  113. get
  114. {
  115. return this.GetTable<ICSInventory>();
  116. }
  117. }
  118. public System.Data.Linq.Table<ICSExtension> ICSExtension
  119. {
  120. get
  121. {
  122. return this.GetTable<ICSExtension>();
  123. }
  124. }
  125. public System.Data.Linq.Table<ICSOApply> ICSOApply
  126. {
  127. get
  128. {
  129. return this.GetTable<ICSOApply>();
  130. }
  131. }
  132. public System.Data.Linq.Table<ICSMOApply> ICSMOApply
  133. {
  134. get
  135. {
  136. return this.GetTable<ICSMOApply>();
  137. }
  138. }
  139. public System.Data.Linq.Table<ICSMOApplyNeg> ICSMOApplyNeg
  140. {
  141. get
  142. {
  143. return this.GetTable<ICSMOApplyNeg>();
  144. }
  145. }
  146. public System.Data.Linq.Table<ICSMOApplyNegDetail> ICSMOApplyNegDetail
  147. {
  148. get
  149. {
  150. return this.GetTable<ICSMOApplyNegDetail>();
  151. }
  152. }
  153. public System.Data.Linq.Table<ICSTransfer> ICSTransfer
  154. {
  155. get
  156. {
  157. return this.GetTable<ICSTransfer>();
  158. }
  159. }
  160. public System.Data.Linq.Table<ICSMTDOC> ICSMTDOC
  161. {
  162. get
  163. {
  164. return this.GetTable<ICSMTDOC>();
  165. }
  166. }
  167. public System.Data.Linq.Table<ICSManufactureReceive> ICSManufactureReceive
  168. {
  169. get
  170. {
  171. return this.GetTable<ICSManufactureReceive>();
  172. }
  173. }
  174. public System.Data.Linq.Table<ICSDeliveryNotice> ICSDeliveryNotice
  175. {
  176. get
  177. {
  178. return this.GetTable<ICSDeliveryNotice>();
  179. }
  180. }
  181. public System.Data.Linq.Table<ICSSDN> ICSSDN
  182. {
  183. get
  184. {
  185. return this.GetTable<ICSSDN>();
  186. }
  187. }
  188. public System.Data.Linq.Table<ICSInventoryLotDetail> ICSInventoryLotDetail
  189. {
  190. get
  191. {
  192. return this.GetTable<ICSInventoryLotDetail>();
  193. }
  194. }
  195. public System.Data.Linq.Table<ICSWareHouseLotInfoLog> ICSWareHouseLotInfoLog
  196. {
  197. get
  198. {
  199. return this.GetTable<ICSWareHouseLotInfoLog>();
  200. }
  201. }
  202. public System.Data.Linq.Table<ICSInventoryLot> ICSInventoryLot
  203. {
  204. get
  205. {
  206. return this.GetTable<ICSInventoryLot>();
  207. }
  208. }
  209. public System.Data.Linq.Table<ICSWareHouseLotInfo> ICSWareHouseLotInfo
  210. {
  211. get
  212. {
  213. return this.GetTable<ICSWareHouseLotInfo>();
  214. }
  215. }
  216. public System.Data.Linq.Table<ICSLocation> ICSLocation
  217. {
  218. get
  219. {
  220. return this.GetTable<ICSLocation>();
  221. }
  222. }
  223. public System.Data.Linq.Table<ICSWarehouse> ICSWarehouse
  224. {
  225. get
  226. {
  227. return this.GetTable<ICSWarehouse>();
  228. }
  229. }
  230. public System.Data.Linq.Table<ICSOtherOut> ICSOtherOut
  231. {
  232. get
  233. {
  234. return this.GetTable<ICSOtherOut>();
  235. }
  236. }
  237. public System.Data.Linq.Table<ICSOtherIn> ICSOtherIn
  238. {
  239. get
  240. {
  241. return this.GetTable<ICSOtherIn>();
  242. }
  243. }
  244. }
  245. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSInventory")]
  246. public partial class ICSInventory : INotifyPropertyChanging, INotifyPropertyChanged
  247. {
  248. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  249. private string _ID;
  250. private string _InvCode;
  251. private string _InvName;
  252. private string _InvDesc;
  253. private string _InvStd;
  254. private string _InvUnit;
  255. private string _AmountUnit;
  256. private string _ClassCode;
  257. private string _ClassName;
  258. private decimal _InvRate;
  259. private string _InvVersion;
  260. private string _InvBrand;
  261. private bool _InvIQC;
  262. private bool _InvFQC;
  263. private bool _EffectiveEnable;
  264. private decimal _EffectiveDays;
  265. private bool _BatchEnable;
  266. private bool _LotEnable;
  267. private bool _PrintEnable;
  268. private string _WHUser;
  269. private string _MUSER;
  270. private string _MUSERName;
  271. private System.DateTime _MTIME;
  272. private string _WorkPoint;
  273. private string _EATTRIBUTE1;
  274. #region 可扩展性方法定义
  275. partial void OnLoaded();
  276. partial void OnValidate(System.Data.Linq.ChangeAction action);
  277. partial void OnCreated();
  278. partial void OnIDChanging(string value);
  279. partial void OnIDChanged();
  280. partial void OnInvCodeChanging(string value);
  281. partial void OnInvCodeChanged();
  282. partial void OnInvNameChanging(string value);
  283. partial void OnInvNameChanged();
  284. partial void OnInvDescChanging(string value);
  285. partial void OnInvDescChanged();
  286. partial void OnInvStdChanging(string value);
  287. partial void OnInvStdChanged();
  288. partial void OnInvUnitChanging(string value);
  289. partial void OnInvUnitChanged();
  290. partial void OnAmountUnitChanging(string value);
  291. partial void OnAmountUnitChanged();
  292. partial void OnClassCodeChanging(string value);
  293. partial void OnClassCodeChanged();
  294. partial void OnClassNameChanging(string value);
  295. partial void OnClassNameChanged();
  296. partial void OnInvRateChanging(decimal value);
  297. partial void OnInvRateChanged();
  298. partial void OnInvVersionChanging(string value);
  299. partial void OnInvVersionChanged();
  300. partial void OnInvBrandChanging(string value);
  301. partial void OnInvBrandChanged();
  302. partial void OnInvIQCChanging(bool value);
  303. partial void OnInvIQCChanged();
  304. partial void OnInvFQCChanging(bool value);
  305. partial void OnInvFQCChanged();
  306. partial void OnEffectiveEnableChanging(bool value);
  307. partial void OnEffectiveEnableChanged();
  308. partial void OnEffectiveDaysChanging(decimal value);
  309. partial void OnEffectiveDaysChanged();
  310. partial void OnBatchEnableChanging(bool value);
  311. partial void OnBatchEnableChanged();
  312. partial void OnLotEnableChanging(bool value);
  313. partial void OnLotEnableChanged();
  314. partial void OnPrintEnableChanging(bool value);
  315. partial void OnPrintEnableChanged();
  316. partial void OnWHUserChanging(string value);
  317. partial void OnWHUserChanged();
  318. partial void OnMUSERChanging(string value);
  319. partial void OnMUSERChanged();
  320. partial void OnMUSERNameChanging(string value);
  321. partial void OnMUSERNameChanged();
  322. partial void OnMTIMEChanging(System.DateTime value);
  323. partial void OnMTIMEChanged();
  324. partial void OnWorkPointChanging(string value);
  325. partial void OnWorkPointChanged();
  326. partial void OnEATTRIBUTE1Changing(string value);
  327. partial void OnEATTRIBUTE1Changed();
  328. #endregion
  329. public ICSInventory()
  330. {
  331. OnCreated();
  332. }
  333. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  334. public string ID
  335. {
  336. get
  337. {
  338. return this._ID;
  339. }
  340. set
  341. {
  342. if ((this._ID != value))
  343. {
  344. this.OnIDChanging(value);
  345. this.SendPropertyChanging();
  346. this._ID = value;
  347. this.SendPropertyChanged("ID");
  348. this.OnIDChanged();
  349. }
  350. }
  351. }
  352. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  353. public string InvCode
  354. {
  355. get
  356. {
  357. return this._InvCode;
  358. }
  359. set
  360. {
  361. if ((this._InvCode != value))
  362. {
  363. this.OnInvCodeChanging(value);
  364. this.SendPropertyChanging();
  365. this._InvCode = value;
  366. this.SendPropertyChanged("InvCode");
  367. this.OnInvCodeChanged();
  368. }
  369. }
  370. }
  371. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvName", DbType="NVarChar(500) NOT NULL", CanBeNull=false)]
  372. public string InvName
  373. {
  374. get
  375. {
  376. return this._InvName;
  377. }
  378. set
  379. {
  380. if ((this._InvName != value))
  381. {
  382. this.OnInvNameChanging(value);
  383. this.SendPropertyChanging();
  384. this._InvName = value;
  385. this.SendPropertyChanged("InvName");
  386. this.OnInvNameChanged();
  387. }
  388. }
  389. }
  390. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvDesc", DbType="NVarChar(500)")]
  391. public string InvDesc
  392. {
  393. get
  394. {
  395. return this._InvDesc;
  396. }
  397. set
  398. {
  399. if ((this._InvDesc != value))
  400. {
  401. this.OnInvDescChanging(value);
  402. this.SendPropertyChanging();
  403. this._InvDesc = value;
  404. this.SendPropertyChanged("InvDesc");
  405. this.OnInvDescChanged();
  406. }
  407. }
  408. }
  409. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvStd", DbType="NVarChar(500)")]
  410. public string InvStd
  411. {
  412. get
  413. {
  414. return this._InvStd;
  415. }
  416. set
  417. {
  418. if ((this._InvStd != value))
  419. {
  420. this.OnInvStdChanging(value);
  421. this.SendPropertyChanging();
  422. this._InvStd = value;
  423. this.SendPropertyChanged("InvStd");
  424. this.OnInvStdChanged();
  425. }
  426. }
  427. }
  428. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvUnit", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  429. public string InvUnit
  430. {
  431. get
  432. {
  433. return this._InvUnit;
  434. }
  435. set
  436. {
  437. if ((this._InvUnit != value))
  438. {
  439. this.OnInvUnitChanging(value);
  440. this.SendPropertyChanging();
  441. this._InvUnit = value;
  442. this.SendPropertyChanged("InvUnit");
  443. this.OnInvUnitChanged();
  444. }
  445. }
  446. }
  447. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AmountUnit", DbType="NVarChar(50)")]
  448. public string AmountUnit
  449. {
  450. get
  451. {
  452. return this._AmountUnit;
  453. }
  454. set
  455. {
  456. if ((this._AmountUnit != value))
  457. {
  458. this.OnAmountUnitChanging(value);
  459. this.SendPropertyChanging();
  460. this._AmountUnit = value;
  461. this.SendPropertyChanged("AmountUnit");
  462. this.OnAmountUnitChanged();
  463. }
  464. }
  465. }
  466. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ClassCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  467. public string ClassCode
  468. {
  469. get
  470. {
  471. return this._ClassCode;
  472. }
  473. set
  474. {
  475. if ((this._ClassCode != value))
  476. {
  477. this.OnClassCodeChanging(value);
  478. this.SendPropertyChanging();
  479. this._ClassCode = value;
  480. this.SendPropertyChanged("ClassCode");
  481. this.OnClassCodeChanged();
  482. }
  483. }
  484. }
  485. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ClassName", DbType="NVarChar(80) NOT NULL", CanBeNull=false)]
  486. public string ClassName
  487. {
  488. get
  489. {
  490. return this._ClassName;
  491. }
  492. set
  493. {
  494. if ((this._ClassName != value))
  495. {
  496. this.OnClassNameChanging(value);
  497. this.SendPropertyChanging();
  498. this._ClassName = value;
  499. this.SendPropertyChanged("ClassName");
  500. this.OnClassNameChanged();
  501. }
  502. }
  503. }
  504. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvRate", DbType="Decimal(18,6) NOT NULL")]
  505. public decimal InvRate
  506. {
  507. get
  508. {
  509. return this._InvRate;
  510. }
  511. set
  512. {
  513. if ((this._InvRate != value))
  514. {
  515. this.OnInvRateChanging(value);
  516. this.SendPropertyChanging();
  517. this._InvRate = value;
  518. this.SendPropertyChanged("InvRate");
  519. this.OnInvRateChanged();
  520. }
  521. }
  522. }
  523. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvVersion", DbType="NVarChar(50)")]
  524. public string InvVersion
  525. {
  526. get
  527. {
  528. return this._InvVersion;
  529. }
  530. set
  531. {
  532. if ((this._InvVersion != value))
  533. {
  534. this.OnInvVersionChanging(value);
  535. this.SendPropertyChanging();
  536. this._InvVersion = value;
  537. this.SendPropertyChanged("InvVersion");
  538. this.OnInvVersionChanged();
  539. }
  540. }
  541. }
  542. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvBrand", DbType="NVarChar(50)")]
  543. public string InvBrand
  544. {
  545. get
  546. {
  547. return this._InvBrand;
  548. }
  549. set
  550. {
  551. if ((this._InvBrand != value))
  552. {
  553. this.OnInvBrandChanging(value);
  554. this.SendPropertyChanging();
  555. this._InvBrand = value;
  556. this.SendPropertyChanged("InvBrand");
  557. this.OnInvBrandChanged();
  558. }
  559. }
  560. }
  561. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvIQC", DbType="Bit NOT NULL")]
  562. public bool InvIQC
  563. {
  564. get
  565. {
  566. return this._InvIQC;
  567. }
  568. set
  569. {
  570. if ((this._InvIQC != value))
  571. {
  572. this.OnInvIQCChanging(value);
  573. this.SendPropertyChanging();
  574. this._InvIQC = value;
  575. this.SendPropertyChanged("InvIQC");
  576. this.OnInvIQCChanged();
  577. }
  578. }
  579. }
  580. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvFQC", DbType="Bit NOT NULL")]
  581. public bool InvFQC
  582. {
  583. get
  584. {
  585. return this._InvFQC;
  586. }
  587. set
  588. {
  589. if ((this._InvFQC != value))
  590. {
  591. this.OnInvFQCChanging(value);
  592. this.SendPropertyChanging();
  593. this._InvFQC = value;
  594. this.SendPropertyChanged("InvFQC");
  595. this.OnInvFQCChanged();
  596. }
  597. }
  598. }
  599. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EffectiveEnable", DbType="Bit NOT NULL")]
  600. public bool EffectiveEnable
  601. {
  602. get
  603. {
  604. return this._EffectiveEnable;
  605. }
  606. set
  607. {
  608. if ((this._EffectiveEnable != value))
  609. {
  610. this.OnEffectiveEnableChanging(value);
  611. this.SendPropertyChanging();
  612. this._EffectiveEnable = value;
  613. this.SendPropertyChanged("EffectiveEnable");
  614. this.OnEffectiveEnableChanged();
  615. }
  616. }
  617. }
  618. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EffectiveDays", DbType="Decimal(18,6) NOT NULL")]
  619. public decimal EffectiveDays
  620. {
  621. get
  622. {
  623. return this._EffectiveDays;
  624. }
  625. set
  626. {
  627. if ((this._EffectiveDays != value))
  628. {
  629. this.OnEffectiveDaysChanging(value);
  630. this.SendPropertyChanging();
  631. this._EffectiveDays = value;
  632. this.SendPropertyChanged("EffectiveDays");
  633. this.OnEffectiveDaysChanged();
  634. }
  635. }
  636. }
  637. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchEnable", DbType="Bit NOT NULL")]
  638. public bool BatchEnable
  639. {
  640. get
  641. {
  642. return this._BatchEnable;
  643. }
  644. set
  645. {
  646. if ((this._BatchEnable != value))
  647. {
  648. this.OnBatchEnableChanging(value);
  649. this.SendPropertyChanging();
  650. this._BatchEnable = value;
  651. this.SendPropertyChanged("BatchEnable");
  652. this.OnBatchEnableChanged();
  653. }
  654. }
  655. }
  656. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LotEnable", DbType="Bit NOT NULL")]
  657. public bool LotEnable
  658. {
  659. get
  660. {
  661. return this._LotEnable;
  662. }
  663. set
  664. {
  665. if ((this._LotEnable != value))
  666. {
  667. this.OnLotEnableChanging(value);
  668. this.SendPropertyChanging();
  669. this._LotEnable = value;
  670. this.SendPropertyChanged("LotEnable");
  671. this.OnLotEnableChanged();
  672. }
  673. }
  674. }
  675. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PrintEnable", DbType="Bit NOT NULL")]
  676. public bool PrintEnable
  677. {
  678. get
  679. {
  680. return this._PrintEnable;
  681. }
  682. set
  683. {
  684. if ((this._PrintEnable != value))
  685. {
  686. this.OnPrintEnableChanging(value);
  687. this.SendPropertyChanging();
  688. this._PrintEnable = value;
  689. this.SendPropertyChanged("PrintEnable");
  690. this.OnPrintEnableChanged();
  691. }
  692. }
  693. }
  694. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHUser", DbType="NVarChar(50)")]
  695. public string WHUser
  696. {
  697. get
  698. {
  699. return this._WHUser;
  700. }
  701. set
  702. {
  703. if ((this._WHUser != value))
  704. {
  705. this.OnWHUserChanging(value);
  706. this.SendPropertyChanging();
  707. this._WHUser = value;
  708. this.SendPropertyChanged("WHUser");
  709. this.OnWHUserChanged();
  710. }
  711. }
  712. }
  713. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  714. public string MUSER
  715. {
  716. get
  717. {
  718. return this._MUSER;
  719. }
  720. set
  721. {
  722. if ((this._MUSER != value))
  723. {
  724. this.OnMUSERChanging(value);
  725. this.SendPropertyChanging();
  726. this._MUSER = value;
  727. this.SendPropertyChanged("MUSER");
  728. this.OnMUSERChanged();
  729. }
  730. }
  731. }
  732. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  733. public string MUSERName
  734. {
  735. get
  736. {
  737. return this._MUSERName;
  738. }
  739. set
  740. {
  741. if ((this._MUSERName != value))
  742. {
  743. this.OnMUSERNameChanging(value);
  744. this.SendPropertyChanging();
  745. this._MUSERName = value;
  746. this.SendPropertyChanged("MUSERName");
  747. this.OnMUSERNameChanged();
  748. }
  749. }
  750. }
  751. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  752. public System.DateTime MTIME
  753. {
  754. get
  755. {
  756. return this._MTIME;
  757. }
  758. set
  759. {
  760. if ((this._MTIME != value))
  761. {
  762. this.OnMTIMEChanging(value);
  763. this.SendPropertyChanging();
  764. this._MTIME = value;
  765. this.SendPropertyChanged("MTIME");
  766. this.OnMTIMEChanged();
  767. }
  768. }
  769. }
  770. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  771. public string WorkPoint
  772. {
  773. get
  774. {
  775. return this._WorkPoint;
  776. }
  777. set
  778. {
  779. if ((this._WorkPoint != value))
  780. {
  781. this.OnWorkPointChanging(value);
  782. this.SendPropertyChanging();
  783. this._WorkPoint = value;
  784. this.SendPropertyChanged("WorkPoint");
  785. this.OnWorkPointChanged();
  786. }
  787. }
  788. }
  789. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  790. public string EATTRIBUTE1
  791. {
  792. get
  793. {
  794. return this._EATTRIBUTE1;
  795. }
  796. set
  797. {
  798. if ((this._EATTRIBUTE1 != value))
  799. {
  800. this.OnEATTRIBUTE1Changing(value);
  801. this.SendPropertyChanging();
  802. this._EATTRIBUTE1 = value;
  803. this.SendPropertyChanged("EATTRIBUTE1");
  804. this.OnEATTRIBUTE1Changed();
  805. }
  806. }
  807. }
  808. public event PropertyChangingEventHandler PropertyChanging;
  809. public event PropertyChangedEventHandler PropertyChanged;
  810. protected virtual void SendPropertyChanging()
  811. {
  812. if ((this.PropertyChanging != null))
  813. {
  814. this.PropertyChanging(this, emptyChangingEventArgs);
  815. }
  816. }
  817. protected virtual void SendPropertyChanged(String propertyName)
  818. {
  819. if ((this.PropertyChanged != null))
  820. {
  821. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  822. }
  823. }
  824. }
  825. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSExtension")]
  826. public partial class ICSExtension : INotifyPropertyChanging, INotifyPropertyChanged
  827. {
  828. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  829. private string _ID;
  830. private string _Colspan;
  831. private string _ProjectCode;
  832. private string _BatchCode;
  833. private string _Version;
  834. private string _Brand;
  835. private string _cFree1;
  836. private string _cFree2;
  837. private string _cFree3;
  838. private string _cFree4;
  839. private string _cFree5;
  840. private string _cFree6;
  841. private string _cFree7;
  842. private string _cFree8;
  843. private string _cFree9;
  844. private string _cFree10;
  845. private System.DateTime _MTIME;
  846. private string _MUSER;
  847. private string _MUSERName;
  848. private string _WorkPoint;
  849. private string _EATTRIBUTE1;
  850. private string _EATTRIBUTE2;
  851. private string _EATTRIBUTE3;
  852. private string _EATTRIBUTE4;
  853. private string _EATTRIBUTE5;
  854. #region 可扩展性方法定义
  855. partial void OnLoaded();
  856. partial void OnValidate(System.Data.Linq.ChangeAction action);
  857. partial void OnCreated();
  858. partial void OnIDChanging(string value);
  859. partial void OnIDChanged();
  860. partial void OnColspanChanging(string value);
  861. partial void OnColspanChanged();
  862. partial void OnProjectCodeChanging(string value);
  863. partial void OnProjectCodeChanged();
  864. partial void OnBatchCodeChanging(string value);
  865. partial void OnBatchCodeChanged();
  866. partial void OnVersionChanging(string value);
  867. partial void OnVersionChanged();
  868. partial void OnBrandChanging(string value);
  869. partial void OnBrandChanged();
  870. partial void OncFree1Changing(string value);
  871. partial void OncFree1Changed();
  872. partial void OncFree2Changing(string value);
  873. partial void OncFree2Changed();
  874. partial void OncFree3Changing(string value);
  875. partial void OncFree3Changed();
  876. partial void OncFree4Changing(string value);
  877. partial void OncFree4Changed();
  878. partial void OncFree5Changing(string value);
  879. partial void OncFree5Changed();
  880. partial void OncFree6Changing(string value);
  881. partial void OncFree6Changed();
  882. partial void OncFree7Changing(string value);
  883. partial void OncFree7Changed();
  884. partial void OncFree8Changing(string value);
  885. partial void OncFree8Changed();
  886. partial void OncFree9Changing(string value);
  887. partial void OncFree9Changed();
  888. partial void OncFree10Changing(string value);
  889. partial void OncFree10Changed();
  890. partial void OnMTIMEChanging(System.DateTime value);
  891. partial void OnMTIMEChanged();
  892. partial void OnMUSERChanging(string value);
  893. partial void OnMUSERChanged();
  894. partial void OnMUSERNameChanging(string value);
  895. partial void OnMUSERNameChanged();
  896. partial void OnWorkPointChanging(string value);
  897. partial void OnWorkPointChanged();
  898. partial void OnEATTRIBUTE1Changing(string value);
  899. partial void OnEATTRIBUTE1Changed();
  900. partial void OnEATTRIBUTE2Changing(string value);
  901. partial void OnEATTRIBUTE2Changed();
  902. partial void OnEATTRIBUTE3Changing(string value);
  903. partial void OnEATTRIBUTE3Changed();
  904. partial void OnEATTRIBUTE4Changing(string value);
  905. partial void OnEATTRIBUTE4Changed();
  906. partial void OnEATTRIBUTE5Changing(string value);
  907. partial void OnEATTRIBUTE5Changed();
  908. #endregion
  909. public ICSExtension()
  910. {
  911. OnCreated();
  912. }
  913. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  914. public string ID
  915. {
  916. get
  917. {
  918. return this._ID;
  919. }
  920. set
  921. {
  922. if ((this._ID != value))
  923. {
  924. this.OnIDChanging(value);
  925. this.SendPropertyChanging();
  926. this._ID = value;
  927. this.SendPropertyChanged("ID");
  928. this.OnIDChanged();
  929. }
  930. }
  931. }
  932. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Colspan", DbType="NVarChar(500) NOT NULL", CanBeNull=false)]
  933. public string Colspan
  934. {
  935. get
  936. {
  937. return this._Colspan;
  938. }
  939. set
  940. {
  941. if ((this._Colspan != value))
  942. {
  943. this.OnColspanChanging(value);
  944. this.SendPropertyChanging();
  945. this._Colspan = value;
  946. this.SendPropertyChanged("Colspan");
  947. this.OnColspanChanged();
  948. }
  949. }
  950. }
  951. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectCode", DbType="NVarChar(100)")]
  952. public string ProjectCode
  953. {
  954. get
  955. {
  956. return this._ProjectCode;
  957. }
  958. set
  959. {
  960. if ((this._ProjectCode != value))
  961. {
  962. this.OnProjectCodeChanging(value);
  963. this.SendPropertyChanging();
  964. this._ProjectCode = value;
  965. this.SendPropertyChanged("ProjectCode");
  966. this.OnProjectCodeChanged();
  967. }
  968. }
  969. }
  970. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchCode", DbType="NVarChar(100)")]
  971. public string BatchCode
  972. {
  973. get
  974. {
  975. return this._BatchCode;
  976. }
  977. set
  978. {
  979. if ((this._BatchCode != value))
  980. {
  981. this.OnBatchCodeChanging(value);
  982. this.SendPropertyChanging();
  983. this._BatchCode = value;
  984. this.SendPropertyChanged("BatchCode");
  985. this.OnBatchCodeChanged();
  986. }
  987. }
  988. }
  989. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Version", DbType="NVarChar(100)")]
  990. public string Version
  991. {
  992. get
  993. {
  994. return this._Version;
  995. }
  996. set
  997. {
  998. if ((this._Version != value))
  999. {
  1000. this.OnVersionChanging(value);
  1001. this.SendPropertyChanging();
  1002. this._Version = value;
  1003. this.SendPropertyChanged("Version");
  1004. this.OnVersionChanged();
  1005. }
  1006. }
  1007. }
  1008. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Brand", DbType="NVarChar(100)")]
  1009. public string Brand
  1010. {
  1011. get
  1012. {
  1013. return this._Brand;
  1014. }
  1015. set
  1016. {
  1017. if ((this._Brand != value))
  1018. {
  1019. this.OnBrandChanging(value);
  1020. this.SendPropertyChanging();
  1021. this._Brand = value;
  1022. this.SendPropertyChanged("Brand");
  1023. this.OnBrandChanged();
  1024. }
  1025. }
  1026. }
  1027. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree1", DbType="NVarChar(100)")]
  1028. public string cFree1
  1029. {
  1030. get
  1031. {
  1032. return this._cFree1;
  1033. }
  1034. set
  1035. {
  1036. if ((this._cFree1 != value))
  1037. {
  1038. this.OncFree1Changing(value);
  1039. this.SendPropertyChanging();
  1040. this._cFree1 = value;
  1041. this.SendPropertyChanged("cFree1");
  1042. this.OncFree1Changed();
  1043. }
  1044. }
  1045. }
  1046. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree2", DbType="NVarChar(100)")]
  1047. public string cFree2
  1048. {
  1049. get
  1050. {
  1051. return this._cFree2;
  1052. }
  1053. set
  1054. {
  1055. if ((this._cFree2 != value))
  1056. {
  1057. this.OncFree2Changing(value);
  1058. this.SendPropertyChanging();
  1059. this._cFree2 = value;
  1060. this.SendPropertyChanged("cFree2");
  1061. this.OncFree2Changed();
  1062. }
  1063. }
  1064. }
  1065. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree3", DbType="NVarChar(100)")]
  1066. public string cFree3
  1067. {
  1068. get
  1069. {
  1070. return this._cFree3;
  1071. }
  1072. set
  1073. {
  1074. if ((this._cFree3 != value))
  1075. {
  1076. this.OncFree3Changing(value);
  1077. this.SendPropertyChanging();
  1078. this._cFree3 = value;
  1079. this.SendPropertyChanged("cFree3");
  1080. this.OncFree3Changed();
  1081. }
  1082. }
  1083. }
  1084. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree4", DbType="NVarChar(100)")]
  1085. public string cFree4
  1086. {
  1087. get
  1088. {
  1089. return this._cFree4;
  1090. }
  1091. set
  1092. {
  1093. if ((this._cFree4 != value))
  1094. {
  1095. this.OncFree4Changing(value);
  1096. this.SendPropertyChanging();
  1097. this._cFree4 = value;
  1098. this.SendPropertyChanged("cFree4");
  1099. this.OncFree4Changed();
  1100. }
  1101. }
  1102. }
  1103. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree5", DbType="NVarChar(100)")]
  1104. public string cFree5
  1105. {
  1106. get
  1107. {
  1108. return this._cFree5;
  1109. }
  1110. set
  1111. {
  1112. if ((this._cFree5 != value))
  1113. {
  1114. this.OncFree5Changing(value);
  1115. this.SendPropertyChanging();
  1116. this._cFree5 = value;
  1117. this.SendPropertyChanged("cFree5");
  1118. this.OncFree5Changed();
  1119. }
  1120. }
  1121. }
  1122. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree6", DbType="NVarChar(100)")]
  1123. public string cFree6
  1124. {
  1125. get
  1126. {
  1127. return this._cFree6;
  1128. }
  1129. set
  1130. {
  1131. if ((this._cFree6 != value))
  1132. {
  1133. this.OncFree6Changing(value);
  1134. this.SendPropertyChanging();
  1135. this._cFree6 = value;
  1136. this.SendPropertyChanged("cFree6");
  1137. this.OncFree6Changed();
  1138. }
  1139. }
  1140. }
  1141. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree7", DbType="NVarChar(100)")]
  1142. public string cFree7
  1143. {
  1144. get
  1145. {
  1146. return this._cFree7;
  1147. }
  1148. set
  1149. {
  1150. if ((this._cFree7 != value))
  1151. {
  1152. this.OncFree7Changing(value);
  1153. this.SendPropertyChanging();
  1154. this._cFree7 = value;
  1155. this.SendPropertyChanged("cFree7");
  1156. this.OncFree7Changed();
  1157. }
  1158. }
  1159. }
  1160. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree8", DbType="NVarChar(100)")]
  1161. public string cFree8
  1162. {
  1163. get
  1164. {
  1165. return this._cFree8;
  1166. }
  1167. set
  1168. {
  1169. if ((this._cFree8 != value))
  1170. {
  1171. this.OncFree8Changing(value);
  1172. this.SendPropertyChanging();
  1173. this._cFree8 = value;
  1174. this.SendPropertyChanged("cFree8");
  1175. this.OncFree8Changed();
  1176. }
  1177. }
  1178. }
  1179. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree9", DbType="NVarChar(100)")]
  1180. public string cFree9
  1181. {
  1182. get
  1183. {
  1184. return this._cFree9;
  1185. }
  1186. set
  1187. {
  1188. if ((this._cFree9 != value))
  1189. {
  1190. this.OncFree9Changing(value);
  1191. this.SendPropertyChanging();
  1192. this._cFree9 = value;
  1193. this.SendPropertyChanged("cFree9");
  1194. this.OncFree9Changed();
  1195. }
  1196. }
  1197. }
  1198. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cFree10", DbType="NVarChar(100)")]
  1199. public string cFree10
  1200. {
  1201. get
  1202. {
  1203. return this._cFree10;
  1204. }
  1205. set
  1206. {
  1207. if ((this._cFree10 != value))
  1208. {
  1209. this.OncFree10Changing(value);
  1210. this.SendPropertyChanging();
  1211. this._cFree10 = value;
  1212. this.SendPropertyChanged("cFree10");
  1213. this.OncFree10Changed();
  1214. }
  1215. }
  1216. }
  1217. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  1218. public System.DateTime MTIME
  1219. {
  1220. get
  1221. {
  1222. return this._MTIME;
  1223. }
  1224. set
  1225. {
  1226. if ((this._MTIME != value))
  1227. {
  1228. this.OnMTIMEChanging(value);
  1229. this.SendPropertyChanging();
  1230. this._MTIME = value;
  1231. this.SendPropertyChanged("MTIME");
  1232. this.OnMTIMEChanged();
  1233. }
  1234. }
  1235. }
  1236. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1237. public string MUSER
  1238. {
  1239. get
  1240. {
  1241. return this._MUSER;
  1242. }
  1243. set
  1244. {
  1245. if ((this._MUSER != value))
  1246. {
  1247. this.OnMUSERChanging(value);
  1248. this.SendPropertyChanging();
  1249. this._MUSER = value;
  1250. this.SendPropertyChanged("MUSER");
  1251. this.OnMUSERChanged();
  1252. }
  1253. }
  1254. }
  1255. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1256. public string MUSERName
  1257. {
  1258. get
  1259. {
  1260. return this._MUSERName;
  1261. }
  1262. set
  1263. {
  1264. if ((this._MUSERName != value))
  1265. {
  1266. this.OnMUSERNameChanging(value);
  1267. this.SendPropertyChanging();
  1268. this._MUSERName = value;
  1269. this.SendPropertyChanged("MUSERName");
  1270. this.OnMUSERNameChanged();
  1271. }
  1272. }
  1273. }
  1274. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="VarChar(50) NOT NULL", CanBeNull=false)]
  1275. public string WorkPoint
  1276. {
  1277. get
  1278. {
  1279. return this._WorkPoint;
  1280. }
  1281. set
  1282. {
  1283. if ((this._WorkPoint != value))
  1284. {
  1285. this.OnWorkPointChanging(value);
  1286. this.SendPropertyChanging();
  1287. this._WorkPoint = value;
  1288. this.SendPropertyChanged("WorkPoint");
  1289. this.OnWorkPointChanged();
  1290. }
  1291. }
  1292. }
  1293. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  1294. public string EATTRIBUTE1
  1295. {
  1296. get
  1297. {
  1298. return this._EATTRIBUTE1;
  1299. }
  1300. set
  1301. {
  1302. if ((this._EATTRIBUTE1 != value))
  1303. {
  1304. this.OnEATTRIBUTE1Changing(value);
  1305. this.SendPropertyChanging();
  1306. this._EATTRIBUTE1 = value;
  1307. this.SendPropertyChanged("EATTRIBUTE1");
  1308. this.OnEATTRIBUTE1Changed();
  1309. }
  1310. }
  1311. }
  1312. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE2", DbType="NVarChar(50)")]
  1313. public string EATTRIBUTE2
  1314. {
  1315. get
  1316. {
  1317. return this._EATTRIBUTE2;
  1318. }
  1319. set
  1320. {
  1321. if ((this._EATTRIBUTE2 != value))
  1322. {
  1323. this.OnEATTRIBUTE2Changing(value);
  1324. this.SendPropertyChanging();
  1325. this._EATTRIBUTE2 = value;
  1326. this.SendPropertyChanged("EATTRIBUTE2");
  1327. this.OnEATTRIBUTE2Changed();
  1328. }
  1329. }
  1330. }
  1331. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE3", DbType="NVarChar(50)")]
  1332. public string EATTRIBUTE3
  1333. {
  1334. get
  1335. {
  1336. return this._EATTRIBUTE3;
  1337. }
  1338. set
  1339. {
  1340. if ((this._EATTRIBUTE3 != value))
  1341. {
  1342. this.OnEATTRIBUTE3Changing(value);
  1343. this.SendPropertyChanging();
  1344. this._EATTRIBUTE3 = value;
  1345. this.SendPropertyChanged("EATTRIBUTE3");
  1346. this.OnEATTRIBUTE3Changed();
  1347. }
  1348. }
  1349. }
  1350. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE4", DbType="NVarChar(50)")]
  1351. public string EATTRIBUTE4
  1352. {
  1353. get
  1354. {
  1355. return this._EATTRIBUTE4;
  1356. }
  1357. set
  1358. {
  1359. if ((this._EATTRIBUTE4 != value))
  1360. {
  1361. this.OnEATTRIBUTE4Changing(value);
  1362. this.SendPropertyChanging();
  1363. this._EATTRIBUTE4 = value;
  1364. this.SendPropertyChanged("EATTRIBUTE4");
  1365. this.OnEATTRIBUTE4Changed();
  1366. }
  1367. }
  1368. }
  1369. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE5", DbType="NVarChar(50)")]
  1370. public string EATTRIBUTE5
  1371. {
  1372. get
  1373. {
  1374. return this._EATTRIBUTE5;
  1375. }
  1376. set
  1377. {
  1378. if ((this._EATTRIBUTE5 != value))
  1379. {
  1380. this.OnEATTRIBUTE5Changing(value);
  1381. this.SendPropertyChanging();
  1382. this._EATTRIBUTE5 = value;
  1383. this.SendPropertyChanged("EATTRIBUTE5");
  1384. this.OnEATTRIBUTE5Changed();
  1385. }
  1386. }
  1387. }
  1388. public event PropertyChangingEventHandler PropertyChanging;
  1389. public event PropertyChangedEventHandler PropertyChanged;
  1390. protected virtual void SendPropertyChanging()
  1391. {
  1392. if ((this.PropertyChanging != null))
  1393. {
  1394. this.PropertyChanging(this, emptyChangingEventArgs);
  1395. }
  1396. }
  1397. protected virtual void SendPropertyChanged(String propertyName)
  1398. {
  1399. if ((this.PropertyChanged != null))
  1400. {
  1401. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  1402. }
  1403. }
  1404. }
  1405. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSOApply")]
  1406. public partial class ICSOApply : INotifyPropertyChanging, INotifyPropertyChanged
  1407. {
  1408. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  1409. private string _ID;
  1410. private string _ApplyCode;
  1411. private string _Sequence;
  1412. private string _SourceCode;
  1413. private string _SourceSequence;
  1414. private string _InvCode;
  1415. private decimal _Quantity;
  1416. private System.Nullable<decimal> _Amount;
  1417. private System.Nullable<decimal> _IssueQuantity;
  1418. private string _WHCode;
  1419. private string _Type;
  1420. private string _Status;
  1421. private string _CreatePerson;
  1422. private System.DateTime _CreateDateTime;
  1423. private string _ApplyID;
  1424. private string _ApplyDetailID;
  1425. private string _ExtensionID;
  1426. private string _MUSER;
  1427. private string _MUSERName;
  1428. private System.DateTime _MTIME;
  1429. private string _WorkPoint;
  1430. private string _EATTRIBUTE;
  1431. #region 可扩展性方法定义
  1432. partial void OnLoaded();
  1433. partial void OnValidate(System.Data.Linq.ChangeAction action);
  1434. partial void OnCreated();
  1435. partial void OnIDChanging(string value);
  1436. partial void OnIDChanged();
  1437. partial void OnApplyCodeChanging(string value);
  1438. partial void OnApplyCodeChanged();
  1439. partial void OnSequenceChanging(string value);
  1440. partial void OnSequenceChanged();
  1441. partial void OnSourceCodeChanging(string value);
  1442. partial void OnSourceCodeChanged();
  1443. partial void OnSourceSequenceChanging(string value);
  1444. partial void OnSourceSequenceChanged();
  1445. partial void OnInvCodeChanging(string value);
  1446. partial void OnInvCodeChanged();
  1447. partial void OnQuantityChanging(decimal value);
  1448. partial void OnQuantityChanged();
  1449. partial void OnAmountChanging(System.Nullable<decimal> value);
  1450. partial void OnAmountChanged();
  1451. partial void OnIssueQuantityChanging(System.Nullable<decimal> value);
  1452. partial void OnIssueQuantityChanged();
  1453. partial void OnWHCodeChanging(string value);
  1454. partial void OnWHCodeChanged();
  1455. partial void OnTypeChanging(string value);
  1456. partial void OnTypeChanged();
  1457. partial void OnStatusChanging(string value);
  1458. partial void OnStatusChanged();
  1459. partial void OnCreatePersonChanging(string value);
  1460. partial void OnCreatePersonChanged();
  1461. partial void OnCreateDateTimeChanging(System.DateTime value);
  1462. partial void OnCreateDateTimeChanged();
  1463. partial void OnApplyIDChanging(string value);
  1464. partial void OnApplyIDChanged();
  1465. partial void OnApplyDetailIDChanging(string value);
  1466. partial void OnApplyDetailIDChanged();
  1467. partial void OnExtensionIDChanging(string value);
  1468. partial void OnExtensionIDChanged();
  1469. partial void OnMUSERChanging(string value);
  1470. partial void OnMUSERChanged();
  1471. partial void OnMUSERNameChanging(string value);
  1472. partial void OnMUSERNameChanged();
  1473. partial void OnMTIMEChanging(System.DateTime value);
  1474. partial void OnMTIMEChanged();
  1475. partial void OnWorkPointChanging(string value);
  1476. partial void OnWorkPointChanged();
  1477. partial void OnEATTRIBUTEChanging(string value);
  1478. partial void OnEATTRIBUTEChanged();
  1479. #endregion
  1480. public ICSOApply()
  1481. {
  1482. OnCreated();
  1483. }
  1484. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  1485. public string ID
  1486. {
  1487. get
  1488. {
  1489. return this._ID;
  1490. }
  1491. set
  1492. {
  1493. if ((this._ID != value))
  1494. {
  1495. this.OnIDChanging(value);
  1496. this.SendPropertyChanging();
  1497. this._ID = value;
  1498. this.SendPropertyChanged("ID");
  1499. this.OnIDChanged();
  1500. }
  1501. }
  1502. }
  1503. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1504. public string ApplyCode
  1505. {
  1506. get
  1507. {
  1508. return this._ApplyCode;
  1509. }
  1510. set
  1511. {
  1512. if ((this._ApplyCode != value))
  1513. {
  1514. this.OnApplyCodeChanging(value);
  1515. this.SendPropertyChanging();
  1516. this._ApplyCode = value;
  1517. this.SendPropertyChanged("ApplyCode");
  1518. this.OnApplyCodeChanged();
  1519. }
  1520. }
  1521. }
  1522. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1523. public string Sequence
  1524. {
  1525. get
  1526. {
  1527. return this._Sequence;
  1528. }
  1529. set
  1530. {
  1531. if ((this._Sequence != value))
  1532. {
  1533. this.OnSequenceChanging(value);
  1534. this.SendPropertyChanging();
  1535. this._Sequence = value;
  1536. this.SendPropertyChanged("Sequence");
  1537. this.OnSequenceChanged();
  1538. }
  1539. }
  1540. }
  1541. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceCode", DbType="NVarChar(50)")]
  1542. public string SourceCode
  1543. {
  1544. get
  1545. {
  1546. return this._SourceCode;
  1547. }
  1548. set
  1549. {
  1550. if ((this._SourceCode != value))
  1551. {
  1552. this.OnSourceCodeChanging(value);
  1553. this.SendPropertyChanging();
  1554. this._SourceCode = value;
  1555. this.SendPropertyChanged("SourceCode");
  1556. this.OnSourceCodeChanged();
  1557. }
  1558. }
  1559. }
  1560. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceSequence", DbType="NVarChar(50)")]
  1561. public string SourceSequence
  1562. {
  1563. get
  1564. {
  1565. return this._SourceSequence;
  1566. }
  1567. set
  1568. {
  1569. if ((this._SourceSequence != value))
  1570. {
  1571. this.OnSourceSequenceChanging(value);
  1572. this.SendPropertyChanging();
  1573. this._SourceSequence = value;
  1574. this.SendPropertyChanged("SourceSequence");
  1575. this.OnSourceSequenceChanged();
  1576. }
  1577. }
  1578. }
  1579. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1580. public string InvCode
  1581. {
  1582. get
  1583. {
  1584. return this._InvCode;
  1585. }
  1586. set
  1587. {
  1588. if ((this._InvCode != value))
  1589. {
  1590. this.OnInvCodeChanging(value);
  1591. this.SendPropertyChanging();
  1592. this._InvCode = value;
  1593. this.SendPropertyChanged("InvCode");
  1594. this.OnInvCodeChanged();
  1595. }
  1596. }
  1597. }
  1598. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
  1599. public decimal Quantity
  1600. {
  1601. get
  1602. {
  1603. return this._Quantity;
  1604. }
  1605. set
  1606. {
  1607. if ((this._Quantity != value))
  1608. {
  1609. this.OnQuantityChanging(value);
  1610. this.SendPropertyChanging();
  1611. this._Quantity = value;
  1612. this.SendPropertyChanged("Quantity");
  1613. this.OnQuantityChanged();
  1614. }
  1615. }
  1616. }
  1617. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  1618. public System.Nullable<decimal> Amount
  1619. {
  1620. get
  1621. {
  1622. return this._Amount;
  1623. }
  1624. set
  1625. {
  1626. if ((this._Amount != value))
  1627. {
  1628. this.OnAmountChanging(value);
  1629. this.SendPropertyChanging();
  1630. this._Amount = value;
  1631. this.SendPropertyChanged("Amount");
  1632. this.OnAmountChanged();
  1633. }
  1634. }
  1635. }
  1636. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IssueQuantity", DbType="Decimal(18,6)")]
  1637. public System.Nullable<decimal> IssueQuantity
  1638. {
  1639. get
  1640. {
  1641. return this._IssueQuantity;
  1642. }
  1643. set
  1644. {
  1645. if ((this._IssueQuantity != value))
  1646. {
  1647. this.OnIssueQuantityChanging(value);
  1648. this.SendPropertyChanging();
  1649. this._IssueQuantity = value;
  1650. this.SendPropertyChanged("IssueQuantity");
  1651. this.OnIssueQuantityChanged();
  1652. }
  1653. }
  1654. }
  1655. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1656. public string WHCode
  1657. {
  1658. get
  1659. {
  1660. return this._WHCode;
  1661. }
  1662. set
  1663. {
  1664. if ((this._WHCode != value))
  1665. {
  1666. this.OnWHCodeChanging(value);
  1667. this.SendPropertyChanging();
  1668. this._WHCode = value;
  1669. this.SendPropertyChanged("WHCode");
  1670. this.OnWHCodeChanged();
  1671. }
  1672. }
  1673. }
  1674. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1675. public string Type
  1676. {
  1677. get
  1678. {
  1679. return this._Type;
  1680. }
  1681. set
  1682. {
  1683. if ((this._Type != value))
  1684. {
  1685. this.OnTypeChanging(value);
  1686. this.SendPropertyChanging();
  1687. this._Type = value;
  1688. this.SendPropertyChanged("Type");
  1689. this.OnTypeChanged();
  1690. }
  1691. }
  1692. }
  1693. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1694. public string Status
  1695. {
  1696. get
  1697. {
  1698. return this._Status;
  1699. }
  1700. set
  1701. {
  1702. if ((this._Status != value))
  1703. {
  1704. this.OnStatusChanging(value);
  1705. this.SendPropertyChanging();
  1706. this._Status = value;
  1707. this.SendPropertyChanged("Status");
  1708. this.OnStatusChanged();
  1709. }
  1710. }
  1711. }
  1712. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1713. public string CreatePerson
  1714. {
  1715. get
  1716. {
  1717. return this._CreatePerson;
  1718. }
  1719. set
  1720. {
  1721. if ((this._CreatePerson != value))
  1722. {
  1723. this.OnCreatePersonChanging(value);
  1724. this.SendPropertyChanging();
  1725. this._CreatePerson = value;
  1726. this.SendPropertyChanged("CreatePerson");
  1727. this.OnCreatePersonChanged();
  1728. }
  1729. }
  1730. }
  1731. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
  1732. public System.DateTime CreateDateTime
  1733. {
  1734. get
  1735. {
  1736. return this._CreateDateTime;
  1737. }
  1738. set
  1739. {
  1740. if ((this._CreateDateTime != value))
  1741. {
  1742. this.OnCreateDateTimeChanging(value);
  1743. this.SendPropertyChanging();
  1744. this._CreateDateTime = value;
  1745. this.SendPropertyChanged("CreateDateTime");
  1746. this.OnCreateDateTimeChanged();
  1747. }
  1748. }
  1749. }
  1750. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1751. public string ApplyID
  1752. {
  1753. get
  1754. {
  1755. return this._ApplyID;
  1756. }
  1757. set
  1758. {
  1759. if ((this._ApplyID != value))
  1760. {
  1761. this.OnApplyIDChanging(value);
  1762. this.SendPropertyChanging();
  1763. this._ApplyID = value;
  1764. this.SendPropertyChanged("ApplyID");
  1765. this.OnApplyIDChanged();
  1766. }
  1767. }
  1768. }
  1769. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyDetailID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1770. public string ApplyDetailID
  1771. {
  1772. get
  1773. {
  1774. return this._ApplyDetailID;
  1775. }
  1776. set
  1777. {
  1778. if ((this._ApplyDetailID != value))
  1779. {
  1780. this.OnApplyDetailIDChanging(value);
  1781. this.SendPropertyChanging();
  1782. this._ApplyDetailID = value;
  1783. this.SendPropertyChanged("ApplyDetailID");
  1784. this.OnApplyDetailIDChanged();
  1785. }
  1786. }
  1787. }
  1788. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1789. public string ExtensionID
  1790. {
  1791. get
  1792. {
  1793. return this._ExtensionID;
  1794. }
  1795. set
  1796. {
  1797. if ((this._ExtensionID != value))
  1798. {
  1799. this.OnExtensionIDChanging(value);
  1800. this.SendPropertyChanging();
  1801. this._ExtensionID = value;
  1802. this.SendPropertyChanged("ExtensionID");
  1803. this.OnExtensionIDChanged();
  1804. }
  1805. }
  1806. }
  1807. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1808. public string MUSER
  1809. {
  1810. get
  1811. {
  1812. return this._MUSER;
  1813. }
  1814. set
  1815. {
  1816. if ((this._MUSER != value))
  1817. {
  1818. this.OnMUSERChanging(value);
  1819. this.SendPropertyChanging();
  1820. this._MUSER = value;
  1821. this.SendPropertyChanged("MUSER");
  1822. this.OnMUSERChanged();
  1823. }
  1824. }
  1825. }
  1826. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1827. public string MUSERName
  1828. {
  1829. get
  1830. {
  1831. return this._MUSERName;
  1832. }
  1833. set
  1834. {
  1835. if ((this._MUSERName != value))
  1836. {
  1837. this.OnMUSERNameChanging(value);
  1838. this.SendPropertyChanging();
  1839. this._MUSERName = value;
  1840. this.SendPropertyChanged("MUSERName");
  1841. this.OnMUSERNameChanged();
  1842. }
  1843. }
  1844. }
  1845. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  1846. public System.DateTime MTIME
  1847. {
  1848. get
  1849. {
  1850. return this._MTIME;
  1851. }
  1852. set
  1853. {
  1854. if ((this._MTIME != value))
  1855. {
  1856. this.OnMTIMEChanging(value);
  1857. this.SendPropertyChanging();
  1858. this._MTIME = value;
  1859. this.SendPropertyChanged("MTIME");
  1860. this.OnMTIMEChanged();
  1861. }
  1862. }
  1863. }
  1864. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  1865. public string WorkPoint
  1866. {
  1867. get
  1868. {
  1869. return this._WorkPoint;
  1870. }
  1871. set
  1872. {
  1873. if ((this._WorkPoint != value))
  1874. {
  1875. this.OnWorkPointChanging(value);
  1876. this.SendPropertyChanging();
  1877. this._WorkPoint = value;
  1878. this.SendPropertyChanged("WorkPoint");
  1879. this.OnWorkPointChanged();
  1880. }
  1881. }
  1882. }
  1883. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE", DbType="NVarChar(50)")]
  1884. public string EATTRIBUTE
  1885. {
  1886. get
  1887. {
  1888. return this._EATTRIBUTE;
  1889. }
  1890. set
  1891. {
  1892. if ((this._EATTRIBUTE != value))
  1893. {
  1894. this.OnEATTRIBUTEChanging(value);
  1895. this.SendPropertyChanging();
  1896. this._EATTRIBUTE = value;
  1897. this.SendPropertyChanged("EATTRIBUTE");
  1898. this.OnEATTRIBUTEChanged();
  1899. }
  1900. }
  1901. }
  1902. public event PropertyChangingEventHandler PropertyChanging;
  1903. public event PropertyChangedEventHandler PropertyChanged;
  1904. protected virtual void SendPropertyChanging()
  1905. {
  1906. if ((this.PropertyChanging != null))
  1907. {
  1908. this.PropertyChanging(this, emptyChangingEventArgs);
  1909. }
  1910. }
  1911. protected virtual void SendPropertyChanged(String propertyName)
  1912. {
  1913. if ((this.PropertyChanged != null))
  1914. {
  1915. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  1916. }
  1917. }
  1918. }
  1919. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSMOApply")]
  1920. public partial class ICSMOApply : INotifyPropertyChanging, INotifyPropertyChanged
  1921. {
  1922. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  1923. private string _ID;
  1924. private string _ApplyCode;
  1925. private string _Sequence;
  1926. private string _SourceCode;
  1927. private string _SourceSequence;
  1928. private string _InvCode;
  1929. private decimal _Quantity;
  1930. private System.Nullable<decimal> _Amount;
  1931. private System.Nullable<decimal> _IssueQuantity;
  1932. private string _WHCode;
  1933. private string _Type;
  1934. private string _Status;
  1935. private string _CreatePerson;
  1936. private System.DateTime _CreateDateTime;
  1937. private string _ApplyID;
  1938. private string _ApplyDetailID;
  1939. private string _ExtensionID;
  1940. private string _MUSER;
  1941. private string _MUSERName;
  1942. private System.DateTime _MTIME;
  1943. private string _WorkPoint;
  1944. private string _EATTRIBUTE;
  1945. private string _OrderNumber;
  1946. private System.Nullable<decimal> _Sets;
  1947. private string _OrderInvCode;
  1948. private string _OrderInvDescribe;
  1949. private string _BillType;
  1950. private string _Remarks;
  1951. private string _Desks;
  1952. private string _DispatchNumber;
  1953. private string _DispatcherName;
  1954. private string _ReceiverNumber;
  1955. private string _ReceiverName;
  1956. private string _Urgency;
  1957. private string _NeedDate;
  1958. private string _NeedTime;
  1959. private string _RemarksTerm;
  1960. private string _TextNumber;
  1961. private string _InvDescribe;
  1962. private string _Unit;
  1963. private string _StockIndicator;
  1964. #region 可扩展性方法定义
  1965. partial void OnLoaded();
  1966. partial void OnValidate(System.Data.Linq.ChangeAction action);
  1967. partial void OnCreated();
  1968. partial void OnIDChanging(string value);
  1969. partial void OnIDChanged();
  1970. partial void OnApplyCodeChanging(string value);
  1971. partial void OnApplyCodeChanged();
  1972. partial void OnSequenceChanging(string value);
  1973. partial void OnSequenceChanged();
  1974. partial void OnSourceCodeChanging(string value);
  1975. partial void OnSourceCodeChanged();
  1976. partial void OnSourceSequenceChanging(string value);
  1977. partial void OnSourceSequenceChanged();
  1978. partial void OnInvCodeChanging(string value);
  1979. partial void OnInvCodeChanged();
  1980. partial void OnQuantityChanging(decimal value);
  1981. partial void OnQuantityChanged();
  1982. partial void OnAmountChanging(System.Nullable<decimal> value);
  1983. partial void OnAmountChanged();
  1984. partial void OnIssueQuantityChanging(System.Nullable<decimal> value);
  1985. partial void OnIssueQuantityChanged();
  1986. partial void OnWHCodeChanging(string value);
  1987. partial void OnWHCodeChanged();
  1988. partial void OnTypeChanging(string value);
  1989. partial void OnTypeChanged();
  1990. partial void OnStatusChanging(string value);
  1991. partial void OnStatusChanged();
  1992. partial void OnCreatePersonChanging(string value);
  1993. partial void OnCreatePersonChanged();
  1994. partial void OnCreateDateTimeChanging(System.DateTime value);
  1995. partial void OnCreateDateTimeChanged();
  1996. partial void OnApplyIDChanging(string value);
  1997. partial void OnApplyIDChanged();
  1998. partial void OnApplyDetailIDChanging(string value);
  1999. partial void OnApplyDetailIDChanged();
  2000. partial void OnExtensionIDChanging(string value);
  2001. partial void OnExtensionIDChanged();
  2002. partial void OnMUSERChanging(string value);
  2003. partial void OnMUSERChanged();
  2004. partial void OnMUSERNameChanging(string value);
  2005. partial void OnMUSERNameChanged();
  2006. partial void OnMTIMEChanging(System.DateTime value);
  2007. partial void OnMTIMEChanged();
  2008. partial void OnWorkPointChanging(string value);
  2009. partial void OnWorkPointChanged();
  2010. partial void OnEATTRIBUTEChanging(string value);
  2011. partial void OnEATTRIBUTEChanged();
  2012. partial void OnOrderNumberChanging(string value);
  2013. partial void OnOrderNumberChanged();
  2014. partial void OnSetsChanging(System.Nullable<decimal> value);
  2015. partial void OnSetsChanged();
  2016. partial void OnOrderInvCodeChanging(string value);
  2017. partial void OnOrderInvCodeChanged();
  2018. partial void OnOrderInvDescribeChanging(string value);
  2019. partial void OnOrderInvDescribeChanged();
  2020. partial void OnBillTypeChanging(string value);
  2021. partial void OnBillTypeChanged();
  2022. partial void OnRemarksChanging(string value);
  2023. partial void OnRemarksChanged();
  2024. partial void OnDesksChanging(string value);
  2025. partial void OnDesksChanged();
  2026. partial void OnDispatchNumberChanging(string value);
  2027. partial void OnDispatchNumberChanged();
  2028. partial void OnDispatcherNameChanging(string value);
  2029. partial void OnDispatcherNameChanged();
  2030. partial void OnReceiverNumberChanging(string value);
  2031. partial void OnReceiverNumberChanged();
  2032. partial void OnReceiverNameChanging(string value);
  2033. partial void OnReceiverNameChanged();
  2034. partial void OnUrgencyChanging(string value);
  2035. partial void OnUrgencyChanged();
  2036. partial void OnNeedDateChanging(string value);
  2037. partial void OnNeedDateChanged();
  2038. partial void OnNeedTimeChanging(string value);
  2039. partial void OnNeedTimeChanged();
  2040. partial void OnRemarksTermChanging(string value);
  2041. partial void OnRemarksTermChanged();
  2042. partial void OnTextNumberChanging(string value);
  2043. partial void OnTextNumberChanged();
  2044. partial void OnInvDescribeChanging(string value);
  2045. partial void OnInvDescribeChanged();
  2046. partial void OnUnitChanging(string value);
  2047. partial void OnUnitChanged();
  2048. partial void OnStockIndicatorChanging(string value);
  2049. partial void OnStockIndicatorChanged();
  2050. #endregion
  2051. public ICSMOApply()
  2052. {
  2053. OnCreated();
  2054. }
  2055. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  2056. public string ID
  2057. {
  2058. get
  2059. {
  2060. return this._ID;
  2061. }
  2062. set
  2063. {
  2064. if ((this._ID != value))
  2065. {
  2066. this.OnIDChanging(value);
  2067. this.SendPropertyChanging();
  2068. this._ID = value;
  2069. this.SendPropertyChanged("ID");
  2070. this.OnIDChanged();
  2071. }
  2072. }
  2073. }
  2074. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2075. public string ApplyCode
  2076. {
  2077. get
  2078. {
  2079. return this._ApplyCode;
  2080. }
  2081. set
  2082. {
  2083. if ((this._ApplyCode != value))
  2084. {
  2085. this.OnApplyCodeChanging(value);
  2086. this.SendPropertyChanging();
  2087. this._ApplyCode = value;
  2088. this.SendPropertyChanged("ApplyCode");
  2089. this.OnApplyCodeChanged();
  2090. }
  2091. }
  2092. }
  2093. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2094. public string Sequence
  2095. {
  2096. get
  2097. {
  2098. return this._Sequence;
  2099. }
  2100. set
  2101. {
  2102. if ((this._Sequence != value))
  2103. {
  2104. this.OnSequenceChanging(value);
  2105. this.SendPropertyChanging();
  2106. this._Sequence = value;
  2107. this.SendPropertyChanged("Sequence");
  2108. this.OnSequenceChanged();
  2109. }
  2110. }
  2111. }
  2112. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceCode", DbType="NVarChar(50)")]
  2113. public string SourceCode
  2114. {
  2115. get
  2116. {
  2117. return this._SourceCode;
  2118. }
  2119. set
  2120. {
  2121. if ((this._SourceCode != value))
  2122. {
  2123. this.OnSourceCodeChanging(value);
  2124. this.SendPropertyChanging();
  2125. this._SourceCode = value;
  2126. this.SendPropertyChanged("SourceCode");
  2127. this.OnSourceCodeChanged();
  2128. }
  2129. }
  2130. }
  2131. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceSequence", DbType="NVarChar(50)")]
  2132. public string SourceSequence
  2133. {
  2134. get
  2135. {
  2136. return this._SourceSequence;
  2137. }
  2138. set
  2139. {
  2140. if ((this._SourceSequence != value))
  2141. {
  2142. this.OnSourceSequenceChanging(value);
  2143. this.SendPropertyChanging();
  2144. this._SourceSequence = value;
  2145. this.SendPropertyChanged("SourceSequence");
  2146. this.OnSourceSequenceChanged();
  2147. }
  2148. }
  2149. }
  2150. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2151. public string InvCode
  2152. {
  2153. get
  2154. {
  2155. return this._InvCode;
  2156. }
  2157. set
  2158. {
  2159. if ((this._InvCode != value))
  2160. {
  2161. this.OnInvCodeChanging(value);
  2162. this.SendPropertyChanging();
  2163. this._InvCode = value;
  2164. this.SendPropertyChanged("InvCode");
  2165. this.OnInvCodeChanged();
  2166. }
  2167. }
  2168. }
  2169. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
  2170. public decimal Quantity
  2171. {
  2172. get
  2173. {
  2174. return this._Quantity;
  2175. }
  2176. set
  2177. {
  2178. if ((this._Quantity != value))
  2179. {
  2180. this.OnQuantityChanging(value);
  2181. this.SendPropertyChanging();
  2182. this._Quantity = value;
  2183. this.SendPropertyChanged("Quantity");
  2184. this.OnQuantityChanged();
  2185. }
  2186. }
  2187. }
  2188. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  2189. public System.Nullable<decimal> Amount
  2190. {
  2191. get
  2192. {
  2193. return this._Amount;
  2194. }
  2195. set
  2196. {
  2197. if ((this._Amount != value))
  2198. {
  2199. this.OnAmountChanging(value);
  2200. this.SendPropertyChanging();
  2201. this._Amount = value;
  2202. this.SendPropertyChanged("Amount");
  2203. this.OnAmountChanged();
  2204. }
  2205. }
  2206. }
  2207. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IssueQuantity", DbType="Decimal(18,6)")]
  2208. public System.Nullable<decimal> IssueQuantity
  2209. {
  2210. get
  2211. {
  2212. return this._IssueQuantity;
  2213. }
  2214. set
  2215. {
  2216. if ((this._IssueQuantity != value))
  2217. {
  2218. this.OnIssueQuantityChanging(value);
  2219. this.SendPropertyChanging();
  2220. this._IssueQuantity = value;
  2221. this.SendPropertyChanged("IssueQuantity");
  2222. this.OnIssueQuantityChanged();
  2223. }
  2224. }
  2225. }
  2226. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2227. public string WHCode
  2228. {
  2229. get
  2230. {
  2231. return this._WHCode;
  2232. }
  2233. set
  2234. {
  2235. if ((this._WHCode != value))
  2236. {
  2237. this.OnWHCodeChanging(value);
  2238. this.SendPropertyChanging();
  2239. this._WHCode = value;
  2240. this.SendPropertyChanged("WHCode");
  2241. this.OnWHCodeChanged();
  2242. }
  2243. }
  2244. }
  2245. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2246. public string Type
  2247. {
  2248. get
  2249. {
  2250. return this._Type;
  2251. }
  2252. set
  2253. {
  2254. if ((this._Type != value))
  2255. {
  2256. this.OnTypeChanging(value);
  2257. this.SendPropertyChanging();
  2258. this._Type = value;
  2259. this.SendPropertyChanged("Type");
  2260. this.OnTypeChanged();
  2261. }
  2262. }
  2263. }
  2264. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2265. public string Status
  2266. {
  2267. get
  2268. {
  2269. return this._Status;
  2270. }
  2271. set
  2272. {
  2273. if ((this._Status != value))
  2274. {
  2275. this.OnStatusChanging(value);
  2276. this.SendPropertyChanging();
  2277. this._Status = value;
  2278. this.SendPropertyChanged("Status");
  2279. this.OnStatusChanged();
  2280. }
  2281. }
  2282. }
  2283. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2284. public string CreatePerson
  2285. {
  2286. get
  2287. {
  2288. return this._CreatePerson;
  2289. }
  2290. set
  2291. {
  2292. if ((this._CreatePerson != value))
  2293. {
  2294. this.OnCreatePersonChanging(value);
  2295. this.SendPropertyChanging();
  2296. this._CreatePerson = value;
  2297. this.SendPropertyChanged("CreatePerson");
  2298. this.OnCreatePersonChanged();
  2299. }
  2300. }
  2301. }
  2302. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
  2303. public System.DateTime CreateDateTime
  2304. {
  2305. get
  2306. {
  2307. return this._CreateDateTime;
  2308. }
  2309. set
  2310. {
  2311. if ((this._CreateDateTime != value))
  2312. {
  2313. this.OnCreateDateTimeChanging(value);
  2314. this.SendPropertyChanging();
  2315. this._CreateDateTime = value;
  2316. this.SendPropertyChanged("CreateDateTime");
  2317. this.OnCreateDateTimeChanged();
  2318. }
  2319. }
  2320. }
  2321. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2322. public string ApplyID
  2323. {
  2324. get
  2325. {
  2326. return this._ApplyID;
  2327. }
  2328. set
  2329. {
  2330. if ((this._ApplyID != value))
  2331. {
  2332. this.OnApplyIDChanging(value);
  2333. this.SendPropertyChanging();
  2334. this._ApplyID = value;
  2335. this.SendPropertyChanged("ApplyID");
  2336. this.OnApplyIDChanged();
  2337. }
  2338. }
  2339. }
  2340. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyDetailID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2341. public string ApplyDetailID
  2342. {
  2343. get
  2344. {
  2345. return this._ApplyDetailID;
  2346. }
  2347. set
  2348. {
  2349. if ((this._ApplyDetailID != value))
  2350. {
  2351. this.OnApplyDetailIDChanging(value);
  2352. this.SendPropertyChanging();
  2353. this._ApplyDetailID = value;
  2354. this.SendPropertyChanged("ApplyDetailID");
  2355. this.OnApplyDetailIDChanged();
  2356. }
  2357. }
  2358. }
  2359. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2360. public string ExtensionID
  2361. {
  2362. get
  2363. {
  2364. return this._ExtensionID;
  2365. }
  2366. set
  2367. {
  2368. if ((this._ExtensionID != value))
  2369. {
  2370. this.OnExtensionIDChanging(value);
  2371. this.SendPropertyChanging();
  2372. this._ExtensionID = value;
  2373. this.SendPropertyChanged("ExtensionID");
  2374. this.OnExtensionIDChanged();
  2375. }
  2376. }
  2377. }
  2378. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2379. public string MUSER
  2380. {
  2381. get
  2382. {
  2383. return this._MUSER;
  2384. }
  2385. set
  2386. {
  2387. if ((this._MUSER != value))
  2388. {
  2389. this.OnMUSERChanging(value);
  2390. this.SendPropertyChanging();
  2391. this._MUSER = value;
  2392. this.SendPropertyChanged("MUSER");
  2393. this.OnMUSERChanged();
  2394. }
  2395. }
  2396. }
  2397. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2398. public string MUSERName
  2399. {
  2400. get
  2401. {
  2402. return this._MUSERName;
  2403. }
  2404. set
  2405. {
  2406. if ((this._MUSERName != value))
  2407. {
  2408. this.OnMUSERNameChanging(value);
  2409. this.SendPropertyChanging();
  2410. this._MUSERName = value;
  2411. this.SendPropertyChanged("MUSERName");
  2412. this.OnMUSERNameChanged();
  2413. }
  2414. }
  2415. }
  2416. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  2417. public System.DateTime MTIME
  2418. {
  2419. get
  2420. {
  2421. return this._MTIME;
  2422. }
  2423. set
  2424. {
  2425. if ((this._MTIME != value))
  2426. {
  2427. this.OnMTIMEChanging(value);
  2428. this.SendPropertyChanging();
  2429. this._MTIME = value;
  2430. this.SendPropertyChanged("MTIME");
  2431. this.OnMTIMEChanged();
  2432. }
  2433. }
  2434. }
  2435. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2436. public string WorkPoint
  2437. {
  2438. get
  2439. {
  2440. return this._WorkPoint;
  2441. }
  2442. set
  2443. {
  2444. if ((this._WorkPoint != value))
  2445. {
  2446. this.OnWorkPointChanging(value);
  2447. this.SendPropertyChanging();
  2448. this._WorkPoint = value;
  2449. this.SendPropertyChanged("WorkPoint");
  2450. this.OnWorkPointChanged();
  2451. }
  2452. }
  2453. }
  2454. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE", DbType="NVarChar(50)")]
  2455. public string EATTRIBUTE
  2456. {
  2457. get
  2458. {
  2459. return this._EATTRIBUTE;
  2460. }
  2461. set
  2462. {
  2463. if ((this._EATTRIBUTE != value))
  2464. {
  2465. this.OnEATTRIBUTEChanging(value);
  2466. this.SendPropertyChanging();
  2467. this._EATTRIBUTE = value;
  2468. this.SendPropertyChanged("EATTRIBUTE");
  2469. this.OnEATTRIBUTEChanged();
  2470. }
  2471. }
  2472. }
  2473. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderNumber", DbType="NVarChar(12)")]
  2474. public string OrderNumber
  2475. {
  2476. get
  2477. {
  2478. return this._OrderNumber;
  2479. }
  2480. set
  2481. {
  2482. if ((this._OrderNumber != value))
  2483. {
  2484. this.OnOrderNumberChanging(value);
  2485. this.SendPropertyChanging();
  2486. this._OrderNumber = value;
  2487. this.SendPropertyChanged("OrderNumber");
  2488. this.OnOrderNumberChanged();
  2489. }
  2490. }
  2491. }
  2492. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sets", DbType="Decimal(4,0)")]
  2493. public System.Nullable<decimal> Sets
  2494. {
  2495. get
  2496. {
  2497. return this._Sets;
  2498. }
  2499. set
  2500. {
  2501. if ((this._Sets != value))
  2502. {
  2503. this.OnSetsChanging(value);
  2504. this.SendPropertyChanging();
  2505. this._Sets = value;
  2506. this.SendPropertyChanged("Sets");
  2507. this.OnSetsChanged();
  2508. }
  2509. }
  2510. }
  2511. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderInvCode", DbType="NVarChar(18)")]
  2512. public string OrderInvCode
  2513. {
  2514. get
  2515. {
  2516. return this._OrderInvCode;
  2517. }
  2518. set
  2519. {
  2520. if ((this._OrderInvCode != value))
  2521. {
  2522. this.OnOrderInvCodeChanging(value);
  2523. this.SendPropertyChanging();
  2524. this._OrderInvCode = value;
  2525. this.SendPropertyChanged("OrderInvCode");
  2526. this.OnOrderInvCodeChanged();
  2527. }
  2528. }
  2529. }
  2530. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderInvDescribe", DbType="NVarChar(40)")]
  2531. public string OrderInvDescribe
  2532. {
  2533. get
  2534. {
  2535. return this._OrderInvDescribe;
  2536. }
  2537. set
  2538. {
  2539. if ((this._OrderInvDescribe != value))
  2540. {
  2541. this.OnOrderInvDescribeChanging(value);
  2542. this.SendPropertyChanging();
  2543. this._OrderInvDescribe = value;
  2544. this.SendPropertyChanged("OrderInvDescribe");
  2545. this.OnOrderInvDescribeChanged();
  2546. }
  2547. }
  2548. }
  2549. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BillType", DbType="NVarChar(1)")]
  2550. public string BillType
  2551. {
  2552. get
  2553. {
  2554. return this._BillType;
  2555. }
  2556. set
  2557. {
  2558. if ((this._BillType != value))
  2559. {
  2560. this.OnBillTypeChanging(value);
  2561. this.SendPropertyChanging();
  2562. this._BillType = value;
  2563. this.SendPropertyChanged("BillType");
  2564. this.OnBillTypeChanged();
  2565. }
  2566. }
  2567. }
  2568. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remarks", DbType="NVarChar(40)")]
  2569. public string Remarks
  2570. {
  2571. get
  2572. {
  2573. return this._Remarks;
  2574. }
  2575. set
  2576. {
  2577. if ((this._Remarks != value))
  2578. {
  2579. this.OnRemarksChanging(value);
  2580. this.SendPropertyChanging();
  2581. this._Remarks = value;
  2582. this.SendPropertyChanged("Remarks");
  2583. this.OnRemarksChanged();
  2584. }
  2585. }
  2586. }
  2587. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Desks", DbType="NVarChar(20)")]
  2588. public string Desks
  2589. {
  2590. get
  2591. {
  2592. return this._Desks;
  2593. }
  2594. set
  2595. {
  2596. if ((this._Desks != value))
  2597. {
  2598. this.OnDesksChanging(value);
  2599. this.SendPropertyChanging();
  2600. this._Desks = value;
  2601. this.SendPropertyChanged("Desks");
  2602. this.OnDesksChanged();
  2603. }
  2604. }
  2605. }
  2606. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DispatchNumber", DbType="NVarChar(20)")]
  2607. public string DispatchNumber
  2608. {
  2609. get
  2610. {
  2611. return this._DispatchNumber;
  2612. }
  2613. set
  2614. {
  2615. if ((this._DispatchNumber != value))
  2616. {
  2617. this.OnDispatchNumberChanging(value);
  2618. this.SendPropertyChanging();
  2619. this._DispatchNumber = value;
  2620. this.SendPropertyChanged("DispatchNumber");
  2621. this.OnDispatchNumberChanged();
  2622. }
  2623. }
  2624. }
  2625. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DispatcherName", DbType="NVarChar(20)")]
  2626. public string DispatcherName
  2627. {
  2628. get
  2629. {
  2630. return this._DispatcherName;
  2631. }
  2632. set
  2633. {
  2634. if ((this._DispatcherName != value))
  2635. {
  2636. this.OnDispatcherNameChanging(value);
  2637. this.SendPropertyChanging();
  2638. this._DispatcherName = value;
  2639. this.SendPropertyChanged("DispatcherName");
  2640. this.OnDispatcherNameChanged();
  2641. }
  2642. }
  2643. }
  2644. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceiverNumber", DbType="NVarChar(20)")]
  2645. public string ReceiverNumber
  2646. {
  2647. get
  2648. {
  2649. return this._ReceiverNumber;
  2650. }
  2651. set
  2652. {
  2653. if ((this._ReceiverNumber != value))
  2654. {
  2655. this.OnReceiverNumberChanging(value);
  2656. this.SendPropertyChanging();
  2657. this._ReceiverNumber = value;
  2658. this.SendPropertyChanged("ReceiverNumber");
  2659. this.OnReceiverNumberChanged();
  2660. }
  2661. }
  2662. }
  2663. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceiverName", DbType="NVarChar(20)")]
  2664. public string ReceiverName
  2665. {
  2666. get
  2667. {
  2668. return this._ReceiverName;
  2669. }
  2670. set
  2671. {
  2672. if ((this._ReceiverName != value))
  2673. {
  2674. this.OnReceiverNameChanging(value);
  2675. this.SendPropertyChanging();
  2676. this._ReceiverName = value;
  2677. this.SendPropertyChanged("ReceiverName");
  2678. this.OnReceiverNameChanged();
  2679. }
  2680. }
  2681. }
  2682. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Urgency", DbType="NVarChar(20)")]
  2683. public string Urgency
  2684. {
  2685. get
  2686. {
  2687. return this._Urgency;
  2688. }
  2689. set
  2690. {
  2691. if ((this._Urgency != value))
  2692. {
  2693. this.OnUrgencyChanging(value);
  2694. this.SendPropertyChanging();
  2695. this._Urgency = value;
  2696. this.SendPropertyChanged("Urgency");
  2697. this.OnUrgencyChanged();
  2698. }
  2699. }
  2700. }
  2701. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NeedDate", DbType="NVarChar(20)")]
  2702. public string NeedDate
  2703. {
  2704. get
  2705. {
  2706. return this._NeedDate;
  2707. }
  2708. set
  2709. {
  2710. if ((this._NeedDate != value))
  2711. {
  2712. this.OnNeedDateChanging(value);
  2713. this.SendPropertyChanging();
  2714. this._NeedDate = value;
  2715. this.SendPropertyChanged("NeedDate");
  2716. this.OnNeedDateChanged();
  2717. }
  2718. }
  2719. }
  2720. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NeedTime", DbType="NVarChar(20)")]
  2721. public string NeedTime
  2722. {
  2723. get
  2724. {
  2725. return this._NeedTime;
  2726. }
  2727. set
  2728. {
  2729. if ((this._NeedTime != value))
  2730. {
  2731. this.OnNeedTimeChanging(value);
  2732. this.SendPropertyChanging();
  2733. this._NeedTime = value;
  2734. this.SendPropertyChanged("NeedTime");
  2735. this.OnNeedTimeChanged();
  2736. }
  2737. }
  2738. }
  2739. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RemarksTerm", DbType="NVarChar(120)")]
  2740. public string RemarksTerm
  2741. {
  2742. get
  2743. {
  2744. return this._RemarksTerm;
  2745. }
  2746. set
  2747. {
  2748. if ((this._RemarksTerm != value))
  2749. {
  2750. this.OnRemarksTermChanging(value);
  2751. this.SendPropertyChanging();
  2752. this._RemarksTerm = value;
  2753. this.SendPropertyChanged("RemarksTerm");
  2754. this.OnRemarksTermChanged();
  2755. }
  2756. }
  2757. }
  2758. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TextNumber", DbType="NVarChar(7)")]
  2759. public string TextNumber
  2760. {
  2761. get
  2762. {
  2763. return this._TextNumber;
  2764. }
  2765. set
  2766. {
  2767. if ((this._TextNumber != value))
  2768. {
  2769. this.OnTextNumberChanging(value);
  2770. this.SendPropertyChanging();
  2771. this._TextNumber = value;
  2772. this.SendPropertyChanged("TextNumber");
  2773. this.OnTextNumberChanged();
  2774. }
  2775. }
  2776. }
  2777. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvDescribe", DbType="NVarChar(40)")]
  2778. public string InvDescribe
  2779. {
  2780. get
  2781. {
  2782. return this._InvDescribe;
  2783. }
  2784. set
  2785. {
  2786. if ((this._InvDescribe != value))
  2787. {
  2788. this.OnInvDescribeChanging(value);
  2789. this.SendPropertyChanging();
  2790. this._InvDescribe = value;
  2791. this.SendPropertyChanged("InvDescribe");
  2792. this.OnInvDescribeChanged();
  2793. }
  2794. }
  2795. }
  2796. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Unit", DbType="NVarChar(50)")]
  2797. public string Unit
  2798. {
  2799. get
  2800. {
  2801. return this._Unit;
  2802. }
  2803. set
  2804. {
  2805. if ((this._Unit != value))
  2806. {
  2807. this.OnUnitChanging(value);
  2808. this.SendPropertyChanging();
  2809. this._Unit = value;
  2810. this.SendPropertyChanged("Unit");
  2811. this.OnUnitChanged();
  2812. }
  2813. }
  2814. }
  2815. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StockIndicator", DbType="NVarChar(1)")]
  2816. public string StockIndicator
  2817. {
  2818. get
  2819. {
  2820. return this._StockIndicator;
  2821. }
  2822. set
  2823. {
  2824. if ((this._StockIndicator != value))
  2825. {
  2826. this.OnStockIndicatorChanging(value);
  2827. this.SendPropertyChanging();
  2828. this._StockIndicator = value;
  2829. this.SendPropertyChanged("StockIndicator");
  2830. this.OnStockIndicatorChanged();
  2831. }
  2832. }
  2833. }
  2834. public event PropertyChangingEventHandler PropertyChanging;
  2835. public event PropertyChangedEventHandler PropertyChanged;
  2836. protected virtual void SendPropertyChanging()
  2837. {
  2838. if ((this.PropertyChanging != null))
  2839. {
  2840. this.PropertyChanging(this, emptyChangingEventArgs);
  2841. }
  2842. }
  2843. protected virtual void SendPropertyChanged(String propertyName)
  2844. {
  2845. if ((this.PropertyChanged != null))
  2846. {
  2847. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  2848. }
  2849. }
  2850. }
  2851. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSMOApplyNeg")]
  2852. public partial class ICSMOApplyNeg : INotifyPropertyChanging, INotifyPropertyChanged
  2853. {
  2854. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  2855. private string _ID;
  2856. private string _ApplyNegCode;
  2857. private string _Status;
  2858. private string _Type;
  2859. private string _Memo;
  2860. private string _CreatePerson;
  2861. private System.DateTime _CreateDateTime;
  2862. private string _MUSER;
  2863. private string _MUSERName;
  2864. private System.DateTime _MTIME;
  2865. private string _WorkPoint;
  2866. private string _EATTRIBUTE1;
  2867. #region 可扩展性方法定义
  2868. partial void OnLoaded();
  2869. partial void OnValidate(System.Data.Linq.ChangeAction action);
  2870. partial void OnCreated();
  2871. partial void OnIDChanging(string value);
  2872. partial void OnIDChanged();
  2873. partial void OnApplyNegCodeChanging(string value);
  2874. partial void OnApplyNegCodeChanged();
  2875. partial void OnStatusChanging(string value);
  2876. partial void OnStatusChanged();
  2877. partial void OnTypeChanging(string value);
  2878. partial void OnTypeChanged();
  2879. partial void OnMemoChanging(string value);
  2880. partial void OnMemoChanged();
  2881. partial void OnCreatePersonChanging(string value);
  2882. partial void OnCreatePersonChanged();
  2883. partial void OnCreateDateTimeChanging(System.DateTime value);
  2884. partial void OnCreateDateTimeChanged();
  2885. partial void OnMUSERChanging(string value);
  2886. partial void OnMUSERChanged();
  2887. partial void OnMUSERNameChanging(string value);
  2888. partial void OnMUSERNameChanged();
  2889. partial void OnMTIMEChanging(System.DateTime value);
  2890. partial void OnMTIMEChanged();
  2891. partial void OnWorkPointChanging(string value);
  2892. partial void OnWorkPointChanged();
  2893. partial void OnEATTRIBUTE1Changing(string value);
  2894. partial void OnEATTRIBUTE1Changed();
  2895. #endregion
  2896. public ICSMOApplyNeg()
  2897. {
  2898. OnCreated();
  2899. }
  2900. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2901. public string ID
  2902. {
  2903. get
  2904. {
  2905. return this._ID;
  2906. }
  2907. set
  2908. {
  2909. if ((this._ID != value))
  2910. {
  2911. this.OnIDChanging(value);
  2912. this.SendPropertyChanging();
  2913. this._ID = value;
  2914. this.SendPropertyChanged("ID");
  2915. this.OnIDChanged();
  2916. }
  2917. }
  2918. }
  2919. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyNegCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  2920. public string ApplyNegCode
  2921. {
  2922. get
  2923. {
  2924. return this._ApplyNegCode;
  2925. }
  2926. set
  2927. {
  2928. if ((this._ApplyNegCode != value))
  2929. {
  2930. this.OnApplyNegCodeChanging(value);
  2931. this.SendPropertyChanging();
  2932. this._ApplyNegCode = value;
  2933. this.SendPropertyChanged("ApplyNegCode");
  2934. this.OnApplyNegCodeChanged();
  2935. }
  2936. }
  2937. }
  2938. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2939. public string Status
  2940. {
  2941. get
  2942. {
  2943. return this._Status;
  2944. }
  2945. set
  2946. {
  2947. if ((this._Status != value))
  2948. {
  2949. this.OnStatusChanging(value);
  2950. this.SendPropertyChanging();
  2951. this._Status = value;
  2952. this.SendPropertyChanged("Status");
  2953. this.OnStatusChanged();
  2954. }
  2955. }
  2956. }
  2957. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2958. public string Type
  2959. {
  2960. get
  2961. {
  2962. return this._Type;
  2963. }
  2964. set
  2965. {
  2966. if ((this._Type != value))
  2967. {
  2968. this.OnTypeChanging(value);
  2969. this.SendPropertyChanging();
  2970. this._Type = value;
  2971. this.SendPropertyChanged("Type");
  2972. this.OnTypeChanged();
  2973. }
  2974. }
  2975. }
  2976. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Memo", DbType="NVarChar(1000)")]
  2977. public string Memo
  2978. {
  2979. get
  2980. {
  2981. return this._Memo;
  2982. }
  2983. set
  2984. {
  2985. if ((this._Memo != value))
  2986. {
  2987. this.OnMemoChanging(value);
  2988. this.SendPropertyChanging();
  2989. this._Memo = value;
  2990. this.SendPropertyChanged("Memo");
  2991. this.OnMemoChanged();
  2992. }
  2993. }
  2994. }
  2995. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2996. public string CreatePerson
  2997. {
  2998. get
  2999. {
  3000. return this._CreatePerson;
  3001. }
  3002. set
  3003. {
  3004. if ((this._CreatePerson != value))
  3005. {
  3006. this.OnCreatePersonChanging(value);
  3007. this.SendPropertyChanging();
  3008. this._CreatePerson = value;
  3009. this.SendPropertyChanged("CreatePerson");
  3010. this.OnCreatePersonChanged();
  3011. }
  3012. }
  3013. }
  3014. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
  3015. public System.DateTime CreateDateTime
  3016. {
  3017. get
  3018. {
  3019. return this._CreateDateTime;
  3020. }
  3021. set
  3022. {
  3023. if ((this._CreateDateTime != value))
  3024. {
  3025. this.OnCreateDateTimeChanging(value);
  3026. this.SendPropertyChanging();
  3027. this._CreateDateTime = value;
  3028. this.SendPropertyChanged("CreateDateTime");
  3029. this.OnCreateDateTimeChanged();
  3030. }
  3031. }
  3032. }
  3033. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3034. public string MUSER
  3035. {
  3036. get
  3037. {
  3038. return this._MUSER;
  3039. }
  3040. set
  3041. {
  3042. if ((this._MUSER != value))
  3043. {
  3044. this.OnMUSERChanging(value);
  3045. this.SendPropertyChanging();
  3046. this._MUSER = value;
  3047. this.SendPropertyChanged("MUSER");
  3048. this.OnMUSERChanged();
  3049. }
  3050. }
  3051. }
  3052. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3053. public string MUSERName
  3054. {
  3055. get
  3056. {
  3057. return this._MUSERName;
  3058. }
  3059. set
  3060. {
  3061. if ((this._MUSERName != value))
  3062. {
  3063. this.OnMUSERNameChanging(value);
  3064. this.SendPropertyChanging();
  3065. this._MUSERName = value;
  3066. this.SendPropertyChanged("MUSERName");
  3067. this.OnMUSERNameChanged();
  3068. }
  3069. }
  3070. }
  3071. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  3072. public System.DateTime MTIME
  3073. {
  3074. get
  3075. {
  3076. return this._MTIME;
  3077. }
  3078. set
  3079. {
  3080. if ((this._MTIME != value))
  3081. {
  3082. this.OnMTIMEChanging(value);
  3083. this.SendPropertyChanging();
  3084. this._MTIME = value;
  3085. this.SendPropertyChanged("MTIME");
  3086. this.OnMTIMEChanged();
  3087. }
  3088. }
  3089. }
  3090. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3091. public string WorkPoint
  3092. {
  3093. get
  3094. {
  3095. return this._WorkPoint;
  3096. }
  3097. set
  3098. {
  3099. if ((this._WorkPoint != value))
  3100. {
  3101. this.OnWorkPointChanging(value);
  3102. this.SendPropertyChanging();
  3103. this._WorkPoint = value;
  3104. this.SendPropertyChanged("WorkPoint");
  3105. this.OnWorkPointChanged();
  3106. }
  3107. }
  3108. }
  3109. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  3110. public string EATTRIBUTE1
  3111. {
  3112. get
  3113. {
  3114. return this._EATTRIBUTE1;
  3115. }
  3116. set
  3117. {
  3118. if ((this._EATTRIBUTE1 != value))
  3119. {
  3120. this.OnEATTRIBUTE1Changing(value);
  3121. this.SendPropertyChanging();
  3122. this._EATTRIBUTE1 = value;
  3123. this.SendPropertyChanged("EATTRIBUTE1");
  3124. this.OnEATTRIBUTE1Changed();
  3125. }
  3126. }
  3127. }
  3128. public event PropertyChangingEventHandler PropertyChanging;
  3129. public event PropertyChangedEventHandler PropertyChanged;
  3130. protected virtual void SendPropertyChanging()
  3131. {
  3132. if ((this.PropertyChanging != null))
  3133. {
  3134. this.PropertyChanging(this, emptyChangingEventArgs);
  3135. }
  3136. }
  3137. protected virtual void SendPropertyChanged(String propertyName)
  3138. {
  3139. if ((this.PropertyChanged != null))
  3140. {
  3141. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  3142. }
  3143. }
  3144. }
  3145. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSMOApplyNegDetail")]
  3146. public partial class ICSMOApplyNegDetail : INotifyPropertyChanging, INotifyPropertyChanged
  3147. {
  3148. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  3149. private string _ID;
  3150. private string _ApplyNegCode;
  3151. private string _Sequence;
  3152. private string _SourceDetailID;
  3153. private string _InvCode;
  3154. private string _WHCode;
  3155. private decimal _Quantity;
  3156. private System.Nullable<decimal> _Amount;
  3157. private System.Nullable<decimal> _IssueNegQuantity;
  3158. private string _ExtensionID;
  3159. private string _MUSER;
  3160. private string _MUSERName;
  3161. private System.DateTime _MTIME;
  3162. private string _WorkPoint;
  3163. private string _EATTRIBUTE;
  3164. #region 可扩展性方法定义
  3165. partial void OnLoaded();
  3166. partial void OnValidate(System.Data.Linq.ChangeAction action);
  3167. partial void OnCreated();
  3168. partial void OnIDChanging(string value);
  3169. partial void OnIDChanged();
  3170. partial void OnApplyNegCodeChanging(string value);
  3171. partial void OnApplyNegCodeChanged();
  3172. partial void OnSequenceChanging(string value);
  3173. partial void OnSequenceChanged();
  3174. partial void OnSourceDetailIDChanging(string value);
  3175. partial void OnSourceDetailIDChanged();
  3176. partial void OnInvCodeChanging(string value);
  3177. partial void OnInvCodeChanged();
  3178. partial void OnWHCodeChanging(string value);
  3179. partial void OnWHCodeChanged();
  3180. partial void OnQuantityChanging(decimal value);
  3181. partial void OnQuantityChanged();
  3182. partial void OnAmountChanging(System.Nullable<decimal> value);
  3183. partial void OnAmountChanged();
  3184. partial void OnIssueNegQuantityChanging(System.Nullable<decimal> value);
  3185. partial void OnIssueNegQuantityChanged();
  3186. partial void OnExtensionIDChanging(string value);
  3187. partial void OnExtensionIDChanged();
  3188. partial void OnMUSERChanging(string value);
  3189. partial void OnMUSERChanged();
  3190. partial void OnMUSERNameChanging(string value);
  3191. partial void OnMUSERNameChanged();
  3192. partial void OnMTIMEChanging(System.DateTime value);
  3193. partial void OnMTIMEChanged();
  3194. partial void OnWorkPointChanging(string value);
  3195. partial void OnWorkPointChanged();
  3196. partial void OnEATTRIBUTEChanging(string value);
  3197. partial void OnEATTRIBUTEChanged();
  3198. #endregion
  3199. public ICSMOApplyNegDetail()
  3200. {
  3201. OnCreated();
  3202. }
  3203. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  3204. public string ID
  3205. {
  3206. get
  3207. {
  3208. return this._ID;
  3209. }
  3210. set
  3211. {
  3212. if ((this._ID != value))
  3213. {
  3214. this.OnIDChanging(value);
  3215. this.SendPropertyChanging();
  3216. this._ID = value;
  3217. this.SendPropertyChanged("ID");
  3218. this.OnIDChanged();
  3219. }
  3220. }
  3221. }
  3222. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyNegCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3223. public string ApplyNegCode
  3224. {
  3225. get
  3226. {
  3227. return this._ApplyNegCode;
  3228. }
  3229. set
  3230. {
  3231. if ((this._ApplyNegCode != value))
  3232. {
  3233. this.OnApplyNegCodeChanging(value);
  3234. this.SendPropertyChanging();
  3235. this._ApplyNegCode = value;
  3236. this.SendPropertyChanged("ApplyNegCode");
  3237. this.OnApplyNegCodeChanged();
  3238. }
  3239. }
  3240. }
  3241. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3242. public string Sequence
  3243. {
  3244. get
  3245. {
  3246. return this._Sequence;
  3247. }
  3248. set
  3249. {
  3250. if ((this._Sequence != value))
  3251. {
  3252. this.OnSequenceChanging(value);
  3253. this.SendPropertyChanging();
  3254. this._Sequence = value;
  3255. this.SendPropertyChanged("Sequence");
  3256. this.OnSequenceChanged();
  3257. }
  3258. }
  3259. }
  3260. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceDetailID", DbType="NVarChar(50)")]
  3261. public string SourceDetailID
  3262. {
  3263. get
  3264. {
  3265. return this._SourceDetailID;
  3266. }
  3267. set
  3268. {
  3269. if ((this._SourceDetailID != value))
  3270. {
  3271. this.OnSourceDetailIDChanging(value);
  3272. this.SendPropertyChanging();
  3273. this._SourceDetailID = value;
  3274. this.SendPropertyChanged("SourceDetailID");
  3275. this.OnSourceDetailIDChanged();
  3276. }
  3277. }
  3278. }
  3279. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3280. public string InvCode
  3281. {
  3282. get
  3283. {
  3284. return this._InvCode;
  3285. }
  3286. set
  3287. {
  3288. if ((this._InvCode != value))
  3289. {
  3290. this.OnInvCodeChanging(value);
  3291. this.SendPropertyChanging();
  3292. this._InvCode = value;
  3293. this.SendPropertyChanged("InvCode");
  3294. this.OnInvCodeChanged();
  3295. }
  3296. }
  3297. }
  3298. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50)")]
  3299. public string WHCode
  3300. {
  3301. get
  3302. {
  3303. return this._WHCode;
  3304. }
  3305. set
  3306. {
  3307. if ((this._WHCode != value))
  3308. {
  3309. this.OnWHCodeChanging(value);
  3310. this.SendPropertyChanging();
  3311. this._WHCode = value;
  3312. this.SendPropertyChanged("WHCode");
  3313. this.OnWHCodeChanged();
  3314. }
  3315. }
  3316. }
  3317. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
  3318. public decimal Quantity
  3319. {
  3320. get
  3321. {
  3322. return this._Quantity;
  3323. }
  3324. set
  3325. {
  3326. if ((this._Quantity != value))
  3327. {
  3328. this.OnQuantityChanging(value);
  3329. this.SendPropertyChanging();
  3330. this._Quantity = value;
  3331. this.SendPropertyChanged("Quantity");
  3332. this.OnQuantityChanged();
  3333. }
  3334. }
  3335. }
  3336. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  3337. public System.Nullable<decimal> Amount
  3338. {
  3339. get
  3340. {
  3341. return this._Amount;
  3342. }
  3343. set
  3344. {
  3345. if ((this._Amount != value))
  3346. {
  3347. this.OnAmountChanging(value);
  3348. this.SendPropertyChanging();
  3349. this._Amount = value;
  3350. this.SendPropertyChanged("Amount");
  3351. this.OnAmountChanged();
  3352. }
  3353. }
  3354. }
  3355. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IssueNegQuantity", DbType="Decimal(18,6)")]
  3356. public System.Nullable<decimal> IssueNegQuantity
  3357. {
  3358. get
  3359. {
  3360. return this._IssueNegQuantity;
  3361. }
  3362. set
  3363. {
  3364. if ((this._IssueNegQuantity != value))
  3365. {
  3366. this.OnIssueNegQuantityChanging(value);
  3367. this.SendPropertyChanging();
  3368. this._IssueNegQuantity = value;
  3369. this.SendPropertyChanged("IssueNegQuantity");
  3370. this.OnIssueNegQuantityChanged();
  3371. }
  3372. }
  3373. }
  3374. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3375. public string ExtensionID
  3376. {
  3377. get
  3378. {
  3379. return this._ExtensionID;
  3380. }
  3381. set
  3382. {
  3383. if ((this._ExtensionID != value))
  3384. {
  3385. this.OnExtensionIDChanging(value);
  3386. this.SendPropertyChanging();
  3387. this._ExtensionID = value;
  3388. this.SendPropertyChanged("ExtensionID");
  3389. this.OnExtensionIDChanged();
  3390. }
  3391. }
  3392. }
  3393. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3394. public string MUSER
  3395. {
  3396. get
  3397. {
  3398. return this._MUSER;
  3399. }
  3400. set
  3401. {
  3402. if ((this._MUSER != value))
  3403. {
  3404. this.OnMUSERChanging(value);
  3405. this.SendPropertyChanging();
  3406. this._MUSER = value;
  3407. this.SendPropertyChanged("MUSER");
  3408. this.OnMUSERChanged();
  3409. }
  3410. }
  3411. }
  3412. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3413. public string MUSERName
  3414. {
  3415. get
  3416. {
  3417. return this._MUSERName;
  3418. }
  3419. set
  3420. {
  3421. if ((this._MUSERName != value))
  3422. {
  3423. this.OnMUSERNameChanging(value);
  3424. this.SendPropertyChanging();
  3425. this._MUSERName = value;
  3426. this.SendPropertyChanged("MUSERName");
  3427. this.OnMUSERNameChanged();
  3428. }
  3429. }
  3430. }
  3431. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  3432. public System.DateTime MTIME
  3433. {
  3434. get
  3435. {
  3436. return this._MTIME;
  3437. }
  3438. set
  3439. {
  3440. if ((this._MTIME != value))
  3441. {
  3442. this.OnMTIMEChanging(value);
  3443. this.SendPropertyChanging();
  3444. this._MTIME = value;
  3445. this.SendPropertyChanged("MTIME");
  3446. this.OnMTIMEChanged();
  3447. }
  3448. }
  3449. }
  3450. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3451. public string WorkPoint
  3452. {
  3453. get
  3454. {
  3455. return this._WorkPoint;
  3456. }
  3457. set
  3458. {
  3459. if ((this._WorkPoint != value))
  3460. {
  3461. this.OnWorkPointChanging(value);
  3462. this.SendPropertyChanging();
  3463. this._WorkPoint = value;
  3464. this.SendPropertyChanged("WorkPoint");
  3465. this.OnWorkPointChanged();
  3466. }
  3467. }
  3468. }
  3469. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE", DbType="NVarChar(50)")]
  3470. public string EATTRIBUTE
  3471. {
  3472. get
  3473. {
  3474. return this._EATTRIBUTE;
  3475. }
  3476. set
  3477. {
  3478. if ((this._EATTRIBUTE != value))
  3479. {
  3480. this.OnEATTRIBUTEChanging(value);
  3481. this.SendPropertyChanging();
  3482. this._EATTRIBUTE = value;
  3483. this.SendPropertyChanged("EATTRIBUTE");
  3484. this.OnEATTRIBUTEChanged();
  3485. }
  3486. }
  3487. }
  3488. public event PropertyChangingEventHandler PropertyChanging;
  3489. public event PropertyChangedEventHandler PropertyChanged;
  3490. protected virtual void SendPropertyChanging()
  3491. {
  3492. if ((this.PropertyChanging != null))
  3493. {
  3494. this.PropertyChanging(this, emptyChangingEventArgs);
  3495. }
  3496. }
  3497. protected virtual void SendPropertyChanged(String propertyName)
  3498. {
  3499. if ((this.PropertyChanged != null))
  3500. {
  3501. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  3502. }
  3503. }
  3504. }
  3505. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSTransfer")]
  3506. public partial class ICSTransfer : INotifyPropertyChanging, INotifyPropertyChanged
  3507. {
  3508. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  3509. private string _ID;
  3510. private string _TransferNO;
  3511. private string _Sequence;
  3512. private string _FromWarehouseCode;
  3513. private string _FromLocationCode;
  3514. private string _ToWarehouseCode;
  3515. private string _ToLocationCode;
  3516. private string _Status;
  3517. private string _InvCode;
  3518. private decimal _Quantity;
  3519. private System.Nullable<decimal> _Amount;
  3520. private System.Nullable<decimal> _TransferQuantity;
  3521. private string _Type;
  3522. private string _Memo;
  3523. private string _CreatePerson;
  3524. private System.DateTime _CreateDateTime;
  3525. private string _TransferID;
  3526. private string _TransferDetailID;
  3527. private string _ExtensionID;
  3528. private string _MUSER;
  3529. private string _MUSERName;
  3530. private System.DateTime _MTIME;
  3531. private string _WorkPoint;
  3532. private string _EATTRIBUTE1;
  3533. private string _OrderType;
  3534. private string _TypeDescribe;
  3535. private string _Remarks;
  3536. private string _PersonNumber;
  3537. private string _InvDescribe;
  3538. private string _Unit;
  3539. private string _StockIndicator;
  3540. private string _ReceiveInvCode;
  3541. private string _ReceiveInvDescribe;
  3542. private string _ReceiveStock;
  3543. private string _ReceiveSales;
  3544. private string _ReceiveSequence;
  3545. private string _Remark2;
  3546. #region 可扩展性方法定义
  3547. partial void OnLoaded();
  3548. partial void OnValidate(System.Data.Linq.ChangeAction action);
  3549. partial void OnCreated();
  3550. partial void OnIDChanging(string value);
  3551. partial void OnIDChanged();
  3552. partial void OnTransferNOChanging(string value);
  3553. partial void OnTransferNOChanged();
  3554. partial void OnSequenceChanging(string value);
  3555. partial void OnSequenceChanged();
  3556. partial void OnFromWarehouseCodeChanging(string value);
  3557. partial void OnFromWarehouseCodeChanged();
  3558. partial void OnFromLocationCodeChanging(string value);
  3559. partial void OnFromLocationCodeChanged();
  3560. partial void OnToWarehouseCodeChanging(string value);
  3561. partial void OnToWarehouseCodeChanged();
  3562. partial void OnToLocationCodeChanging(string value);
  3563. partial void OnToLocationCodeChanged();
  3564. partial void OnStatusChanging(string value);
  3565. partial void OnStatusChanged();
  3566. partial void OnInvCodeChanging(string value);
  3567. partial void OnInvCodeChanged();
  3568. partial void OnQuantityChanging(decimal value);
  3569. partial void OnQuantityChanged();
  3570. partial void OnAmountChanging(System.Nullable<decimal> value);
  3571. partial void OnAmountChanged();
  3572. partial void OnTransferQuantityChanging(System.Nullable<decimal> value);
  3573. partial void OnTransferQuantityChanged();
  3574. partial void OnTypeChanging(string value);
  3575. partial void OnTypeChanged();
  3576. partial void OnMemoChanging(string value);
  3577. partial void OnMemoChanged();
  3578. partial void OnCreatePersonChanging(string value);
  3579. partial void OnCreatePersonChanged();
  3580. partial void OnCreateDateTimeChanging(System.DateTime value);
  3581. partial void OnCreateDateTimeChanged();
  3582. partial void OnTransferIDChanging(string value);
  3583. partial void OnTransferIDChanged();
  3584. partial void OnTransferDetailIDChanging(string value);
  3585. partial void OnTransferDetailIDChanged();
  3586. partial void OnExtensionIDChanging(string value);
  3587. partial void OnExtensionIDChanged();
  3588. partial void OnMUSERChanging(string value);
  3589. partial void OnMUSERChanged();
  3590. partial void OnMUSERNameChanging(string value);
  3591. partial void OnMUSERNameChanged();
  3592. partial void OnMTIMEChanging(System.DateTime value);
  3593. partial void OnMTIMEChanged();
  3594. partial void OnWorkPointChanging(string value);
  3595. partial void OnWorkPointChanged();
  3596. partial void OnEATTRIBUTE1Changing(string value);
  3597. partial void OnEATTRIBUTE1Changed();
  3598. partial void OnOrderTypeChanging(string value);
  3599. partial void OnOrderTypeChanged();
  3600. partial void OnTypeDescribeChanging(string value);
  3601. partial void OnTypeDescribeChanged();
  3602. partial void OnRemarksChanging(string value);
  3603. partial void OnRemarksChanged();
  3604. partial void OnPersonNumberChanging(string value);
  3605. partial void OnPersonNumberChanged();
  3606. partial void OnInvDescribeChanging(string value);
  3607. partial void OnInvDescribeChanged();
  3608. partial void OnUnitChanging(string value);
  3609. partial void OnUnitChanged();
  3610. partial void OnStockIndicatorChanging(string value);
  3611. partial void OnStockIndicatorChanged();
  3612. partial void OnReceiveInvCodeChanging(string value);
  3613. partial void OnReceiveInvCodeChanged();
  3614. partial void OnReceiveInvDescribeChanging(string value);
  3615. partial void OnReceiveInvDescribeChanged();
  3616. partial void OnReceiveStockChanging(string value);
  3617. partial void OnReceiveStockChanged();
  3618. partial void OnReceiveSalesChanging(string value);
  3619. partial void OnReceiveSalesChanged();
  3620. partial void OnReceiveSequenceChanging(string value);
  3621. partial void OnReceiveSequenceChanged();
  3622. partial void OnRemark2Changing(string value);
  3623. partial void OnRemark2Changed();
  3624. #endregion
  3625. public ICSTransfer()
  3626. {
  3627. OnCreated();
  3628. }
  3629. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  3630. public string ID
  3631. {
  3632. get
  3633. {
  3634. return this._ID;
  3635. }
  3636. set
  3637. {
  3638. if ((this._ID != value))
  3639. {
  3640. this.OnIDChanging(value);
  3641. this.SendPropertyChanging();
  3642. this._ID = value;
  3643. this.SendPropertyChanged("ID");
  3644. this.OnIDChanged();
  3645. }
  3646. }
  3647. }
  3648. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferNO", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3649. public string TransferNO
  3650. {
  3651. get
  3652. {
  3653. return this._TransferNO;
  3654. }
  3655. set
  3656. {
  3657. if ((this._TransferNO != value))
  3658. {
  3659. this.OnTransferNOChanging(value);
  3660. this.SendPropertyChanging();
  3661. this._TransferNO = value;
  3662. this.SendPropertyChanged("TransferNO");
  3663. this.OnTransferNOChanged();
  3664. }
  3665. }
  3666. }
  3667. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3668. public string Sequence
  3669. {
  3670. get
  3671. {
  3672. return this._Sequence;
  3673. }
  3674. set
  3675. {
  3676. if ((this._Sequence != value))
  3677. {
  3678. this.OnSequenceChanging(value);
  3679. this.SendPropertyChanging();
  3680. this._Sequence = value;
  3681. this.SendPropertyChanged("Sequence");
  3682. this.OnSequenceChanged();
  3683. }
  3684. }
  3685. }
  3686. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FromWarehouseCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3687. public string FromWarehouseCode
  3688. {
  3689. get
  3690. {
  3691. return this._FromWarehouseCode;
  3692. }
  3693. set
  3694. {
  3695. if ((this._FromWarehouseCode != value))
  3696. {
  3697. this.OnFromWarehouseCodeChanging(value);
  3698. this.SendPropertyChanging();
  3699. this._FromWarehouseCode = value;
  3700. this.SendPropertyChanged("FromWarehouseCode");
  3701. this.OnFromWarehouseCodeChanged();
  3702. }
  3703. }
  3704. }
  3705. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FromLocationCode", DbType="NVarChar(50)")]
  3706. public string FromLocationCode
  3707. {
  3708. get
  3709. {
  3710. return this._FromLocationCode;
  3711. }
  3712. set
  3713. {
  3714. if ((this._FromLocationCode != value))
  3715. {
  3716. this.OnFromLocationCodeChanging(value);
  3717. this.SendPropertyChanging();
  3718. this._FromLocationCode = value;
  3719. this.SendPropertyChanged("FromLocationCode");
  3720. this.OnFromLocationCodeChanged();
  3721. }
  3722. }
  3723. }
  3724. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToWarehouseCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3725. public string ToWarehouseCode
  3726. {
  3727. get
  3728. {
  3729. return this._ToWarehouseCode;
  3730. }
  3731. set
  3732. {
  3733. if ((this._ToWarehouseCode != value))
  3734. {
  3735. this.OnToWarehouseCodeChanging(value);
  3736. this.SendPropertyChanging();
  3737. this._ToWarehouseCode = value;
  3738. this.SendPropertyChanged("ToWarehouseCode");
  3739. this.OnToWarehouseCodeChanged();
  3740. }
  3741. }
  3742. }
  3743. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToLocationCode", DbType="NVarChar(50)")]
  3744. public string ToLocationCode
  3745. {
  3746. get
  3747. {
  3748. return this._ToLocationCode;
  3749. }
  3750. set
  3751. {
  3752. if ((this._ToLocationCode != value))
  3753. {
  3754. this.OnToLocationCodeChanging(value);
  3755. this.SendPropertyChanging();
  3756. this._ToLocationCode = value;
  3757. this.SendPropertyChanged("ToLocationCode");
  3758. this.OnToLocationCodeChanged();
  3759. }
  3760. }
  3761. }
  3762. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3763. public string Status
  3764. {
  3765. get
  3766. {
  3767. return this._Status;
  3768. }
  3769. set
  3770. {
  3771. if ((this._Status != value))
  3772. {
  3773. this.OnStatusChanging(value);
  3774. this.SendPropertyChanging();
  3775. this._Status = value;
  3776. this.SendPropertyChanged("Status");
  3777. this.OnStatusChanged();
  3778. }
  3779. }
  3780. }
  3781. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3782. public string InvCode
  3783. {
  3784. get
  3785. {
  3786. return this._InvCode;
  3787. }
  3788. set
  3789. {
  3790. if ((this._InvCode != value))
  3791. {
  3792. this.OnInvCodeChanging(value);
  3793. this.SendPropertyChanging();
  3794. this._InvCode = value;
  3795. this.SendPropertyChanged("InvCode");
  3796. this.OnInvCodeChanged();
  3797. }
  3798. }
  3799. }
  3800. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
  3801. public decimal Quantity
  3802. {
  3803. get
  3804. {
  3805. return this._Quantity;
  3806. }
  3807. set
  3808. {
  3809. if ((this._Quantity != value))
  3810. {
  3811. this.OnQuantityChanging(value);
  3812. this.SendPropertyChanging();
  3813. this._Quantity = value;
  3814. this.SendPropertyChanged("Quantity");
  3815. this.OnQuantityChanged();
  3816. }
  3817. }
  3818. }
  3819. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  3820. public System.Nullable<decimal> Amount
  3821. {
  3822. get
  3823. {
  3824. return this._Amount;
  3825. }
  3826. set
  3827. {
  3828. if ((this._Amount != value))
  3829. {
  3830. this.OnAmountChanging(value);
  3831. this.SendPropertyChanging();
  3832. this._Amount = value;
  3833. this.SendPropertyChanged("Amount");
  3834. this.OnAmountChanged();
  3835. }
  3836. }
  3837. }
  3838. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferQuantity", DbType="Decimal(18,6)")]
  3839. public System.Nullable<decimal> TransferQuantity
  3840. {
  3841. get
  3842. {
  3843. return this._TransferQuantity;
  3844. }
  3845. set
  3846. {
  3847. if ((this._TransferQuantity != value))
  3848. {
  3849. this.OnTransferQuantityChanging(value);
  3850. this.SendPropertyChanging();
  3851. this._TransferQuantity = value;
  3852. this.SendPropertyChanged("TransferQuantity");
  3853. this.OnTransferQuantityChanged();
  3854. }
  3855. }
  3856. }
  3857. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50)")]
  3858. public string Type
  3859. {
  3860. get
  3861. {
  3862. return this._Type;
  3863. }
  3864. set
  3865. {
  3866. if ((this._Type != value))
  3867. {
  3868. this.OnTypeChanging(value);
  3869. this.SendPropertyChanging();
  3870. this._Type = value;
  3871. this.SendPropertyChanged("Type");
  3872. this.OnTypeChanged();
  3873. }
  3874. }
  3875. }
  3876. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Memo", DbType="NVarChar(1000)")]
  3877. public string Memo
  3878. {
  3879. get
  3880. {
  3881. return this._Memo;
  3882. }
  3883. set
  3884. {
  3885. if ((this._Memo != value))
  3886. {
  3887. this.OnMemoChanging(value);
  3888. this.SendPropertyChanging();
  3889. this._Memo = value;
  3890. this.SendPropertyChanged("Memo");
  3891. this.OnMemoChanged();
  3892. }
  3893. }
  3894. }
  3895. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3896. public string CreatePerson
  3897. {
  3898. get
  3899. {
  3900. return this._CreatePerson;
  3901. }
  3902. set
  3903. {
  3904. if ((this._CreatePerson != value))
  3905. {
  3906. this.OnCreatePersonChanging(value);
  3907. this.SendPropertyChanging();
  3908. this._CreatePerson = value;
  3909. this.SendPropertyChanged("CreatePerson");
  3910. this.OnCreatePersonChanged();
  3911. }
  3912. }
  3913. }
  3914. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
  3915. public System.DateTime CreateDateTime
  3916. {
  3917. get
  3918. {
  3919. return this._CreateDateTime;
  3920. }
  3921. set
  3922. {
  3923. if ((this._CreateDateTime != value))
  3924. {
  3925. this.OnCreateDateTimeChanging(value);
  3926. this.SendPropertyChanging();
  3927. this._CreateDateTime = value;
  3928. this.SendPropertyChanged("CreateDateTime");
  3929. this.OnCreateDateTimeChanged();
  3930. }
  3931. }
  3932. }
  3933. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferID", DbType="NVarChar(50)")]
  3934. public string TransferID
  3935. {
  3936. get
  3937. {
  3938. return this._TransferID;
  3939. }
  3940. set
  3941. {
  3942. if ((this._TransferID != value))
  3943. {
  3944. this.OnTransferIDChanging(value);
  3945. this.SendPropertyChanging();
  3946. this._TransferID = value;
  3947. this.SendPropertyChanged("TransferID");
  3948. this.OnTransferIDChanged();
  3949. }
  3950. }
  3951. }
  3952. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferDetailID", DbType="NVarChar(50)")]
  3953. public string TransferDetailID
  3954. {
  3955. get
  3956. {
  3957. return this._TransferDetailID;
  3958. }
  3959. set
  3960. {
  3961. if ((this._TransferDetailID != value))
  3962. {
  3963. this.OnTransferDetailIDChanging(value);
  3964. this.SendPropertyChanging();
  3965. this._TransferDetailID = value;
  3966. this.SendPropertyChanged("TransferDetailID");
  3967. this.OnTransferDetailIDChanged();
  3968. }
  3969. }
  3970. }
  3971. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3972. public string ExtensionID
  3973. {
  3974. get
  3975. {
  3976. return this._ExtensionID;
  3977. }
  3978. set
  3979. {
  3980. if ((this._ExtensionID != value))
  3981. {
  3982. this.OnExtensionIDChanging(value);
  3983. this.SendPropertyChanging();
  3984. this._ExtensionID = value;
  3985. this.SendPropertyChanged("ExtensionID");
  3986. this.OnExtensionIDChanged();
  3987. }
  3988. }
  3989. }
  3990. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3991. public string MUSER
  3992. {
  3993. get
  3994. {
  3995. return this._MUSER;
  3996. }
  3997. set
  3998. {
  3999. if ((this._MUSER != value))
  4000. {
  4001. this.OnMUSERChanging(value);
  4002. this.SendPropertyChanging();
  4003. this._MUSER = value;
  4004. this.SendPropertyChanged("MUSER");
  4005. this.OnMUSERChanged();
  4006. }
  4007. }
  4008. }
  4009. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4010. public string MUSERName
  4011. {
  4012. get
  4013. {
  4014. return this._MUSERName;
  4015. }
  4016. set
  4017. {
  4018. if ((this._MUSERName != value))
  4019. {
  4020. this.OnMUSERNameChanging(value);
  4021. this.SendPropertyChanging();
  4022. this._MUSERName = value;
  4023. this.SendPropertyChanged("MUSERName");
  4024. this.OnMUSERNameChanged();
  4025. }
  4026. }
  4027. }
  4028. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  4029. public System.DateTime MTIME
  4030. {
  4031. get
  4032. {
  4033. return this._MTIME;
  4034. }
  4035. set
  4036. {
  4037. if ((this._MTIME != value))
  4038. {
  4039. this.OnMTIMEChanging(value);
  4040. this.SendPropertyChanging();
  4041. this._MTIME = value;
  4042. this.SendPropertyChanged("MTIME");
  4043. this.OnMTIMEChanged();
  4044. }
  4045. }
  4046. }
  4047. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4048. public string WorkPoint
  4049. {
  4050. get
  4051. {
  4052. return this._WorkPoint;
  4053. }
  4054. set
  4055. {
  4056. if ((this._WorkPoint != value))
  4057. {
  4058. this.OnWorkPointChanging(value);
  4059. this.SendPropertyChanging();
  4060. this._WorkPoint = value;
  4061. this.SendPropertyChanged("WorkPoint");
  4062. this.OnWorkPointChanged();
  4063. }
  4064. }
  4065. }
  4066. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  4067. public string EATTRIBUTE1
  4068. {
  4069. get
  4070. {
  4071. return this._EATTRIBUTE1;
  4072. }
  4073. set
  4074. {
  4075. if ((this._EATTRIBUTE1 != value))
  4076. {
  4077. this.OnEATTRIBUTE1Changing(value);
  4078. this.SendPropertyChanging();
  4079. this._EATTRIBUTE1 = value;
  4080. this.SendPropertyChanged("EATTRIBUTE1");
  4081. this.OnEATTRIBUTE1Changed();
  4082. }
  4083. }
  4084. }
  4085. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderType", DbType="NVarChar(2)")]
  4086. public string OrderType
  4087. {
  4088. get
  4089. {
  4090. return this._OrderType;
  4091. }
  4092. set
  4093. {
  4094. if ((this._OrderType != value))
  4095. {
  4096. this.OnOrderTypeChanging(value);
  4097. this.SendPropertyChanging();
  4098. this._OrderType = value;
  4099. this.SendPropertyChanged("OrderType");
  4100. this.OnOrderTypeChanged();
  4101. }
  4102. }
  4103. }
  4104. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TypeDescribe", DbType="NVarChar(20)")]
  4105. public string TypeDescribe
  4106. {
  4107. get
  4108. {
  4109. return this._TypeDescribe;
  4110. }
  4111. set
  4112. {
  4113. if ((this._TypeDescribe != value))
  4114. {
  4115. this.OnTypeDescribeChanging(value);
  4116. this.SendPropertyChanging();
  4117. this._TypeDescribe = value;
  4118. this.SendPropertyChanged("TypeDescribe");
  4119. this.OnTypeDescribeChanged();
  4120. }
  4121. }
  4122. }
  4123. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remarks", DbType="NVarChar(40)")]
  4124. public string Remarks
  4125. {
  4126. get
  4127. {
  4128. return this._Remarks;
  4129. }
  4130. set
  4131. {
  4132. if ((this._Remarks != value))
  4133. {
  4134. this.OnRemarksChanging(value);
  4135. this.SendPropertyChanging();
  4136. this._Remarks = value;
  4137. this.SendPropertyChanged("Remarks");
  4138. this.OnRemarksChanged();
  4139. }
  4140. }
  4141. }
  4142. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PersonNumber", DbType="NVarChar(10)")]
  4143. public string PersonNumber
  4144. {
  4145. get
  4146. {
  4147. return this._PersonNumber;
  4148. }
  4149. set
  4150. {
  4151. if ((this._PersonNumber != value))
  4152. {
  4153. this.OnPersonNumberChanging(value);
  4154. this.SendPropertyChanging();
  4155. this._PersonNumber = value;
  4156. this.SendPropertyChanged("PersonNumber");
  4157. this.OnPersonNumberChanged();
  4158. }
  4159. }
  4160. }
  4161. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvDescribe", DbType="NVarChar(40)")]
  4162. public string InvDescribe
  4163. {
  4164. get
  4165. {
  4166. return this._InvDescribe;
  4167. }
  4168. set
  4169. {
  4170. if ((this._InvDescribe != value))
  4171. {
  4172. this.OnInvDescribeChanging(value);
  4173. this.SendPropertyChanging();
  4174. this._InvDescribe = value;
  4175. this.SendPropertyChanged("InvDescribe");
  4176. this.OnInvDescribeChanged();
  4177. }
  4178. }
  4179. }
  4180. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Unit", DbType="NVarChar(10)")]
  4181. public string Unit
  4182. {
  4183. get
  4184. {
  4185. return this._Unit;
  4186. }
  4187. set
  4188. {
  4189. if ((this._Unit != value))
  4190. {
  4191. this.OnUnitChanging(value);
  4192. this.SendPropertyChanging();
  4193. this._Unit = value;
  4194. this.SendPropertyChanged("Unit");
  4195. this.OnUnitChanged();
  4196. }
  4197. }
  4198. }
  4199. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StockIndicator", DbType="NVarChar(1)")]
  4200. public string StockIndicator
  4201. {
  4202. get
  4203. {
  4204. return this._StockIndicator;
  4205. }
  4206. set
  4207. {
  4208. if ((this._StockIndicator != value))
  4209. {
  4210. this.OnStockIndicatorChanging(value);
  4211. this.SendPropertyChanging();
  4212. this._StockIndicator = value;
  4213. this.SendPropertyChanged("StockIndicator");
  4214. this.OnStockIndicatorChanged();
  4215. }
  4216. }
  4217. }
  4218. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceiveInvCode", DbType="NVarChar(18)")]
  4219. public string ReceiveInvCode
  4220. {
  4221. get
  4222. {
  4223. return this._ReceiveInvCode;
  4224. }
  4225. set
  4226. {
  4227. if ((this._ReceiveInvCode != value))
  4228. {
  4229. this.OnReceiveInvCodeChanging(value);
  4230. this.SendPropertyChanging();
  4231. this._ReceiveInvCode = value;
  4232. this.SendPropertyChanged("ReceiveInvCode");
  4233. this.OnReceiveInvCodeChanged();
  4234. }
  4235. }
  4236. }
  4237. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceiveInvDescribe", DbType="NVarChar(40)")]
  4238. public string ReceiveInvDescribe
  4239. {
  4240. get
  4241. {
  4242. return this._ReceiveInvDescribe;
  4243. }
  4244. set
  4245. {
  4246. if ((this._ReceiveInvDescribe != value))
  4247. {
  4248. this.OnReceiveInvDescribeChanging(value);
  4249. this.SendPropertyChanging();
  4250. this._ReceiveInvDescribe = value;
  4251. this.SendPropertyChanged("ReceiveInvDescribe");
  4252. this.OnReceiveInvDescribeChanged();
  4253. }
  4254. }
  4255. }
  4256. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceiveStock", DbType="NVarChar(1)")]
  4257. public string ReceiveStock
  4258. {
  4259. get
  4260. {
  4261. return this._ReceiveStock;
  4262. }
  4263. set
  4264. {
  4265. if ((this._ReceiveStock != value))
  4266. {
  4267. this.OnReceiveStockChanging(value);
  4268. this.SendPropertyChanging();
  4269. this._ReceiveStock = value;
  4270. this.SendPropertyChanged("ReceiveStock");
  4271. this.OnReceiveStockChanged();
  4272. }
  4273. }
  4274. }
  4275. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceiveSales", DbType="NVarChar(10)")]
  4276. public string ReceiveSales
  4277. {
  4278. get
  4279. {
  4280. return this._ReceiveSales;
  4281. }
  4282. set
  4283. {
  4284. if ((this._ReceiveSales != value))
  4285. {
  4286. this.OnReceiveSalesChanging(value);
  4287. this.SendPropertyChanging();
  4288. this._ReceiveSales = value;
  4289. this.SendPropertyChanged("ReceiveSales");
  4290. this.OnReceiveSalesChanged();
  4291. }
  4292. }
  4293. }
  4294. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceiveSequence", DbType="NVarChar(10)")]
  4295. public string ReceiveSequence
  4296. {
  4297. get
  4298. {
  4299. return this._ReceiveSequence;
  4300. }
  4301. set
  4302. {
  4303. if ((this._ReceiveSequence != value))
  4304. {
  4305. this.OnReceiveSequenceChanging(value);
  4306. this.SendPropertyChanging();
  4307. this._ReceiveSequence = value;
  4308. this.SendPropertyChanged("ReceiveSequence");
  4309. this.OnReceiveSequenceChanged();
  4310. }
  4311. }
  4312. }
  4313. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark2", DbType="NVarChar(40)")]
  4314. public string Remark2
  4315. {
  4316. get
  4317. {
  4318. return this._Remark2;
  4319. }
  4320. set
  4321. {
  4322. if ((this._Remark2 != value))
  4323. {
  4324. this.OnRemark2Changing(value);
  4325. this.SendPropertyChanging();
  4326. this._Remark2 = value;
  4327. this.SendPropertyChanged("Remark2");
  4328. this.OnRemark2Changed();
  4329. }
  4330. }
  4331. }
  4332. public event PropertyChangingEventHandler PropertyChanging;
  4333. public event PropertyChangedEventHandler PropertyChanged;
  4334. protected virtual void SendPropertyChanging()
  4335. {
  4336. if ((this.PropertyChanging != null))
  4337. {
  4338. this.PropertyChanging(this, emptyChangingEventArgs);
  4339. }
  4340. }
  4341. protected virtual void SendPropertyChanged(String propertyName)
  4342. {
  4343. if ((this.PropertyChanged != null))
  4344. {
  4345. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  4346. }
  4347. }
  4348. }
  4349. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSMTDOC")]
  4350. public partial class ICSMTDOC : INotifyPropertyChanging, INotifyPropertyChanged
  4351. {
  4352. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  4353. private string _ID;
  4354. private string _MTDOCCode;
  4355. private string _DepCode;
  4356. private string _WHCode;
  4357. private string _Sequence;
  4358. private string _INVCode;
  4359. private string _SOCode;
  4360. private string _SOSequence;
  4361. private decimal _Quantity;
  4362. private System.Nullable<decimal> _Amount;
  4363. private System.Nullable<decimal> _MTDOCQuantity;
  4364. private string _MTDOCType;
  4365. private string _Memo;
  4366. private string _Status;
  4367. private string _CreatePerson;
  4368. private System.DateTime _CreateDateTime;
  4369. private string _MTDOCID;
  4370. private string _MTDOCDetailID;
  4371. private string _ExtensionID;
  4372. private string _MUSER;
  4373. private string _MUSERName;
  4374. private System.DateTime _MTIME;
  4375. private string _WorkPoint;
  4376. private string _EATTRIBUTE1;
  4377. #region 可扩展性方法定义
  4378. partial void OnLoaded();
  4379. partial void OnValidate(System.Data.Linq.ChangeAction action);
  4380. partial void OnCreated();
  4381. partial void OnIDChanging(string value);
  4382. partial void OnIDChanged();
  4383. partial void OnMTDOCCodeChanging(string value);
  4384. partial void OnMTDOCCodeChanged();
  4385. partial void OnDepCodeChanging(string value);
  4386. partial void OnDepCodeChanged();
  4387. partial void OnWHCodeChanging(string value);
  4388. partial void OnWHCodeChanged();
  4389. partial void OnSequenceChanging(string value);
  4390. partial void OnSequenceChanged();
  4391. partial void OnINVCodeChanging(string value);
  4392. partial void OnINVCodeChanged();
  4393. partial void OnSOCodeChanging(string value);
  4394. partial void OnSOCodeChanged();
  4395. partial void OnSOSequenceChanging(string value);
  4396. partial void OnSOSequenceChanged();
  4397. partial void OnQuantityChanging(decimal value);
  4398. partial void OnQuantityChanged();
  4399. partial void OnAmountChanging(System.Nullable<decimal> value);
  4400. partial void OnAmountChanged();
  4401. partial void OnMTDOCQuantityChanging(System.Nullable<decimal> value);
  4402. partial void OnMTDOCQuantityChanged();
  4403. partial void OnMTDOCTypeChanging(string value);
  4404. partial void OnMTDOCTypeChanged();
  4405. partial void OnMemoChanging(string value);
  4406. partial void OnMemoChanged();
  4407. partial void OnStatusChanging(string value);
  4408. partial void OnStatusChanged();
  4409. partial void OnCreatePersonChanging(string value);
  4410. partial void OnCreatePersonChanged();
  4411. partial void OnCreateDateTimeChanging(System.DateTime value);
  4412. partial void OnCreateDateTimeChanged();
  4413. partial void OnMTDOCIDChanging(string value);
  4414. partial void OnMTDOCIDChanged();
  4415. partial void OnMTDOCDetailIDChanging(string value);
  4416. partial void OnMTDOCDetailIDChanged();
  4417. partial void OnExtensionIDChanging(string value);
  4418. partial void OnExtensionIDChanged();
  4419. partial void OnMUSERChanging(string value);
  4420. partial void OnMUSERChanged();
  4421. partial void OnMUSERNameChanging(string value);
  4422. partial void OnMUSERNameChanged();
  4423. partial void OnMTIMEChanging(System.DateTime value);
  4424. partial void OnMTIMEChanged();
  4425. partial void OnWorkPointChanging(string value);
  4426. partial void OnWorkPointChanged();
  4427. partial void OnEATTRIBUTE1Changing(string value);
  4428. partial void OnEATTRIBUTE1Changed();
  4429. #endregion
  4430. public ICSMTDOC()
  4431. {
  4432. OnCreated();
  4433. }
  4434. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  4435. public string ID
  4436. {
  4437. get
  4438. {
  4439. return this._ID;
  4440. }
  4441. set
  4442. {
  4443. if ((this._ID != value))
  4444. {
  4445. this.OnIDChanging(value);
  4446. this.SendPropertyChanging();
  4447. this._ID = value;
  4448. this.SendPropertyChanged("ID");
  4449. this.OnIDChanged();
  4450. }
  4451. }
  4452. }
  4453. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTDOCCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4454. public string MTDOCCode
  4455. {
  4456. get
  4457. {
  4458. return this._MTDOCCode;
  4459. }
  4460. set
  4461. {
  4462. if ((this._MTDOCCode != value))
  4463. {
  4464. this.OnMTDOCCodeChanging(value);
  4465. this.SendPropertyChanging();
  4466. this._MTDOCCode = value;
  4467. this.SendPropertyChanged("MTDOCCode");
  4468. this.OnMTDOCCodeChanged();
  4469. }
  4470. }
  4471. }
  4472. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepCode", DbType="NVarChar(50)")]
  4473. public string DepCode
  4474. {
  4475. get
  4476. {
  4477. return this._DepCode;
  4478. }
  4479. set
  4480. {
  4481. if ((this._DepCode != value))
  4482. {
  4483. this.OnDepCodeChanging(value);
  4484. this.SendPropertyChanging();
  4485. this._DepCode = value;
  4486. this.SendPropertyChanged("DepCode");
  4487. this.OnDepCodeChanged();
  4488. }
  4489. }
  4490. }
  4491. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4492. public string WHCode
  4493. {
  4494. get
  4495. {
  4496. return this._WHCode;
  4497. }
  4498. set
  4499. {
  4500. if ((this._WHCode != value))
  4501. {
  4502. this.OnWHCodeChanging(value);
  4503. this.SendPropertyChanging();
  4504. this._WHCode = value;
  4505. this.SendPropertyChanged("WHCode");
  4506. this.OnWHCodeChanged();
  4507. }
  4508. }
  4509. }
  4510. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4511. public string Sequence
  4512. {
  4513. get
  4514. {
  4515. return this._Sequence;
  4516. }
  4517. set
  4518. {
  4519. if ((this._Sequence != value))
  4520. {
  4521. this.OnSequenceChanging(value);
  4522. this.SendPropertyChanging();
  4523. this._Sequence = value;
  4524. this.SendPropertyChanged("Sequence");
  4525. this.OnSequenceChanged();
  4526. }
  4527. }
  4528. }
  4529. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_INVCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4530. public string INVCode
  4531. {
  4532. get
  4533. {
  4534. return this._INVCode;
  4535. }
  4536. set
  4537. {
  4538. if ((this._INVCode != value))
  4539. {
  4540. this.OnINVCodeChanging(value);
  4541. this.SendPropertyChanging();
  4542. this._INVCode = value;
  4543. this.SendPropertyChanged("INVCode");
  4544. this.OnINVCodeChanged();
  4545. }
  4546. }
  4547. }
  4548. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SOCode", DbType="NVarChar(50)")]
  4549. public string SOCode
  4550. {
  4551. get
  4552. {
  4553. return this._SOCode;
  4554. }
  4555. set
  4556. {
  4557. if ((this._SOCode != value))
  4558. {
  4559. this.OnSOCodeChanging(value);
  4560. this.SendPropertyChanging();
  4561. this._SOCode = value;
  4562. this.SendPropertyChanged("SOCode");
  4563. this.OnSOCodeChanged();
  4564. }
  4565. }
  4566. }
  4567. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SOSequence", DbType="NVarChar(50)")]
  4568. public string SOSequence
  4569. {
  4570. get
  4571. {
  4572. return this._SOSequence;
  4573. }
  4574. set
  4575. {
  4576. if ((this._SOSequence != value))
  4577. {
  4578. this.OnSOSequenceChanging(value);
  4579. this.SendPropertyChanging();
  4580. this._SOSequence = value;
  4581. this.SendPropertyChanged("SOSequence");
  4582. this.OnSOSequenceChanged();
  4583. }
  4584. }
  4585. }
  4586. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,3) NOT NULL")]
  4587. public decimal Quantity
  4588. {
  4589. get
  4590. {
  4591. return this._Quantity;
  4592. }
  4593. set
  4594. {
  4595. if ((this._Quantity != value))
  4596. {
  4597. this.OnQuantityChanging(value);
  4598. this.SendPropertyChanging();
  4599. this._Quantity = value;
  4600. this.SendPropertyChanged("Quantity");
  4601. this.OnQuantityChanged();
  4602. }
  4603. }
  4604. }
  4605. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  4606. public System.Nullable<decimal> Amount
  4607. {
  4608. get
  4609. {
  4610. return this._Amount;
  4611. }
  4612. set
  4613. {
  4614. if ((this._Amount != value))
  4615. {
  4616. this.OnAmountChanging(value);
  4617. this.SendPropertyChanging();
  4618. this._Amount = value;
  4619. this.SendPropertyChanged("Amount");
  4620. this.OnAmountChanged();
  4621. }
  4622. }
  4623. }
  4624. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTDOCQuantity", DbType="Decimal(18,2)")]
  4625. public System.Nullable<decimal> MTDOCQuantity
  4626. {
  4627. get
  4628. {
  4629. return this._MTDOCQuantity;
  4630. }
  4631. set
  4632. {
  4633. if ((this._MTDOCQuantity != value))
  4634. {
  4635. this.OnMTDOCQuantityChanging(value);
  4636. this.SendPropertyChanging();
  4637. this._MTDOCQuantity = value;
  4638. this.SendPropertyChanged("MTDOCQuantity");
  4639. this.OnMTDOCQuantityChanged();
  4640. }
  4641. }
  4642. }
  4643. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTDOCType", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4644. public string MTDOCType
  4645. {
  4646. get
  4647. {
  4648. return this._MTDOCType;
  4649. }
  4650. set
  4651. {
  4652. if ((this._MTDOCType != value))
  4653. {
  4654. this.OnMTDOCTypeChanging(value);
  4655. this.SendPropertyChanging();
  4656. this._MTDOCType = value;
  4657. this.SendPropertyChanged("MTDOCType");
  4658. this.OnMTDOCTypeChanged();
  4659. }
  4660. }
  4661. }
  4662. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Memo", DbType="NVarChar(500)")]
  4663. public string Memo
  4664. {
  4665. get
  4666. {
  4667. return this._Memo;
  4668. }
  4669. set
  4670. {
  4671. if ((this._Memo != value))
  4672. {
  4673. this.OnMemoChanging(value);
  4674. this.SendPropertyChanging();
  4675. this._Memo = value;
  4676. this.SendPropertyChanged("Memo");
  4677. this.OnMemoChanged();
  4678. }
  4679. }
  4680. }
  4681. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(10) NOT NULL", CanBeNull=false)]
  4682. public string Status
  4683. {
  4684. get
  4685. {
  4686. return this._Status;
  4687. }
  4688. set
  4689. {
  4690. if ((this._Status != value))
  4691. {
  4692. this.OnStatusChanging(value);
  4693. this.SendPropertyChanging();
  4694. this._Status = value;
  4695. this.SendPropertyChanged("Status");
  4696. this.OnStatusChanged();
  4697. }
  4698. }
  4699. }
  4700. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4701. public string CreatePerson
  4702. {
  4703. get
  4704. {
  4705. return this._CreatePerson;
  4706. }
  4707. set
  4708. {
  4709. if ((this._CreatePerson != value))
  4710. {
  4711. this.OnCreatePersonChanging(value);
  4712. this.SendPropertyChanging();
  4713. this._CreatePerson = value;
  4714. this.SendPropertyChanged("CreatePerson");
  4715. this.OnCreatePersonChanged();
  4716. }
  4717. }
  4718. }
  4719. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
  4720. public System.DateTime CreateDateTime
  4721. {
  4722. get
  4723. {
  4724. return this._CreateDateTime;
  4725. }
  4726. set
  4727. {
  4728. if ((this._CreateDateTime != value))
  4729. {
  4730. this.OnCreateDateTimeChanging(value);
  4731. this.SendPropertyChanging();
  4732. this._CreateDateTime = value;
  4733. this.SendPropertyChanged("CreateDateTime");
  4734. this.OnCreateDateTimeChanged();
  4735. }
  4736. }
  4737. }
  4738. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTDOCID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4739. public string MTDOCID
  4740. {
  4741. get
  4742. {
  4743. return this._MTDOCID;
  4744. }
  4745. set
  4746. {
  4747. if ((this._MTDOCID != value))
  4748. {
  4749. this.OnMTDOCIDChanging(value);
  4750. this.SendPropertyChanging();
  4751. this._MTDOCID = value;
  4752. this.SendPropertyChanged("MTDOCID");
  4753. this.OnMTDOCIDChanged();
  4754. }
  4755. }
  4756. }
  4757. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTDOCDetailID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4758. public string MTDOCDetailID
  4759. {
  4760. get
  4761. {
  4762. return this._MTDOCDetailID;
  4763. }
  4764. set
  4765. {
  4766. if ((this._MTDOCDetailID != value))
  4767. {
  4768. this.OnMTDOCDetailIDChanging(value);
  4769. this.SendPropertyChanging();
  4770. this._MTDOCDetailID = value;
  4771. this.SendPropertyChanged("MTDOCDetailID");
  4772. this.OnMTDOCDetailIDChanged();
  4773. }
  4774. }
  4775. }
  4776. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4777. public string ExtensionID
  4778. {
  4779. get
  4780. {
  4781. return this._ExtensionID;
  4782. }
  4783. set
  4784. {
  4785. if ((this._ExtensionID != value))
  4786. {
  4787. this.OnExtensionIDChanging(value);
  4788. this.SendPropertyChanging();
  4789. this._ExtensionID = value;
  4790. this.SendPropertyChanged("ExtensionID");
  4791. this.OnExtensionIDChanged();
  4792. }
  4793. }
  4794. }
  4795. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4796. public string MUSER
  4797. {
  4798. get
  4799. {
  4800. return this._MUSER;
  4801. }
  4802. set
  4803. {
  4804. if ((this._MUSER != value))
  4805. {
  4806. this.OnMUSERChanging(value);
  4807. this.SendPropertyChanging();
  4808. this._MUSER = value;
  4809. this.SendPropertyChanged("MUSER");
  4810. this.OnMUSERChanged();
  4811. }
  4812. }
  4813. }
  4814. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4815. public string MUSERName
  4816. {
  4817. get
  4818. {
  4819. return this._MUSERName;
  4820. }
  4821. set
  4822. {
  4823. if ((this._MUSERName != value))
  4824. {
  4825. this.OnMUSERNameChanging(value);
  4826. this.SendPropertyChanging();
  4827. this._MUSERName = value;
  4828. this.SendPropertyChanged("MUSERName");
  4829. this.OnMUSERNameChanged();
  4830. }
  4831. }
  4832. }
  4833. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  4834. public System.DateTime MTIME
  4835. {
  4836. get
  4837. {
  4838. return this._MTIME;
  4839. }
  4840. set
  4841. {
  4842. if ((this._MTIME != value))
  4843. {
  4844. this.OnMTIMEChanging(value);
  4845. this.SendPropertyChanging();
  4846. this._MTIME = value;
  4847. this.SendPropertyChanged("MTIME");
  4848. this.OnMTIMEChanged();
  4849. }
  4850. }
  4851. }
  4852. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4853. public string WorkPoint
  4854. {
  4855. get
  4856. {
  4857. return this._WorkPoint;
  4858. }
  4859. set
  4860. {
  4861. if ((this._WorkPoint != value))
  4862. {
  4863. this.OnWorkPointChanging(value);
  4864. this.SendPropertyChanging();
  4865. this._WorkPoint = value;
  4866. this.SendPropertyChanged("WorkPoint");
  4867. this.OnWorkPointChanged();
  4868. }
  4869. }
  4870. }
  4871. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  4872. public string EATTRIBUTE1
  4873. {
  4874. get
  4875. {
  4876. return this._EATTRIBUTE1;
  4877. }
  4878. set
  4879. {
  4880. if ((this._EATTRIBUTE1 != value))
  4881. {
  4882. this.OnEATTRIBUTE1Changing(value);
  4883. this.SendPropertyChanging();
  4884. this._EATTRIBUTE1 = value;
  4885. this.SendPropertyChanged("EATTRIBUTE1");
  4886. this.OnEATTRIBUTE1Changed();
  4887. }
  4888. }
  4889. }
  4890. public event PropertyChangingEventHandler PropertyChanging;
  4891. public event PropertyChangedEventHandler PropertyChanged;
  4892. protected virtual void SendPropertyChanging()
  4893. {
  4894. if ((this.PropertyChanging != null))
  4895. {
  4896. this.PropertyChanging(this, emptyChangingEventArgs);
  4897. }
  4898. }
  4899. protected virtual void SendPropertyChanged(String propertyName)
  4900. {
  4901. if ((this.PropertyChanged != null))
  4902. {
  4903. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  4904. }
  4905. }
  4906. }
  4907. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSManufactureReceive")]
  4908. public partial class ICSManufactureReceive : INotifyPropertyChanging, INotifyPropertyChanged
  4909. {
  4910. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  4911. private string _ID;
  4912. private string _RCVCode;
  4913. private string _Sequence;
  4914. private string _SourceCode;
  4915. private string _SourceSequence;
  4916. private string _InvCode;
  4917. private decimal _Quantity;
  4918. private System.Nullable<decimal> _Amount;
  4919. private System.Nullable<decimal> _RCVQuantity;
  4920. private string _WHCode;
  4921. private string _Type;
  4922. private string _Status;
  4923. private string _CreatePerson;
  4924. private System.DateTime _CreateDateTime;
  4925. private string _RCVID;
  4926. private string _RCVDetailID;
  4927. private string _ExtensionID;
  4928. private string _MUSER;
  4929. private string _MUSERName;
  4930. private System.DateTime _MTIME;
  4931. private string _WorkPoint;
  4932. private string _EATTRIBUTE;
  4933. private string _InvDescribe;
  4934. private string _OrderNumber;
  4935. private string _OrderInvCode;
  4936. private string _OrderInvDescribe;
  4937. private string _BillType;
  4938. private string _Remarks;
  4939. private string _Unit;
  4940. private string _StockIndicator;
  4941. private string _RemarksTerm;
  4942. #region 可扩展性方法定义
  4943. partial void OnLoaded();
  4944. partial void OnValidate(System.Data.Linq.ChangeAction action);
  4945. partial void OnCreated();
  4946. partial void OnIDChanging(string value);
  4947. partial void OnIDChanged();
  4948. partial void OnRCVCodeChanging(string value);
  4949. partial void OnRCVCodeChanged();
  4950. partial void OnSequenceChanging(string value);
  4951. partial void OnSequenceChanged();
  4952. partial void OnSourceCodeChanging(string value);
  4953. partial void OnSourceCodeChanged();
  4954. partial void OnSourceSequenceChanging(string value);
  4955. partial void OnSourceSequenceChanged();
  4956. partial void OnInvCodeChanging(string value);
  4957. partial void OnInvCodeChanged();
  4958. partial void OnQuantityChanging(decimal value);
  4959. partial void OnQuantityChanged();
  4960. partial void OnAmountChanging(System.Nullable<decimal> value);
  4961. partial void OnAmountChanged();
  4962. partial void OnRCVQuantityChanging(System.Nullable<decimal> value);
  4963. partial void OnRCVQuantityChanged();
  4964. partial void OnWHCodeChanging(string value);
  4965. partial void OnWHCodeChanged();
  4966. partial void OnTypeChanging(string value);
  4967. partial void OnTypeChanged();
  4968. partial void OnStatusChanging(string value);
  4969. partial void OnStatusChanged();
  4970. partial void OnCreatePersonChanging(string value);
  4971. partial void OnCreatePersonChanged();
  4972. partial void OnCreateDateTimeChanging(System.DateTime value);
  4973. partial void OnCreateDateTimeChanged();
  4974. partial void OnRCVIDChanging(string value);
  4975. partial void OnRCVIDChanged();
  4976. partial void OnRCVDetailIDChanging(string value);
  4977. partial void OnRCVDetailIDChanged();
  4978. partial void OnExtensionIDChanging(string value);
  4979. partial void OnExtensionIDChanged();
  4980. partial void OnMUSERChanging(string value);
  4981. partial void OnMUSERChanged();
  4982. partial void OnMUSERNameChanging(string value);
  4983. partial void OnMUSERNameChanged();
  4984. partial void OnMTIMEChanging(System.DateTime value);
  4985. partial void OnMTIMEChanged();
  4986. partial void OnWorkPointChanging(string value);
  4987. partial void OnWorkPointChanged();
  4988. partial void OnEATTRIBUTEChanging(string value);
  4989. partial void OnEATTRIBUTEChanged();
  4990. partial void OnInvDescribeChanging(string value);
  4991. partial void OnInvDescribeChanged();
  4992. partial void OnOrderNumberChanging(string value);
  4993. partial void OnOrderNumberChanged();
  4994. partial void OnOrderInvCodeChanging(string value);
  4995. partial void OnOrderInvCodeChanged();
  4996. partial void OnOrderInvDescribeChanging(string value);
  4997. partial void OnOrderInvDescribeChanged();
  4998. partial void OnBillTypeChanging(string value);
  4999. partial void OnBillTypeChanged();
  5000. partial void OnRemarksChanging(string value);
  5001. partial void OnRemarksChanged();
  5002. partial void OnUnitChanging(string value);
  5003. partial void OnUnitChanged();
  5004. partial void OnStockIndicatorChanging(string value);
  5005. partial void OnStockIndicatorChanged();
  5006. partial void OnRemarksTermChanging(string value);
  5007. partial void OnRemarksTermChanged();
  5008. #endregion
  5009. public ICSManufactureReceive()
  5010. {
  5011. OnCreated();
  5012. }
  5013. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  5014. public string ID
  5015. {
  5016. get
  5017. {
  5018. return this._ID;
  5019. }
  5020. set
  5021. {
  5022. if ((this._ID != value))
  5023. {
  5024. this.OnIDChanging(value);
  5025. this.SendPropertyChanging();
  5026. this._ID = value;
  5027. this.SendPropertyChanged("ID");
  5028. this.OnIDChanged();
  5029. }
  5030. }
  5031. }
  5032. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RCVCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5033. public string RCVCode
  5034. {
  5035. get
  5036. {
  5037. return this._RCVCode;
  5038. }
  5039. set
  5040. {
  5041. if ((this._RCVCode != value))
  5042. {
  5043. this.OnRCVCodeChanging(value);
  5044. this.SendPropertyChanging();
  5045. this._RCVCode = value;
  5046. this.SendPropertyChanged("RCVCode");
  5047. this.OnRCVCodeChanged();
  5048. }
  5049. }
  5050. }
  5051. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5052. public string Sequence
  5053. {
  5054. get
  5055. {
  5056. return this._Sequence;
  5057. }
  5058. set
  5059. {
  5060. if ((this._Sequence != value))
  5061. {
  5062. this.OnSequenceChanging(value);
  5063. this.SendPropertyChanging();
  5064. this._Sequence = value;
  5065. this.SendPropertyChanged("Sequence");
  5066. this.OnSequenceChanged();
  5067. }
  5068. }
  5069. }
  5070. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceCode", DbType="NVarChar(50)")]
  5071. public string SourceCode
  5072. {
  5073. get
  5074. {
  5075. return this._SourceCode;
  5076. }
  5077. set
  5078. {
  5079. if ((this._SourceCode != value))
  5080. {
  5081. this.OnSourceCodeChanging(value);
  5082. this.SendPropertyChanging();
  5083. this._SourceCode = value;
  5084. this.SendPropertyChanged("SourceCode");
  5085. this.OnSourceCodeChanged();
  5086. }
  5087. }
  5088. }
  5089. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceSequence", DbType="NVarChar(50)")]
  5090. public string SourceSequence
  5091. {
  5092. get
  5093. {
  5094. return this._SourceSequence;
  5095. }
  5096. set
  5097. {
  5098. if ((this._SourceSequence != value))
  5099. {
  5100. this.OnSourceSequenceChanging(value);
  5101. this.SendPropertyChanging();
  5102. this._SourceSequence = value;
  5103. this.SendPropertyChanged("SourceSequence");
  5104. this.OnSourceSequenceChanged();
  5105. }
  5106. }
  5107. }
  5108. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5109. public string InvCode
  5110. {
  5111. get
  5112. {
  5113. return this._InvCode;
  5114. }
  5115. set
  5116. {
  5117. if ((this._InvCode != value))
  5118. {
  5119. this.OnInvCodeChanging(value);
  5120. this.SendPropertyChanging();
  5121. this._InvCode = value;
  5122. this.SendPropertyChanged("InvCode");
  5123. this.OnInvCodeChanged();
  5124. }
  5125. }
  5126. }
  5127. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
  5128. public decimal Quantity
  5129. {
  5130. get
  5131. {
  5132. return this._Quantity;
  5133. }
  5134. set
  5135. {
  5136. if ((this._Quantity != value))
  5137. {
  5138. this.OnQuantityChanging(value);
  5139. this.SendPropertyChanging();
  5140. this._Quantity = value;
  5141. this.SendPropertyChanged("Quantity");
  5142. this.OnQuantityChanged();
  5143. }
  5144. }
  5145. }
  5146. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  5147. public System.Nullable<decimal> Amount
  5148. {
  5149. get
  5150. {
  5151. return this._Amount;
  5152. }
  5153. set
  5154. {
  5155. if ((this._Amount != value))
  5156. {
  5157. this.OnAmountChanging(value);
  5158. this.SendPropertyChanging();
  5159. this._Amount = value;
  5160. this.SendPropertyChanged("Amount");
  5161. this.OnAmountChanged();
  5162. }
  5163. }
  5164. }
  5165. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RCVQuantity", DbType="Decimal(18,6)")]
  5166. public System.Nullable<decimal> RCVQuantity
  5167. {
  5168. get
  5169. {
  5170. return this._RCVQuantity;
  5171. }
  5172. set
  5173. {
  5174. if ((this._RCVQuantity != value))
  5175. {
  5176. this.OnRCVQuantityChanging(value);
  5177. this.SendPropertyChanging();
  5178. this._RCVQuantity = value;
  5179. this.SendPropertyChanged("RCVQuantity");
  5180. this.OnRCVQuantityChanged();
  5181. }
  5182. }
  5183. }
  5184. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5185. public string WHCode
  5186. {
  5187. get
  5188. {
  5189. return this._WHCode;
  5190. }
  5191. set
  5192. {
  5193. if ((this._WHCode != value))
  5194. {
  5195. this.OnWHCodeChanging(value);
  5196. this.SendPropertyChanging();
  5197. this._WHCode = value;
  5198. this.SendPropertyChanged("WHCode");
  5199. this.OnWHCodeChanged();
  5200. }
  5201. }
  5202. }
  5203. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5204. public string Type
  5205. {
  5206. get
  5207. {
  5208. return this._Type;
  5209. }
  5210. set
  5211. {
  5212. if ((this._Type != value))
  5213. {
  5214. this.OnTypeChanging(value);
  5215. this.SendPropertyChanging();
  5216. this._Type = value;
  5217. this.SendPropertyChanged("Type");
  5218. this.OnTypeChanged();
  5219. }
  5220. }
  5221. }
  5222. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5223. public string Status
  5224. {
  5225. get
  5226. {
  5227. return this._Status;
  5228. }
  5229. set
  5230. {
  5231. if ((this._Status != value))
  5232. {
  5233. this.OnStatusChanging(value);
  5234. this.SendPropertyChanging();
  5235. this._Status = value;
  5236. this.SendPropertyChanged("Status");
  5237. this.OnStatusChanged();
  5238. }
  5239. }
  5240. }
  5241. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5242. public string CreatePerson
  5243. {
  5244. get
  5245. {
  5246. return this._CreatePerson;
  5247. }
  5248. set
  5249. {
  5250. if ((this._CreatePerson != value))
  5251. {
  5252. this.OnCreatePersonChanging(value);
  5253. this.SendPropertyChanging();
  5254. this._CreatePerson = value;
  5255. this.SendPropertyChanged("CreatePerson");
  5256. this.OnCreatePersonChanged();
  5257. }
  5258. }
  5259. }
  5260. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
  5261. public System.DateTime CreateDateTime
  5262. {
  5263. get
  5264. {
  5265. return this._CreateDateTime;
  5266. }
  5267. set
  5268. {
  5269. if ((this._CreateDateTime != value))
  5270. {
  5271. this.OnCreateDateTimeChanging(value);
  5272. this.SendPropertyChanging();
  5273. this._CreateDateTime = value;
  5274. this.SendPropertyChanged("CreateDateTime");
  5275. this.OnCreateDateTimeChanged();
  5276. }
  5277. }
  5278. }
  5279. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RCVID", DbType="NVarChar(50)")]
  5280. public string RCVID
  5281. {
  5282. get
  5283. {
  5284. return this._RCVID;
  5285. }
  5286. set
  5287. {
  5288. if ((this._RCVID != value))
  5289. {
  5290. this.OnRCVIDChanging(value);
  5291. this.SendPropertyChanging();
  5292. this._RCVID = value;
  5293. this.SendPropertyChanged("RCVID");
  5294. this.OnRCVIDChanged();
  5295. }
  5296. }
  5297. }
  5298. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RCVDetailID", DbType="NVarChar(50)")]
  5299. public string RCVDetailID
  5300. {
  5301. get
  5302. {
  5303. return this._RCVDetailID;
  5304. }
  5305. set
  5306. {
  5307. if ((this._RCVDetailID != value))
  5308. {
  5309. this.OnRCVDetailIDChanging(value);
  5310. this.SendPropertyChanging();
  5311. this._RCVDetailID = value;
  5312. this.SendPropertyChanged("RCVDetailID");
  5313. this.OnRCVDetailIDChanged();
  5314. }
  5315. }
  5316. }
  5317. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5318. public string ExtensionID
  5319. {
  5320. get
  5321. {
  5322. return this._ExtensionID;
  5323. }
  5324. set
  5325. {
  5326. if ((this._ExtensionID != value))
  5327. {
  5328. this.OnExtensionIDChanging(value);
  5329. this.SendPropertyChanging();
  5330. this._ExtensionID = value;
  5331. this.SendPropertyChanged("ExtensionID");
  5332. this.OnExtensionIDChanged();
  5333. }
  5334. }
  5335. }
  5336. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5337. public string MUSER
  5338. {
  5339. get
  5340. {
  5341. return this._MUSER;
  5342. }
  5343. set
  5344. {
  5345. if ((this._MUSER != value))
  5346. {
  5347. this.OnMUSERChanging(value);
  5348. this.SendPropertyChanging();
  5349. this._MUSER = value;
  5350. this.SendPropertyChanged("MUSER");
  5351. this.OnMUSERChanged();
  5352. }
  5353. }
  5354. }
  5355. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5356. public string MUSERName
  5357. {
  5358. get
  5359. {
  5360. return this._MUSERName;
  5361. }
  5362. set
  5363. {
  5364. if ((this._MUSERName != value))
  5365. {
  5366. this.OnMUSERNameChanging(value);
  5367. this.SendPropertyChanging();
  5368. this._MUSERName = value;
  5369. this.SendPropertyChanged("MUSERName");
  5370. this.OnMUSERNameChanged();
  5371. }
  5372. }
  5373. }
  5374. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  5375. public System.DateTime MTIME
  5376. {
  5377. get
  5378. {
  5379. return this._MTIME;
  5380. }
  5381. set
  5382. {
  5383. if ((this._MTIME != value))
  5384. {
  5385. this.OnMTIMEChanging(value);
  5386. this.SendPropertyChanging();
  5387. this._MTIME = value;
  5388. this.SendPropertyChanged("MTIME");
  5389. this.OnMTIMEChanged();
  5390. }
  5391. }
  5392. }
  5393. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5394. public string WorkPoint
  5395. {
  5396. get
  5397. {
  5398. return this._WorkPoint;
  5399. }
  5400. set
  5401. {
  5402. if ((this._WorkPoint != value))
  5403. {
  5404. this.OnWorkPointChanging(value);
  5405. this.SendPropertyChanging();
  5406. this._WorkPoint = value;
  5407. this.SendPropertyChanged("WorkPoint");
  5408. this.OnWorkPointChanged();
  5409. }
  5410. }
  5411. }
  5412. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE", DbType="NVarChar(50)")]
  5413. public string EATTRIBUTE
  5414. {
  5415. get
  5416. {
  5417. return this._EATTRIBUTE;
  5418. }
  5419. set
  5420. {
  5421. if ((this._EATTRIBUTE != value))
  5422. {
  5423. this.OnEATTRIBUTEChanging(value);
  5424. this.SendPropertyChanging();
  5425. this._EATTRIBUTE = value;
  5426. this.SendPropertyChanged("EATTRIBUTE");
  5427. this.OnEATTRIBUTEChanged();
  5428. }
  5429. }
  5430. }
  5431. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvDescribe", DbType="NVarChar(40)")]
  5432. public string InvDescribe
  5433. {
  5434. get
  5435. {
  5436. return this._InvDescribe;
  5437. }
  5438. set
  5439. {
  5440. if ((this._InvDescribe != value))
  5441. {
  5442. this.OnInvDescribeChanging(value);
  5443. this.SendPropertyChanging();
  5444. this._InvDescribe = value;
  5445. this.SendPropertyChanged("InvDescribe");
  5446. this.OnInvDescribeChanged();
  5447. }
  5448. }
  5449. }
  5450. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderNumber", DbType="NVarChar(12)")]
  5451. public string OrderNumber
  5452. {
  5453. get
  5454. {
  5455. return this._OrderNumber;
  5456. }
  5457. set
  5458. {
  5459. if ((this._OrderNumber != value))
  5460. {
  5461. this.OnOrderNumberChanging(value);
  5462. this.SendPropertyChanging();
  5463. this._OrderNumber = value;
  5464. this.SendPropertyChanged("OrderNumber");
  5465. this.OnOrderNumberChanged();
  5466. }
  5467. }
  5468. }
  5469. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderInvCode", DbType="NVarChar(18)")]
  5470. public string OrderInvCode
  5471. {
  5472. get
  5473. {
  5474. return this._OrderInvCode;
  5475. }
  5476. set
  5477. {
  5478. if ((this._OrderInvCode != value))
  5479. {
  5480. this.OnOrderInvCodeChanging(value);
  5481. this.SendPropertyChanging();
  5482. this._OrderInvCode = value;
  5483. this.SendPropertyChanged("OrderInvCode");
  5484. this.OnOrderInvCodeChanged();
  5485. }
  5486. }
  5487. }
  5488. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderInvDescribe", DbType="NVarChar(40)")]
  5489. public string OrderInvDescribe
  5490. {
  5491. get
  5492. {
  5493. return this._OrderInvDescribe;
  5494. }
  5495. set
  5496. {
  5497. if ((this._OrderInvDescribe != value))
  5498. {
  5499. this.OnOrderInvDescribeChanging(value);
  5500. this.SendPropertyChanging();
  5501. this._OrderInvDescribe = value;
  5502. this.SendPropertyChanged("OrderInvDescribe");
  5503. this.OnOrderInvDescribeChanged();
  5504. }
  5505. }
  5506. }
  5507. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BillType", DbType="NVarChar(1)")]
  5508. public string BillType
  5509. {
  5510. get
  5511. {
  5512. return this._BillType;
  5513. }
  5514. set
  5515. {
  5516. if ((this._BillType != value))
  5517. {
  5518. this.OnBillTypeChanging(value);
  5519. this.SendPropertyChanging();
  5520. this._BillType = value;
  5521. this.SendPropertyChanged("BillType");
  5522. this.OnBillTypeChanged();
  5523. }
  5524. }
  5525. }
  5526. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remarks", DbType="NVarChar(40)")]
  5527. public string Remarks
  5528. {
  5529. get
  5530. {
  5531. return this._Remarks;
  5532. }
  5533. set
  5534. {
  5535. if ((this._Remarks != value))
  5536. {
  5537. this.OnRemarksChanging(value);
  5538. this.SendPropertyChanging();
  5539. this._Remarks = value;
  5540. this.SendPropertyChanged("Remarks");
  5541. this.OnRemarksChanged();
  5542. }
  5543. }
  5544. }
  5545. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Unit", DbType="NVarChar(10)")]
  5546. public string Unit
  5547. {
  5548. get
  5549. {
  5550. return this._Unit;
  5551. }
  5552. set
  5553. {
  5554. if ((this._Unit != value))
  5555. {
  5556. this.OnUnitChanging(value);
  5557. this.SendPropertyChanging();
  5558. this._Unit = value;
  5559. this.SendPropertyChanged("Unit");
  5560. this.OnUnitChanged();
  5561. }
  5562. }
  5563. }
  5564. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StockIndicator", DbType="NVarChar(1)")]
  5565. public string StockIndicator
  5566. {
  5567. get
  5568. {
  5569. return this._StockIndicator;
  5570. }
  5571. set
  5572. {
  5573. if ((this._StockIndicator != value))
  5574. {
  5575. this.OnStockIndicatorChanging(value);
  5576. this.SendPropertyChanging();
  5577. this._StockIndicator = value;
  5578. this.SendPropertyChanged("StockIndicator");
  5579. this.OnStockIndicatorChanged();
  5580. }
  5581. }
  5582. }
  5583. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RemarksTerm", DbType="NVarChar(120)")]
  5584. public string RemarksTerm
  5585. {
  5586. get
  5587. {
  5588. return this._RemarksTerm;
  5589. }
  5590. set
  5591. {
  5592. if ((this._RemarksTerm != value))
  5593. {
  5594. this.OnRemarksTermChanging(value);
  5595. this.SendPropertyChanging();
  5596. this._RemarksTerm = value;
  5597. this.SendPropertyChanged("RemarksTerm");
  5598. this.OnRemarksTermChanged();
  5599. }
  5600. }
  5601. }
  5602. public event PropertyChangingEventHandler PropertyChanging;
  5603. public event PropertyChangedEventHandler PropertyChanged;
  5604. protected virtual void SendPropertyChanging()
  5605. {
  5606. if ((this.PropertyChanging != null))
  5607. {
  5608. this.PropertyChanging(this, emptyChangingEventArgs);
  5609. }
  5610. }
  5611. protected virtual void SendPropertyChanged(String propertyName)
  5612. {
  5613. if ((this.PropertyChanged != null))
  5614. {
  5615. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  5616. }
  5617. }
  5618. }
  5619. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSDeliveryNotice")]
  5620. public partial class ICSDeliveryNotice : INotifyPropertyChanging, INotifyPropertyChanged
  5621. {
  5622. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  5623. private string _ID;
  5624. private string _DNCode;
  5625. private string _Sequence;
  5626. private string _VenCode;
  5627. private string _DepCode;
  5628. private string _DNType;
  5629. private string _InvCode;
  5630. private decimal _Quantity;
  5631. private System.Nullable<decimal> _Amount;
  5632. private System.Nullable<decimal> _RCVQuantity;
  5633. private System.Nullable<decimal> _UnitPrice;
  5634. private string _Currency;
  5635. private string _Status;
  5636. private string _CreatePerson;
  5637. private System.DateTime _CreateDateTime;
  5638. private string _POID;
  5639. private string _PODetailID;
  5640. private string _DNID;
  5641. private string _DNDetailID;
  5642. private string _ExtensionID;
  5643. private string _MUSER;
  5644. private string _MUSERName;
  5645. private System.DateTime _MTIME;
  5646. private string _WorkPoint;
  5647. private string _EATTRIBUTE1;
  5648. private string _ASNCode;
  5649. private string _WHCode;
  5650. private string _InspectionType;
  5651. private string _InvoDescribe;
  5652. private string _Unity;
  5653. private string _StockIndicator;
  5654. private string _DepositArea;
  5655. #region 可扩展性方法定义
  5656. partial void OnLoaded();
  5657. partial void OnValidate(System.Data.Linq.ChangeAction action);
  5658. partial void OnCreated();
  5659. partial void OnIDChanging(string value);
  5660. partial void OnIDChanged();
  5661. partial void OnDNCodeChanging(string value);
  5662. partial void OnDNCodeChanged();
  5663. partial void OnSequenceChanging(string value);
  5664. partial void OnSequenceChanged();
  5665. partial void OnVenCodeChanging(string value);
  5666. partial void OnVenCodeChanged();
  5667. partial void OnDepCodeChanging(string value);
  5668. partial void OnDepCodeChanged();
  5669. partial void OnDNTypeChanging(string value);
  5670. partial void OnDNTypeChanged();
  5671. partial void OnInvCodeChanging(string value);
  5672. partial void OnInvCodeChanged();
  5673. partial void OnQuantityChanging(decimal value);
  5674. partial void OnQuantityChanged();
  5675. partial void OnAmountChanging(System.Nullable<decimal> value);
  5676. partial void OnAmountChanged();
  5677. partial void OnRCVQuantityChanging(System.Nullable<decimal> value);
  5678. partial void OnRCVQuantityChanged();
  5679. partial void OnUnitPriceChanging(System.Nullable<decimal> value);
  5680. partial void OnUnitPriceChanged();
  5681. partial void OnCurrencyChanging(string value);
  5682. partial void OnCurrencyChanged();
  5683. partial void OnStatusChanging(string value);
  5684. partial void OnStatusChanged();
  5685. partial void OnCreatePersonChanging(string value);
  5686. partial void OnCreatePersonChanged();
  5687. partial void OnCreateDateTimeChanging(System.DateTime value);
  5688. partial void OnCreateDateTimeChanged();
  5689. partial void OnPOIDChanging(string value);
  5690. partial void OnPOIDChanged();
  5691. partial void OnPODetailIDChanging(string value);
  5692. partial void OnPODetailIDChanged();
  5693. partial void OnDNIDChanging(string value);
  5694. partial void OnDNIDChanged();
  5695. partial void OnDNDetailIDChanging(string value);
  5696. partial void OnDNDetailIDChanged();
  5697. partial void OnExtensionIDChanging(string value);
  5698. partial void OnExtensionIDChanged();
  5699. partial void OnMUSERChanging(string value);
  5700. partial void OnMUSERChanged();
  5701. partial void OnMUSERNameChanging(string value);
  5702. partial void OnMUSERNameChanged();
  5703. partial void OnMTIMEChanging(System.DateTime value);
  5704. partial void OnMTIMEChanged();
  5705. partial void OnWorkPointChanging(string value);
  5706. partial void OnWorkPointChanged();
  5707. partial void OnEATTRIBUTE1Changing(string value);
  5708. partial void OnEATTRIBUTE1Changed();
  5709. partial void OnASNCodeChanging(string value);
  5710. partial void OnASNCodeChanged();
  5711. partial void OnWHCodeChanging(string value);
  5712. partial void OnWHCodeChanged();
  5713. partial void OnInspectionTypeChanging(string value);
  5714. partial void OnInspectionTypeChanged();
  5715. partial void OnInvoDescribeChanging(string value);
  5716. partial void OnInvoDescribeChanged();
  5717. partial void OnUnityChanging(string value);
  5718. partial void OnUnityChanged();
  5719. partial void OnStockIndicatorChanging(string value);
  5720. partial void OnStockIndicatorChanged();
  5721. partial void OnDepositAreaChanging(string value);
  5722. partial void OnDepositAreaChanged();
  5723. #endregion
  5724. public ICSDeliveryNotice()
  5725. {
  5726. OnCreated();
  5727. }
  5728. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  5729. public string ID
  5730. {
  5731. get
  5732. {
  5733. return this._ID;
  5734. }
  5735. set
  5736. {
  5737. if ((this._ID != value))
  5738. {
  5739. this.OnIDChanging(value);
  5740. this.SendPropertyChanging();
  5741. this._ID = value;
  5742. this.SendPropertyChanged("ID");
  5743. this.OnIDChanged();
  5744. }
  5745. }
  5746. }
  5747. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DNCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5748. public string DNCode
  5749. {
  5750. get
  5751. {
  5752. return this._DNCode;
  5753. }
  5754. set
  5755. {
  5756. if ((this._DNCode != value))
  5757. {
  5758. this.OnDNCodeChanging(value);
  5759. this.SendPropertyChanging();
  5760. this._DNCode = value;
  5761. this.SendPropertyChanged("DNCode");
  5762. this.OnDNCodeChanged();
  5763. }
  5764. }
  5765. }
  5766. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50)")]
  5767. public string Sequence
  5768. {
  5769. get
  5770. {
  5771. return this._Sequence;
  5772. }
  5773. set
  5774. {
  5775. if ((this._Sequence != value))
  5776. {
  5777. this.OnSequenceChanging(value);
  5778. this.SendPropertyChanging();
  5779. this._Sequence = value;
  5780. this.SendPropertyChanged("Sequence");
  5781. this.OnSequenceChanged();
  5782. }
  5783. }
  5784. }
  5785. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VenCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5786. public string VenCode
  5787. {
  5788. get
  5789. {
  5790. return this._VenCode;
  5791. }
  5792. set
  5793. {
  5794. if ((this._VenCode != value))
  5795. {
  5796. this.OnVenCodeChanging(value);
  5797. this.SendPropertyChanging();
  5798. this._VenCode = value;
  5799. this.SendPropertyChanged("VenCode");
  5800. this.OnVenCodeChanged();
  5801. }
  5802. }
  5803. }
  5804. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepCode", DbType="NVarChar(50)")]
  5805. public string DepCode
  5806. {
  5807. get
  5808. {
  5809. return this._DepCode;
  5810. }
  5811. set
  5812. {
  5813. if ((this._DepCode != value))
  5814. {
  5815. this.OnDepCodeChanging(value);
  5816. this.SendPropertyChanging();
  5817. this._DepCode = value;
  5818. this.SendPropertyChanged("DepCode");
  5819. this.OnDepCodeChanged();
  5820. }
  5821. }
  5822. }
  5823. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DNType", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5824. public string DNType
  5825. {
  5826. get
  5827. {
  5828. return this._DNType;
  5829. }
  5830. set
  5831. {
  5832. if ((this._DNType != value))
  5833. {
  5834. this.OnDNTypeChanging(value);
  5835. this.SendPropertyChanging();
  5836. this._DNType = value;
  5837. this.SendPropertyChanged("DNType");
  5838. this.OnDNTypeChanged();
  5839. }
  5840. }
  5841. }
  5842. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5843. public string InvCode
  5844. {
  5845. get
  5846. {
  5847. return this._InvCode;
  5848. }
  5849. set
  5850. {
  5851. if ((this._InvCode != value))
  5852. {
  5853. this.OnInvCodeChanging(value);
  5854. this.SendPropertyChanging();
  5855. this._InvCode = value;
  5856. this.SendPropertyChanged("InvCode");
  5857. this.OnInvCodeChanged();
  5858. }
  5859. }
  5860. }
  5861. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
  5862. public decimal Quantity
  5863. {
  5864. get
  5865. {
  5866. return this._Quantity;
  5867. }
  5868. set
  5869. {
  5870. if ((this._Quantity != value))
  5871. {
  5872. this.OnQuantityChanging(value);
  5873. this.SendPropertyChanging();
  5874. this._Quantity = value;
  5875. this.SendPropertyChanged("Quantity");
  5876. this.OnQuantityChanged();
  5877. }
  5878. }
  5879. }
  5880. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  5881. public System.Nullable<decimal> Amount
  5882. {
  5883. get
  5884. {
  5885. return this._Amount;
  5886. }
  5887. set
  5888. {
  5889. if ((this._Amount != value))
  5890. {
  5891. this.OnAmountChanging(value);
  5892. this.SendPropertyChanging();
  5893. this._Amount = value;
  5894. this.SendPropertyChanged("Amount");
  5895. this.OnAmountChanged();
  5896. }
  5897. }
  5898. }
  5899. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RCVQuantity", DbType="Decimal(18,6)")]
  5900. public System.Nullable<decimal> RCVQuantity
  5901. {
  5902. get
  5903. {
  5904. return this._RCVQuantity;
  5905. }
  5906. set
  5907. {
  5908. if ((this._RCVQuantity != value))
  5909. {
  5910. this.OnRCVQuantityChanging(value);
  5911. this.SendPropertyChanging();
  5912. this._RCVQuantity = value;
  5913. this.SendPropertyChanged("RCVQuantity");
  5914. this.OnRCVQuantityChanged();
  5915. }
  5916. }
  5917. }
  5918. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitPrice", DbType="Decimal(18,6)")]
  5919. public System.Nullable<decimal> UnitPrice
  5920. {
  5921. get
  5922. {
  5923. return this._UnitPrice;
  5924. }
  5925. set
  5926. {
  5927. if ((this._UnitPrice != value))
  5928. {
  5929. this.OnUnitPriceChanging(value);
  5930. this.SendPropertyChanging();
  5931. this._UnitPrice = value;
  5932. this.SendPropertyChanged("UnitPrice");
  5933. this.OnUnitPriceChanged();
  5934. }
  5935. }
  5936. }
  5937. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Currency", DbType="NVarChar(50)")]
  5938. public string Currency
  5939. {
  5940. get
  5941. {
  5942. return this._Currency;
  5943. }
  5944. set
  5945. {
  5946. if ((this._Currency != value))
  5947. {
  5948. this.OnCurrencyChanging(value);
  5949. this.SendPropertyChanging();
  5950. this._Currency = value;
  5951. this.SendPropertyChanged("Currency");
  5952. this.OnCurrencyChanged();
  5953. }
  5954. }
  5955. }
  5956. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50)")]
  5957. public string Status
  5958. {
  5959. get
  5960. {
  5961. return this._Status;
  5962. }
  5963. set
  5964. {
  5965. if ((this._Status != value))
  5966. {
  5967. this.OnStatusChanging(value);
  5968. this.SendPropertyChanging();
  5969. this._Status = value;
  5970. this.SendPropertyChanged("Status");
  5971. this.OnStatusChanged();
  5972. }
  5973. }
  5974. }
  5975. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5976. public string CreatePerson
  5977. {
  5978. get
  5979. {
  5980. return this._CreatePerson;
  5981. }
  5982. set
  5983. {
  5984. if ((this._CreatePerson != value))
  5985. {
  5986. this.OnCreatePersonChanging(value);
  5987. this.SendPropertyChanging();
  5988. this._CreatePerson = value;
  5989. this.SendPropertyChanged("CreatePerson");
  5990. this.OnCreatePersonChanged();
  5991. }
  5992. }
  5993. }
  5994. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
  5995. public System.DateTime CreateDateTime
  5996. {
  5997. get
  5998. {
  5999. return this._CreateDateTime;
  6000. }
  6001. set
  6002. {
  6003. if ((this._CreateDateTime != value))
  6004. {
  6005. this.OnCreateDateTimeChanging(value);
  6006. this.SendPropertyChanging();
  6007. this._CreateDateTime = value;
  6008. this.SendPropertyChanged("CreateDateTime");
  6009. this.OnCreateDateTimeChanged();
  6010. }
  6011. }
  6012. }
  6013. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_POID", DbType="NVarChar(50)")]
  6014. public string POID
  6015. {
  6016. get
  6017. {
  6018. return this._POID;
  6019. }
  6020. set
  6021. {
  6022. if ((this._POID != value))
  6023. {
  6024. this.OnPOIDChanging(value);
  6025. this.SendPropertyChanging();
  6026. this._POID = value;
  6027. this.SendPropertyChanged("POID");
  6028. this.OnPOIDChanged();
  6029. }
  6030. }
  6031. }
  6032. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PODetailID", DbType="NVarChar(50)")]
  6033. public string PODetailID
  6034. {
  6035. get
  6036. {
  6037. return this._PODetailID;
  6038. }
  6039. set
  6040. {
  6041. if ((this._PODetailID != value))
  6042. {
  6043. this.OnPODetailIDChanging(value);
  6044. this.SendPropertyChanging();
  6045. this._PODetailID = value;
  6046. this.SendPropertyChanged("PODetailID");
  6047. this.OnPODetailIDChanged();
  6048. }
  6049. }
  6050. }
  6051. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DNID", DbType="NVarChar(50)")]
  6052. public string DNID
  6053. {
  6054. get
  6055. {
  6056. return this._DNID;
  6057. }
  6058. set
  6059. {
  6060. if ((this._DNID != value))
  6061. {
  6062. this.OnDNIDChanging(value);
  6063. this.SendPropertyChanging();
  6064. this._DNID = value;
  6065. this.SendPropertyChanged("DNID");
  6066. this.OnDNIDChanged();
  6067. }
  6068. }
  6069. }
  6070. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DNDetailID", DbType="NVarChar(50)")]
  6071. public string DNDetailID
  6072. {
  6073. get
  6074. {
  6075. return this._DNDetailID;
  6076. }
  6077. set
  6078. {
  6079. if ((this._DNDetailID != value))
  6080. {
  6081. this.OnDNDetailIDChanging(value);
  6082. this.SendPropertyChanging();
  6083. this._DNDetailID = value;
  6084. this.SendPropertyChanged("DNDetailID");
  6085. this.OnDNDetailIDChanged();
  6086. }
  6087. }
  6088. }
  6089. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6090. public string ExtensionID
  6091. {
  6092. get
  6093. {
  6094. return this._ExtensionID;
  6095. }
  6096. set
  6097. {
  6098. if ((this._ExtensionID != value))
  6099. {
  6100. this.OnExtensionIDChanging(value);
  6101. this.SendPropertyChanging();
  6102. this._ExtensionID = value;
  6103. this.SendPropertyChanged("ExtensionID");
  6104. this.OnExtensionIDChanged();
  6105. }
  6106. }
  6107. }
  6108. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6109. public string MUSER
  6110. {
  6111. get
  6112. {
  6113. return this._MUSER;
  6114. }
  6115. set
  6116. {
  6117. if ((this._MUSER != value))
  6118. {
  6119. this.OnMUSERChanging(value);
  6120. this.SendPropertyChanging();
  6121. this._MUSER = value;
  6122. this.SendPropertyChanged("MUSER");
  6123. this.OnMUSERChanged();
  6124. }
  6125. }
  6126. }
  6127. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6128. public string MUSERName
  6129. {
  6130. get
  6131. {
  6132. return this._MUSERName;
  6133. }
  6134. set
  6135. {
  6136. if ((this._MUSERName != value))
  6137. {
  6138. this.OnMUSERNameChanging(value);
  6139. this.SendPropertyChanging();
  6140. this._MUSERName = value;
  6141. this.SendPropertyChanged("MUSERName");
  6142. this.OnMUSERNameChanged();
  6143. }
  6144. }
  6145. }
  6146. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  6147. public System.DateTime MTIME
  6148. {
  6149. get
  6150. {
  6151. return this._MTIME;
  6152. }
  6153. set
  6154. {
  6155. if ((this._MTIME != value))
  6156. {
  6157. this.OnMTIMEChanging(value);
  6158. this.SendPropertyChanging();
  6159. this._MTIME = value;
  6160. this.SendPropertyChanged("MTIME");
  6161. this.OnMTIMEChanged();
  6162. }
  6163. }
  6164. }
  6165. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6166. public string WorkPoint
  6167. {
  6168. get
  6169. {
  6170. return this._WorkPoint;
  6171. }
  6172. set
  6173. {
  6174. if ((this._WorkPoint != value))
  6175. {
  6176. this.OnWorkPointChanging(value);
  6177. this.SendPropertyChanging();
  6178. this._WorkPoint = value;
  6179. this.SendPropertyChanged("WorkPoint");
  6180. this.OnWorkPointChanged();
  6181. }
  6182. }
  6183. }
  6184. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6185. public string EATTRIBUTE1
  6186. {
  6187. get
  6188. {
  6189. return this._EATTRIBUTE1;
  6190. }
  6191. set
  6192. {
  6193. if ((this._EATTRIBUTE1 != value))
  6194. {
  6195. this.OnEATTRIBUTE1Changing(value);
  6196. this.SendPropertyChanging();
  6197. this._EATTRIBUTE1 = value;
  6198. this.SendPropertyChanged("EATTRIBUTE1");
  6199. this.OnEATTRIBUTE1Changed();
  6200. }
  6201. }
  6202. }
  6203. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ASNCode", DbType="NVarChar(50)")]
  6204. public string ASNCode
  6205. {
  6206. get
  6207. {
  6208. return this._ASNCode;
  6209. }
  6210. set
  6211. {
  6212. if ((this._ASNCode != value))
  6213. {
  6214. this.OnASNCodeChanging(value);
  6215. this.SendPropertyChanging();
  6216. this._ASNCode = value;
  6217. this.SendPropertyChanged("ASNCode");
  6218. this.OnASNCodeChanged();
  6219. }
  6220. }
  6221. }
  6222. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="VarChar(50)")]
  6223. public string WHCode
  6224. {
  6225. get
  6226. {
  6227. return this._WHCode;
  6228. }
  6229. set
  6230. {
  6231. if ((this._WHCode != value))
  6232. {
  6233. this.OnWHCodeChanging(value);
  6234. this.SendPropertyChanging();
  6235. this._WHCode = value;
  6236. this.SendPropertyChanged("WHCode");
  6237. this.OnWHCodeChanged();
  6238. }
  6239. }
  6240. }
  6241. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectionType", DbType="NVarChar(50) NOT NULL")]
  6242. public string InspectionType
  6243. {
  6244. get
  6245. {
  6246. return this._InspectionType;
  6247. }
  6248. set
  6249. {
  6250. if ((this._InspectionType != value))
  6251. {
  6252. this.OnInspectionTypeChanging(value);
  6253. this.SendPropertyChanging();
  6254. this._InspectionType = value;
  6255. this.SendPropertyChanged("InspectionType");
  6256. this.OnInspectionTypeChanged();
  6257. }
  6258. }
  6259. }
  6260. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvoDescribe", DbType="NVarChar(50)")]
  6261. public string InvoDescribe
  6262. {
  6263. get
  6264. {
  6265. return this._InvoDescribe;
  6266. }
  6267. set
  6268. {
  6269. if ((this._InvoDescribe != value))
  6270. {
  6271. this.OnInvoDescribeChanging(value);
  6272. this.SendPropertyChanging();
  6273. this._InvoDescribe = value;
  6274. this.SendPropertyChanged("InvoDescribe");
  6275. this.OnInvoDescribeChanged();
  6276. }
  6277. }
  6278. }
  6279. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Unity", DbType="VarChar(50)")]
  6280. public string Unity
  6281. {
  6282. get
  6283. {
  6284. return this._Unity;
  6285. }
  6286. set
  6287. {
  6288. if ((this._Unity != value))
  6289. {
  6290. this.OnUnityChanging(value);
  6291. this.SendPropertyChanging();
  6292. this._Unity = value;
  6293. this.SendPropertyChanged("Unity");
  6294. this.OnUnityChanged();
  6295. }
  6296. }
  6297. }
  6298. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StockIndicator", DbType="NVarChar(50)")]
  6299. public string StockIndicator
  6300. {
  6301. get
  6302. {
  6303. return this._StockIndicator;
  6304. }
  6305. set
  6306. {
  6307. if ((this._StockIndicator != value))
  6308. {
  6309. this.OnStockIndicatorChanging(value);
  6310. this.SendPropertyChanging();
  6311. this._StockIndicator = value;
  6312. this.SendPropertyChanged("StockIndicator");
  6313. this.OnStockIndicatorChanged();
  6314. }
  6315. }
  6316. }
  6317. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepositArea", DbType="VarChar(50)")]
  6318. public string DepositArea
  6319. {
  6320. get
  6321. {
  6322. return this._DepositArea;
  6323. }
  6324. set
  6325. {
  6326. if ((this._DepositArea != value))
  6327. {
  6328. this.OnDepositAreaChanging(value);
  6329. this.SendPropertyChanging();
  6330. this._DepositArea = value;
  6331. this.SendPropertyChanged("DepositArea");
  6332. this.OnDepositAreaChanged();
  6333. }
  6334. }
  6335. }
  6336. public event PropertyChangingEventHandler PropertyChanging;
  6337. public event PropertyChangedEventHandler PropertyChanged;
  6338. protected virtual void SendPropertyChanging()
  6339. {
  6340. if ((this.PropertyChanging != null))
  6341. {
  6342. this.PropertyChanging(this, emptyChangingEventArgs);
  6343. }
  6344. }
  6345. protected virtual void SendPropertyChanged(String propertyName)
  6346. {
  6347. if ((this.PropertyChanged != null))
  6348. {
  6349. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  6350. }
  6351. }
  6352. }
  6353. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSSDN")]
  6354. public partial class ICSSDN : INotifyPropertyChanging, INotifyPropertyChanged
  6355. {
  6356. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  6357. private string _ID;
  6358. private string _SDNCode;
  6359. private string _Sequence;
  6360. private string _SOCode;
  6361. private string _SOSequence;
  6362. private string _CusCode;
  6363. private string _CusName;
  6364. private string _Type;
  6365. private System.DateTime _ArriveDate;
  6366. private string _WHCode;
  6367. private string _InvCode;
  6368. private decimal _Quantity;
  6369. private System.Nullable<decimal> _Amount;
  6370. private System.Nullable<decimal> _SDNQuantity;
  6371. private string _CreatePerson;
  6372. private System.DateTime _CreateDateTime;
  6373. private string _Status;
  6374. private string _SDNID;
  6375. private string _SDNDetailID;
  6376. private string _ExtensionID;
  6377. private string _MUSER;
  6378. private string _MUSERName;
  6379. private System.DateTime _MTIME;
  6380. private string _WorkPoint;
  6381. private string _EATTRIBUTE1;
  6382. private string _Points;
  6383. private string _DeliveryType;
  6384. private string _DeliveryDescribe;
  6385. private string _InvDescribe;
  6386. private string _OtherDescribe;
  6387. private string _SalesUnit;
  6388. private string _StockIndicator;
  6389. #region 可扩展性方法定义
  6390. partial void OnLoaded();
  6391. partial void OnValidate(System.Data.Linq.ChangeAction action);
  6392. partial void OnCreated();
  6393. partial void OnIDChanging(string value);
  6394. partial void OnIDChanged();
  6395. partial void OnSDNCodeChanging(string value);
  6396. partial void OnSDNCodeChanged();
  6397. partial void OnSequenceChanging(string value);
  6398. partial void OnSequenceChanged();
  6399. partial void OnSOCodeChanging(string value);
  6400. partial void OnSOCodeChanged();
  6401. partial void OnSOSequenceChanging(string value);
  6402. partial void OnSOSequenceChanged();
  6403. partial void OnCusCodeChanging(string value);
  6404. partial void OnCusCodeChanged();
  6405. partial void OnCusNameChanging(string value);
  6406. partial void OnCusNameChanged();
  6407. partial void OnTypeChanging(string value);
  6408. partial void OnTypeChanged();
  6409. partial void OnArriveDateChanging(System.DateTime value);
  6410. partial void OnArriveDateChanged();
  6411. partial void OnWHCodeChanging(string value);
  6412. partial void OnWHCodeChanged();
  6413. partial void OnInvCodeChanging(string value);
  6414. partial void OnInvCodeChanged();
  6415. partial void OnQuantityChanging(decimal value);
  6416. partial void OnQuantityChanged();
  6417. partial void OnAmountChanging(System.Nullable<decimal> value);
  6418. partial void OnAmountChanged();
  6419. partial void OnSDNQuantityChanging(System.Nullable<decimal> value);
  6420. partial void OnSDNQuantityChanged();
  6421. partial void OnCreatePersonChanging(string value);
  6422. partial void OnCreatePersonChanged();
  6423. partial void OnCreateDateTimeChanging(System.DateTime value);
  6424. partial void OnCreateDateTimeChanged();
  6425. partial void OnStatusChanging(string value);
  6426. partial void OnStatusChanged();
  6427. partial void OnSDNIDChanging(string value);
  6428. partial void OnSDNIDChanged();
  6429. partial void OnSDNDetailIDChanging(string value);
  6430. partial void OnSDNDetailIDChanged();
  6431. partial void OnExtensionIDChanging(string value);
  6432. partial void OnExtensionIDChanged();
  6433. partial void OnMUSERChanging(string value);
  6434. partial void OnMUSERChanged();
  6435. partial void OnMUSERNameChanging(string value);
  6436. partial void OnMUSERNameChanged();
  6437. partial void OnMTIMEChanging(System.DateTime value);
  6438. partial void OnMTIMEChanged();
  6439. partial void OnWorkPointChanging(string value);
  6440. partial void OnWorkPointChanged();
  6441. partial void OnEATTRIBUTE1Changing(string value);
  6442. partial void OnEATTRIBUTE1Changed();
  6443. partial void OnPointsChanging(string value);
  6444. partial void OnPointsChanged();
  6445. partial void OnDeliveryTypeChanging(string value);
  6446. partial void OnDeliveryTypeChanged();
  6447. partial void OnDeliveryDescribeChanging(string value);
  6448. partial void OnDeliveryDescribeChanged();
  6449. partial void OnInvDescribeChanging(string value);
  6450. partial void OnInvDescribeChanged();
  6451. partial void OnOtherDescribeChanging(string value);
  6452. partial void OnOtherDescribeChanged();
  6453. partial void OnSalesUnitChanging(string value);
  6454. partial void OnSalesUnitChanged();
  6455. partial void OnStockIndicatorChanging(string value);
  6456. partial void OnStockIndicatorChanged();
  6457. #endregion
  6458. public ICSSDN()
  6459. {
  6460. OnCreated();
  6461. }
  6462. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  6463. public string ID
  6464. {
  6465. get
  6466. {
  6467. return this._ID;
  6468. }
  6469. set
  6470. {
  6471. if ((this._ID != value))
  6472. {
  6473. this.OnIDChanging(value);
  6474. this.SendPropertyChanging();
  6475. this._ID = value;
  6476. this.SendPropertyChanged("ID");
  6477. this.OnIDChanged();
  6478. }
  6479. }
  6480. }
  6481. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SDNCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6482. public string SDNCode
  6483. {
  6484. get
  6485. {
  6486. return this._SDNCode;
  6487. }
  6488. set
  6489. {
  6490. if ((this._SDNCode != value))
  6491. {
  6492. this.OnSDNCodeChanging(value);
  6493. this.SendPropertyChanging();
  6494. this._SDNCode = value;
  6495. this.SendPropertyChanged("SDNCode");
  6496. this.OnSDNCodeChanged();
  6497. }
  6498. }
  6499. }
  6500. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6501. public string Sequence
  6502. {
  6503. get
  6504. {
  6505. return this._Sequence;
  6506. }
  6507. set
  6508. {
  6509. if ((this._Sequence != value))
  6510. {
  6511. this.OnSequenceChanging(value);
  6512. this.SendPropertyChanging();
  6513. this._Sequence = value;
  6514. this.SendPropertyChanged("Sequence");
  6515. this.OnSequenceChanged();
  6516. }
  6517. }
  6518. }
  6519. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SOCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6520. public string SOCode
  6521. {
  6522. get
  6523. {
  6524. return this._SOCode;
  6525. }
  6526. set
  6527. {
  6528. if ((this._SOCode != value))
  6529. {
  6530. this.OnSOCodeChanging(value);
  6531. this.SendPropertyChanging();
  6532. this._SOCode = value;
  6533. this.SendPropertyChanged("SOCode");
  6534. this.OnSOCodeChanged();
  6535. }
  6536. }
  6537. }
  6538. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SOSequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6539. public string SOSequence
  6540. {
  6541. get
  6542. {
  6543. return this._SOSequence;
  6544. }
  6545. set
  6546. {
  6547. if ((this._SOSequence != value))
  6548. {
  6549. this.OnSOSequenceChanging(value);
  6550. this.SendPropertyChanging();
  6551. this._SOSequence = value;
  6552. this.SendPropertyChanged("SOSequence");
  6553. this.OnSOSequenceChanged();
  6554. }
  6555. }
  6556. }
  6557. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CusCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6558. public string CusCode
  6559. {
  6560. get
  6561. {
  6562. return this._CusCode;
  6563. }
  6564. set
  6565. {
  6566. if ((this._CusCode != value))
  6567. {
  6568. this.OnCusCodeChanging(value);
  6569. this.SendPropertyChanging();
  6570. this._CusCode = value;
  6571. this.SendPropertyChanged("CusCode");
  6572. this.OnCusCodeChanged();
  6573. }
  6574. }
  6575. }
  6576. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CusName", DbType="NVarChar(500) NOT NULL", CanBeNull=false)]
  6577. public string CusName
  6578. {
  6579. get
  6580. {
  6581. return this._CusName;
  6582. }
  6583. set
  6584. {
  6585. if ((this._CusName != value))
  6586. {
  6587. this.OnCusNameChanging(value);
  6588. this.SendPropertyChanging();
  6589. this._CusName = value;
  6590. this.SendPropertyChanged("CusName");
  6591. this.OnCusNameChanged();
  6592. }
  6593. }
  6594. }
  6595. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6596. public string Type
  6597. {
  6598. get
  6599. {
  6600. return this._Type;
  6601. }
  6602. set
  6603. {
  6604. if ((this._Type != value))
  6605. {
  6606. this.OnTypeChanging(value);
  6607. this.SendPropertyChanging();
  6608. this._Type = value;
  6609. this.SendPropertyChanged("Type");
  6610. this.OnTypeChanged();
  6611. }
  6612. }
  6613. }
  6614. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ArriveDate", DbType="DateTime NOT NULL")]
  6615. public System.DateTime ArriveDate
  6616. {
  6617. get
  6618. {
  6619. return this._ArriveDate;
  6620. }
  6621. set
  6622. {
  6623. if ((this._ArriveDate != value))
  6624. {
  6625. this.OnArriveDateChanging(value);
  6626. this.SendPropertyChanging();
  6627. this._ArriveDate = value;
  6628. this.SendPropertyChanged("ArriveDate");
  6629. this.OnArriveDateChanged();
  6630. }
  6631. }
  6632. }
  6633. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6634. public string WHCode
  6635. {
  6636. get
  6637. {
  6638. return this._WHCode;
  6639. }
  6640. set
  6641. {
  6642. if ((this._WHCode != value))
  6643. {
  6644. this.OnWHCodeChanging(value);
  6645. this.SendPropertyChanging();
  6646. this._WHCode = value;
  6647. this.SendPropertyChanged("WHCode");
  6648. this.OnWHCodeChanged();
  6649. }
  6650. }
  6651. }
  6652. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6653. public string InvCode
  6654. {
  6655. get
  6656. {
  6657. return this._InvCode;
  6658. }
  6659. set
  6660. {
  6661. if ((this._InvCode != value))
  6662. {
  6663. this.OnInvCodeChanging(value);
  6664. this.SendPropertyChanging();
  6665. this._InvCode = value;
  6666. this.SendPropertyChanged("InvCode");
  6667. this.OnInvCodeChanged();
  6668. }
  6669. }
  6670. }
  6671. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
  6672. public decimal Quantity
  6673. {
  6674. get
  6675. {
  6676. return this._Quantity;
  6677. }
  6678. set
  6679. {
  6680. if ((this._Quantity != value))
  6681. {
  6682. this.OnQuantityChanging(value);
  6683. this.SendPropertyChanging();
  6684. this._Quantity = value;
  6685. this.SendPropertyChanged("Quantity");
  6686. this.OnQuantityChanged();
  6687. }
  6688. }
  6689. }
  6690. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  6691. public System.Nullable<decimal> Amount
  6692. {
  6693. get
  6694. {
  6695. return this._Amount;
  6696. }
  6697. set
  6698. {
  6699. if ((this._Amount != value))
  6700. {
  6701. this.OnAmountChanging(value);
  6702. this.SendPropertyChanging();
  6703. this._Amount = value;
  6704. this.SendPropertyChanged("Amount");
  6705. this.OnAmountChanged();
  6706. }
  6707. }
  6708. }
  6709. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SDNQuantity", DbType="Decimal(18,6)")]
  6710. public System.Nullable<decimal> SDNQuantity
  6711. {
  6712. get
  6713. {
  6714. return this._SDNQuantity;
  6715. }
  6716. set
  6717. {
  6718. if ((this._SDNQuantity != value))
  6719. {
  6720. this.OnSDNQuantityChanging(value);
  6721. this.SendPropertyChanging();
  6722. this._SDNQuantity = value;
  6723. this.SendPropertyChanged("SDNQuantity");
  6724. this.OnSDNQuantityChanged();
  6725. }
  6726. }
  6727. }
  6728. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6729. public string CreatePerson
  6730. {
  6731. get
  6732. {
  6733. return this._CreatePerson;
  6734. }
  6735. set
  6736. {
  6737. if ((this._CreatePerson != value))
  6738. {
  6739. this.OnCreatePersonChanging(value);
  6740. this.SendPropertyChanging();
  6741. this._CreatePerson = value;
  6742. this.SendPropertyChanged("CreatePerson");
  6743. this.OnCreatePersonChanged();
  6744. }
  6745. }
  6746. }
  6747. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
  6748. public System.DateTime CreateDateTime
  6749. {
  6750. get
  6751. {
  6752. return this._CreateDateTime;
  6753. }
  6754. set
  6755. {
  6756. if ((this._CreateDateTime != value))
  6757. {
  6758. this.OnCreateDateTimeChanging(value);
  6759. this.SendPropertyChanging();
  6760. this._CreateDateTime = value;
  6761. this.SendPropertyChanged("CreateDateTime");
  6762. this.OnCreateDateTimeChanged();
  6763. }
  6764. }
  6765. }
  6766. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6767. public string Status
  6768. {
  6769. get
  6770. {
  6771. return this._Status;
  6772. }
  6773. set
  6774. {
  6775. if ((this._Status != value))
  6776. {
  6777. this.OnStatusChanging(value);
  6778. this.SendPropertyChanging();
  6779. this._Status = value;
  6780. this.SendPropertyChanged("Status");
  6781. this.OnStatusChanged();
  6782. }
  6783. }
  6784. }
  6785. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SDNID", DbType="NVarChar(50)")]
  6786. public string SDNID
  6787. {
  6788. get
  6789. {
  6790. return this._SDNID;
  6791. }
  6792. set
  6793. {
  6794. if ((this._SDNID != value))
  6795. {
  6796. this.OnSDNIDChanging(value);
  6797. this.SendPropertyChanging();
  6798. this._SDNID = value;
  6799. this.SendPropertyChanged("SDNID");
  6800. this.OnSDNIDChanged();
  6801. }
  6802. }
  6803. }
  6804. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SDNDetailID", DbType="NVarChar(50)")]
  6805. public string SDNDetailID
  6806. {
  6807. get
  6808. {
  6809. return this._SDNDetailID;
  6810. }
  6811. set
  6812. {
  6813. if ((this._SDNDetailID != value))
  6814. {
  6815. this.OnSDNDetailIDChanging(value);
  6816. this.SendPropertyChanging();
  6817. this._SDNDetailID = value;
  6818. this.SendPropertyChanged("SDNDetailID");
  6819. this.OnSDNDetailIDChanged();
  6820. }
  6821. }
  6822. }
  6823. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6824. public string ExtensionID
  6825. {
  6826. get
  6827. {
  6828. return this._ExtensionID;
  6829. }
  6830. set
  6831. {
  6832. if ((this._ExtensionID != value))
  6833. {
  6834. this.OnExtensionIDChanging(value);
  6835. this.SendPropertyChanging();
  6836. this._ExtensionID = value;
  6837. this.SendPropertyChanged("ExtensionID");
  6838. this.OnExtensionIDChanged();
  6839. }
  6840. }
  6841. }
  6842. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6843. public string MUSER
  6844. {
  6845. get
  6846. {
  6847. return this._MUSER;
  6848. }
  6849. set
  6850. {
  6851. if ((this._MUSER != value))
  6852. {
  6853. this.OnMUSERChanging(value);
  6854. this.SendPropertyChanging();
  6855. this._MUSER = value;
  6856. this.SendPropertyChanged("MUSER");
  6857. this.OnMUSERChanged();
  6858. }
  6859. }
  6860. }
  6861. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6862. public string MUSERName
  6863. {
  6864. get
  6865. {
  6866. return this._MUSERName;
  6867. }
  6868. set
  6869. {
  6870. if ((this._MUSERName != value))
  6871. {
  6872. this.OnMUSERNameChanging(value);
  6873. this.SendPropertyChanging();
  6874. this._MUSERName = value;
  6875. this.SendPropertyChanged("MUSERName");
  6876. this.OnMUSERNameChanged();
  6877. }
  6878. }
  6879. }
  6880. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  6881. public System.DateTime MTIME
  6882. {
  6883. get
  6884. {
  6885. return this._MTIME;
  6886. }
  6887. set
  6888. {
  6889. if ((this._MTIME != value))
  6890. {
  6891. this.OnMTIMEChanging(value);
  6892. this.SendPropertyChanging();
  6893. this._MTIME = value;
  6894. this.SendPropertyChanged("MTIME");
  6895. this.OnMTIMEChanged();
  6896. }
  6897. }
  6898. }
  6899. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6900. public string WorkPoint
  6901. {
  6902. get
  6903. {
  6904. return this._WorkPoint;
  6905. }
  6906. set
  6907. {
  6908. if ((this._WorkPoint != value))
  6909. {
  6910. this.OnWorkPointChanging(value);
  6911. this.SendPropertyChanging();
  6912. this._WorkPoint = value;
  6913. this.SendPropertyChanged("WorkPoint");
  6914. this.OnWorkPointChanged();
  6915. }
  6916. }
  6917. }
  6918. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  6919. public string EATTRIBUTE1
  6920. {
  6921. get
  6922. {
  6923. return this._EATTRIBUTE1;
  6924. }
  6925. set
  6926. {
  6927. if ((this._EATTRIBUTE1 != value))
  6928. {
  6929. this.OnEATTRIBUTE1Changing(value);
  6930. this.SendPropertyChanging();
  6931. this._EATTRIBUTE1 = value;
  6932. this.SendPropertyChanged("EATTRIBUTE1");
  6933. this.OnEATTRIBUTE1Changed();
  6934. }
  6935. }
  6936. }
  6937. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Points", DbType="NVarChar(4)")]
  6938. public string Points
  6939. {
  6940. get
  6941. {
  6942. return this._Points;
  6943. }
  6944. set
  6945. {
  6946. if ((this._Points != value))
  6947. {
  6948. this.OnPointsChanging(value);
  6949. this.SendPropertyChanging();
  6950. this._Points = value;
  6951. this.SendPropertyChanged("Points");
  6952. this.OnPointsChanged();
  6953. }
  6954. }
  6955. }
  6956. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DeliveryType", DbType="NVarChar(4)")]
  6957. public string DeliveryType
  6958. {
  6959. get
  6960. {
  6961. return this._DeliveryType;
  6962. }
  6963. set
  6964. {
  6965. if ((this._DeliveryType != value))
  6966. {
  6967. this.OnDeliveryTypeChanging(value);
  6968. this.SendPropertyChanging();
  6969. this._DeliveryType = value;
  6970. this.SendPropertyChanged("DeliveryType");
  6971. this.OnDeliveryTypeChanged();
  6972. }
  6973. }
  6974. }
  6975. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DeliveryDescribe", DbType="NVarChar(20)")]
  6976. public string DeliveryDescribe
  6977. {
  6978. get
  6979. {
  6980. return this._DeliveryDescribe;
  6981. }
  6982. set
  6983. {
  6984. if ((this._DeliveryDescribe != value))
  6985. {
  6986. this.OnDeliveryDescribeChanging(value);
  6987. this.SendPropertyChanging();
  6988. this._DeliveryDescribe = value;
  6989. this.SendPropertyChanged("DeliveryDescribe");
  6990. this.OnDeliveryDescribeChanged();
  6991. }
  6992. }
  6993. }
  6994. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvDescribe", DbType="NVarChar(40)")]
  6995. public string InvDescribe
  6996. {
  6997. get
  6998. {
  6999. return this._InvDescribe;
  7000. }
  7001. set
  7002. {
  7003. if ((this._InvDescribe != value))
  7004. {
  7005. this.OnInvDescribeChanging(value);
  7006. this.SendPropertyChanging();
  7007. this._InvDescribe = value;
  7008. this.SendPropertyChanged("InvDescribe");
  7009. this.OnInvDescribeChanged();
  7010. }
  7011. }
  7012. }
  7013. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OtherDescribe", DbType="NVarChar(80)")]
  7014. public string OtherDescribe
  7015. {
  7016. get
  7017. {
  7018. return this._OtherDescribe;
  7019. }
  7020. set
  7021. {
  7022. if ((this._OtherDescribe != value))
  7023. {
  7024. this.OnOtherDescribeChanging(value);
  7025. this.SendPropertyChanging();
  7026. this._OtherDescribe = value;
  7027. this.SendPropertyChanged("OtherDescribe");
  7028. this.OnOtherDescribeChanged();
  7029. }
  7030. }
  7031. }
  7032. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SalesUnit", DbType="NVarChar(10)")]
  7033. public string SalesUnit
  7034. {
  7035. get
  7036. {
  7037. return this._SalesUnit;
  7038. }
  7039. set
  7040. {
  7041. if ((this._SalesUnit != value))
  7042. {
  7043. this.OnSalesUnitChanging(value);
  7044. this.SendPropertyChanging();
  7045. this._SalesUnit = value;
  7046. this.SendPropertyChanged("SalesUnit");
  7047. this.OnSalesUnitChanged();
  7048. }
  7049. }
  7050. }
  7051. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StockIndicator", DbType="NVarChar(1)")]
  7052. public string StockIndicator
  7053. {
  7054. get
  7055. {
  7056. return this._StockIndicator;
  7057. }
  7058. set
  7059. {
  7060. if ((this._StockIndicator != value))
  7061. {
  7062. this.OnStockIndicatorChanging(value);
  7063. this.SendPropertyChanging();
  7064. this._StockIndicator = value;
  7065. this.SendPropertyChanged("StockIndicator");
  7066. this.OnStockIndicatorChanged();
  7067. }
  7068. }
  7069. }
  7070. public event PropertyChangingEventHandler PropertyChanging;
  7071. public event PropertyChangedEventHandler PropertyChanged;
  7072. protected virtual void SendPropertyChanging()
  7073. {
  7074. if ((this.PropertyChanging != null))
  7075. {
  7076. this.PropertyChanging(this, emptyChangingEventArgs);
  7077. }
  7078. }
  7079. protected virtual void SendPropertyChanged(String propertyName)
  7080. {
  7081. if ((this.PropertyChanged != null))
  7082. {
  7083. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  7084. }
  7085. }
  7086. }
  7087. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSInventoryLotDetail")]
  7088. public partial class ICSInventoryLotDetail : INotifyPropertyChanging, INotifyPropertyChanged
  7089. {
  7090. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  7091. private string _LotNo;
  7092. private string _TransCode;
  7093. private string _TransSequence;
  7094. private string _MUSER;
  7095. private string _MUSERName;
  7096. private System.DateTime _MTIME;
  7097. private string _WorkPoint;
  7098. private string _EATTRIBUTE1;
  7099. #region 可扩展性方法定义
  7100. partial void OnLoaded();
  7101. partial void OnValidate(System.Data.Linq.ChangeAction action);
  7102. partial void OnCreated();
  7103. partial void OnLotNoChanging(string value);
  7104. partial void OnLotNoChanged();
  7105. partial void OnTransCodeChanging(string value);
  7106. partial void OnTransCodeChanged();
  7107. partial void OnTransSequenceChanging(string value);
  7108. partial void OnTransSequenceChanged();
  7109. partial void OnMUSERChanging(string value);
  7110. partial void OnMUSERChanged();
  7111. partial void OnMUSERNameChanging(string value);
  7112. partial void OnMUSERNameChanged();
  7113. partial void OnMTIMEChanging(System.DateTime value);
  7114. partial void OnMTIMEChanged();
  7115. partial void OnWorkPointChanging(string value);
  7116. partial void OnWorkPointChanged();
  7117. partial void OnEATTRIBUTE1Changing(string value);
  7118. partial void OnEATTRIBUTE1Changed();
  7119. #endregion
  7120. public ICSInventoryLotDetail()
  7121. {
  7122. OnCreated();
  7123. }
  7124. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LotNo", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  7125. public string LotNo
  7126. {
  7127. get
  7128. {
  7129. return this._LotNo;
  7130. }
  7131. set
  7132. {
  7133. if ((this._LotNo != value))
  7134. {
  7135. this.OnLotNoChanging(value);
  7136. this.SendPropertyChanging();
  7137. this._LotNo = value;
  7138. this.SendPropertyChanged("LotNo");
  7139. this.OnLotNoChanged();
  7140. }
  7141. }
  7142. }
  7143. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  7144. public string TransCode
  7145. {
  7146. get
  7147. {
  7148. return this._TransCode;
  7149. }
  7150. set
  7151. {
  7152. if ((this._TransCode != value))
  7153. {
  7154. this.OnTransCodeChanging(value);
  7155. this.SendPropertyChanging();
  7156. this._TransCode = value;
  7157. this.SendPropertyChanged("TransCode");
  7158. this.OnTransCodeChanged();
  7159. }
  7160. }
  7161. }
  7162. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransSequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  7163. public string TransSequence
  7164. {
  7165. get
  7166. {
  7167. return this._TransSequence;
  7168. }
  7169. set
  7170. {
  7171. if ((this._TransSequence != value))
  7172. {
  7173. this.OnTransSequenceChanging(value);
  7174. this.SendPropertyChanging();
  7175. this._TransSequence = value;
  7176. this.SendPropertyChanged("TransSequence");
  7177. this.OnTransSequenceChanged();
  7178. }
  7179. }
  7180. }
  7181. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  7182. public string MUSER
  7183. {
  7184. get
  7185. {
  7186. return this._MUSER;
  7187. }
  7188. set
  7189. {
  7190. if ((this._MUSER != value))
  7191. {
  7192. this.OnMUSERChanging(value);
  7193. this.SendPropertyChanging();
  7194. this._MUSER = value;
  7195. this.SendPropertyChanged("MUSER");
  7196. this.OnMUSERChanged();
  7197. }
  7198. }
  7199. }
  7200. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  7201. public string MUSERName
  7202. {
  7203. get
  7204. {
  7205. return this._MUSERName;
  7206. }
  7207. set
  7208. {
  7209. if ((this._MUSERName != value))
  7210. {
  7211. this.OnMUSERNameChanging(value);
  7212. this.SendPropertyChanging();
  7213. this._MUSERName = value;
  7214. this.SendPropertyChanged("MUSERName");
  7215. this.OnMUSERNameChanged();
  7216. }
  7217. }
  7218. }
  7219. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  7220. public System.DateTime MTIME
  7221. {
  7222. get
  7223. {
  7224. return this._MTIME;
  7225. }
  7226. set
  7227. {
  7228. if ((this._MTIME != value))
  7229. {
  7230. this.OnMTIMEChanging(value);
  7231. this.SendPropertyChanging();
  7232. this._MTIME = value;
  7233. this.SendPropertyChanged("MTIME");
  7234. this.OnMTIMEChanged();
  7235. }
  7236. }
  7237. }
  7238. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  7239. public string WorkPoint
  7240. {
  7241. get
  7242. {
  7243. return this._WorkPoint;
  7244. }
  7245. set
  7246. {
  7247. if ((this._WorkPoint != value))
  7248. {
  7249. this.OnWorkPointChanging(value);
  7250. this.SendPropertyChanging();
  7251. this._WorkPoint = value;
  7252. this.SendPropertyChanged("WorkPoint");
  7253. this.OnWorkPointChanged();
  7254. }
  7255. }
  7256. }
  7257. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  7258. public string EATTRIBUTE1
  7259. {
  7260. get
  7261. {
  7262. return this._EATTRIBUTE1;
  7263. }
  7264. set
  7265. {
  7266. if ((this._EATTRIBUTE1 != value))
  7267. {
  7268. this.OnEATTRIBUTE1Changing(value);
  7269. this.SendPropertyChanging();
  7270. this._EATTRIBUTE1 = value;
  7271. this.SendPropertyChanged("EATTRIBUTE1");
  7272. this.OnEATTRIBUTE1Changed();
  7273. }
  7274. }
  7275. }
  7276. public event PropertyChangingEventHandler PropertyChanging;
  7277. public event PropertyChangedEventHandler PropertyChanged;
  7278. protected virtual void SendPropertyChanging()
  7279. {
  7280. if ((this.PropertyChanging != null))
  7281. {
  7282. this.PropertyChanging(this, emptyChangingEventArgs);
  7283. }
  7284. }
  7285. protected virtual void SendPropertyChanged(String propertyName)
  7286. {
  7287. if ((this.PropertyChanged != null))
  7288. {
  7289. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  7290. }
  7291. }
  7292. }
  7293. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSWareHouseLotInfoLog")]
  7294. public partial class ICSWareHouseLotInfoLog : INotifyPropertyChanging, INotifyPropertyChanged
  7295. {
  7296. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  7297. private string _ID;
  7298. private string _Identification;
  7299. private string _TransCode;
  7300. private string _TransSequence;
  7301. private string _LotNo;
  7302. private string _InvCode;
  7303. private string _FromWarehouseCode;
  7304. private string _FromLocationCode;
  7305. private string _ToWarehouseCode;
  7306. private string _ToLocationCode;
  7307. private decimal _Quantity;
  7308. private string _Memo;
  7309. private bool _Lock;
  7310. private string _TransType;
  7311. private string _BusinessCode;
  7312. private System.Nullable<bool> _ERPUpload;
  7313. private string _ERPID;
  7314. private string _ERPDetailID;
  7315. private string _ERPCode;
  7316. private string _ERPSequence;
  7317. private string _LogID;
  7318. private string _MergeID;
  7319. private string _MUSER;
  7320. private string _MUSERName;
  7321. private System.Nullable<System.DateTime> _MTIME;
  7322. private string _WorkPoint;
  7323. private string _EATTRIBUTE1;
  7324. private string _EATTRIBUTE2;
  7325. private string _EATTRIBUTE3;
  7326. #region 可扩展性方法定义
  7327. partial void OnLoaded();
  7328. partial void OnValidate(System.Data.Linq.ChangeAction action);
  7329. partial void OnCreated();
  7330. partial void OnIDChanging(string value);
  7331. partial void OnIDChanged();
  7332. partial void OnIdentificationChanging(string value);
  7333. partial void OnIdentificationChanged();
  7334. partial void OnTransCodeChanging(string value);
  7335. partial void OnTransCodeChanged();
  7336. partial void OnTransSequenceChanging(string value);
  7337. partial void OnTransSequenceChanged();
  7338. partial void OnLotNoChanging(string value);
  7339. partial void OnLotNoChanged();
  7340. partial void OnInvCodeChanging(string value);
  7341. partial void OnInvCodeChanged();
  7342. partial void OnFromWarehouseCodeChanging(string value);
  7343. partial void OnFromWarehouseCodeChanged();
  7344. partial void OnFromLocationCodeChanging(string value);
  7345. partial void OnFromLocationCodeChanged();
  7346. partial void OnToWarehouseCodeChanging(string value);
  7347. partial void OnToWarehouseCodeChanged();
  7348. partial void OnToLocationCodeChanging(string value);
  7349. partial void OnToLocationCodeChanged();
  7350. partial void OnQuantityChanging(decimal value);
  7351. partial void OnQuantityChanged();
  7352. partial void OnMemoChanging(string value);
  7353. partial void OnMemoChanged();
  7354. partial void OnLockChanging(bool value);
  7355. partial void OnLockChanged();
  7356. partial void OnTransTypeChanging(string value);
  7357. partial void OnTransTypeChanged();
  7358. partial void OnBusinessCodeChanging(string value);
  7359. partial void OnBusinessCodeChanged();
  7360. partial void OnERPUploadChanging(System.Nullable<bool> value);
  7361. partial void OnERPUploadChanged();
  7362. partial void OnERPIDChanging(string value);
  7363. partial void OnERPIDChanged();
  7364. partial void OnERPDetailIDChanging(string value);
  7365. partial void OnERPDetailIDChanged();
  7366. partial void OnERPCodeChanging(string value);
  7367. partial void OnERPCodeChanged();
  7368. partial void OnERPSequenceChanging(string value);
  7369. partial void OnERPSequenceChanged();
  7370. partial void OnLogIDChanging(string value);
  7371. partial void OnLogIDChanged();
  7372. partial void OnMergeIDChanging(string value);
  7373. partial void OnMergeIDChanged();
  7374. partial void OnMUSERChanging(string value);
  7375. partial void OnMUSERChanged();
  7376. partial void OnMUSERNameChanging(string value);
  7377. partial void OnMUSERNameChanged();
  7378. partial void OnMTIMEChanging(System.Nullable<System.DateTime> value);
  7379. partial void OnMTIMEChanged();
  7380. partial void OnWorkPointChanging(string value);
  7381. partial void OnWorkPointChanged();
  7382. partial void OnEATTRIBUTE1Changing(string value);
  7383. partial void OnEATTRIBUTE1Changed();
  7384. partial void OnEATTRIBUTE2Changing(string value);
  7385. partial void OnEATTRIBUTE2Changed();
  7386. partial void OnEATTRIBUTE3Changing(string value);
  7387. partial void OnEATTRIBUTE3Changed();
  7388. #endregion
  7389. public ICSWareHouseLotInfoLog()
  7390. {
  7391. OnCreated();
  7392. }
  7393. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  7394. public string ID
  7395. {
  7396. get
  7397. {
  7398. return this._ID;
  7399. }
  7400. set
  7401. {
  7402. if ((this._ID != value))
  7403. {
  7404. this.OnIDChanging(value);
  7405. this.SendPropertyChanging();
  7406. this._ID = value;
  7407. this.SendPropertyChanged("ID");
  7408. this.OnIDChanged();
  7409. }
  7410. }
  7411. }
  7412. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Identification", DbType="NVarChar(50)")]
  7413. public string Identification
  7414. {
  7415. get
  7416. {
  7417. return this._Identification;
  7418. }
  7419. set
  7420. {
  7421. if ((this._Identification != value))
  7422. {
  7423. this.OnIdentificationChanging(value);
  7424. this.SendPropertyChanging();
  7425. this._Identification = value;
  7426. this.SendPropertyChanged("Identification");
  7427. this.OnIdentificationChanged();
  7428. }
  7429. }
  7430. }
  7431. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransCode", DbType="NVarChar(100)")]
  7432. public string TransCode
  7433. {
  7434. get
  7435. {
  7436. return this._TransCode;
  7437. }
  7438. set
  7439. {
  7440. if ((this._TransCode != value))
  7441. {
  7442. this.OnTransCodeChanging(value);
  7443. this.SendPropertyChanging();
  7444. this._TransCode = value;
  7445. this.SendPropertyChanged("TransCode");
  7446. this.OnTransCodeChanged();
  7447. }
  7448. }
  7449. }
  7450. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransSequence", DbType="NVarChar(50)")]
  7451. public string TransSequence
  7452. {
  7453. get
  7454. {
  7455. return this._TransSequence;
  7456. }
  7457. set
  7458. {
  7459. if ((this._TransSequence != value))
  7460. {
  7461. this.OnTransSequenceChanging(value);
  7462. this.SendPropertyChanging();
  7463. this._TransSequence = value;
  7464. this.SendPropertyChanged("TransSequence");
  7465. this.OnTransSequenceChanged();
  7466. }
  7467. }
  7468. }
  7469. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LotNo", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  7470. public string LotNo
  7471. {
  7472. get
  7473. {
  7474. return this._LotNo;
  7475. }
  7476. set
  7477. {
  7478. if ((this._LotNo != value))
  7479. {
  7480. this.OnLotNoChanging(value);
  7481. this.SendPropertyChanging();
  7482. this._LotNo = value;
  7483. this.SendPropertyChanged("LotNo");
  7484. this.OnLotNoChanged();
  7485. }
  7486. }
  7487. }
  7488. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  7489. public string InvCode
  7490. {
  7491. get
  7492. {
  7493. return this._InvCode;
  7494. }
  7495. set
  7496. {
  7497. if ((this._InvCode != value))
  7498. {
  7499. this.OnInvCodeChanging(value);
  7500. this.SendPropertyChanging();
  7501. this._InvCode = value;
  7502. this.SendPropertyChanged("InvCode");
  7503. this.OnInvCodeChanged();
  7504. }
  7505. }
  7506. }
  7507. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FromWarehouseCode", DbType="NVarChar(50)")]
  7508. public string FromWarehouseCode
  7509. {
  7510. get
  7511. {
  7512. return this._FromWarehouseCode;
  7513. }
  7514. set
  7515. {
  7516. if ((this._FromWarehouseCode != value))
  7517. {
  7518. this.OnFromWarehouseCodeChanging(value);
  7519. this.SendPropertyChanging();
  7520. this._FromWarehouseCode = value;
  7521. this.SendPropertyChanged("FromWarehouseCode");
  7522. this.OnFromWarehouseCodeChanged();
  7523. }
  7524. }
  7525. }
  7526. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FromLocationCode", DbType="NVarChar(50)")]
  7527. public string FromLocationCode
  7528. {
  7529. get
  7530. {
  7531. return this._FromLocationCode;
  7532. }
  7533. set
  7534. {
  7535. if ((this._FromLocationCode != value))
  7536. {
  7537. this.OnFromLocationCodeChanging(value);
  7538. this.SendPropertyChanging();
  7539. this._FromLocationCode = value;
  7540. this.SendPropertyChanged("FromLocationCode");
  7541. this.OnFromLocationCodeChanged();
  7542. }
  7543. }
  7544. }
  7545. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToWarehouseCode", DbType="NVarChar(50)")]
  7546. public string ToWarehouseCode
  7547. {
  7548. get
  7549. {
  7550. return this._ToWarehouseCode;
  7551. }
  7552. set
  7553. {
  7554. if ((this._ToWarehouseCode != value))
  7555. {
  7556. this.OnToWarehouseCodeChanging(value);
  7557. this.SendPropertyChanging();
  7558. this._ToWarehouseCode = value;
  7559. this.SendPropertyChanged("ToWarehouseCode");
  7560. this.OnToWarehouseCodeChanged();
  7561. }
  7562. }
  7563. }
  7564. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToLocationCode", DbType="NVarChar(50)")]
  7565. public string ToLocationCode
  7566. {
  7567. get
  7568. {
  7569. return this._ToLocationCode;
  7570. }
  7571. set
  7572. {
  7573. if ((this._ToLocationCode != value))
  7574. {
  7575. this.OnToLocationCodeChanging(value);
  7576. this.SendPropertyChanging();
  7577. this._ToLocationCode = value;
  7578. this.SendPropertyChanged("ToLocationCode");
  7579. this.OnToLocationCodeChanged();
  7580. }
  7581. }
  7582. }
  7583. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
  7584. public decimal Quantity
  7585. {
  7586. get
  7587. {
  7588. return this._Quantity;
  7589. }
  7590. set
  7591. {
  7592. if ((this._Quantity != value))
  7593. {
  7594. this.OnQuantityChanging(value);
  7595. this.SendPropertyChanging();
  7596. this._Quantity = value;
  7597. this.SendPropertyChanged("Quantity");
  7598. this.OnQuantityChanged();
  7599. }
  7600. }
  7601. }
  7602. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Memo", DbType="NVarChar(1000)")]
  7603. public string Memo
  7604. {
  7605. get
  7606. {
  7607. return this._Memo;
  7608. }
  7609. set
  7610. {
  7611. if ((this._Memo != value))
  7612. {
  7613. this.OnMemoChanging(value);
  7614. this.SendPropertyChanging();
  7615. this._Memo = value;
  7616. this.SendPropertyChanged("Memo");
  7617. this.OnMemoChanged();
  7618. }
  7619. }
  7620. }
  7621. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Lock", DbType="Bit NOT NULL")]
  7622. public bool Lock
  7623. {
  7624. get
  7625. {
  7626. return this._Lock;
  7627. }
  7628. set
  7629. {
  7630. if ((this._Lock != value))
  7631. {
  7632. this.OnLockChanging(value);
  7633. this.SendPropertyChanging();
  7634. this._Lock = value;
  7635. this.SendPropertyChanged("Lock");
  7636. this.OnLockChanged();
  7637. }
  7638. }
  7639. }
  7640. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransType", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  7641. public string TransType
  7642. {
  7643. get
  7644. {
  7645. return this._TransType;
  7646. }
  7647. set
  7648. {
  7649. if ((this._TransType != value))
  7650. {
  7651. this.OnTransTypeChanging(value);
  7652. this.SendPropertyChanging();
  7653. this._TransType = value;
  7654. this.SendPropertyChanged("TransType");
  7655. this.OnTransTypeChanged();
  7656. }
  7657. }
  7658. }
  7659. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BusinessCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  7660. public string BusinessCode
  7661. {
  7662. get
  7663. {
  7664. return this._BusinessCode;
  7665. }
  7666. set
  7667. {
  7668. if ((this._BusinessCode != value))
  7669. {
  7670. this.OnBusinessCodeChanging(value);
  7671. this.SendPropertyChanging();
  7672. this._BusinessCode = value;
  7673. this.SendPropertyChanged("BusinessCode");
  7674. this.OnBusinessCodeChanged();
  7675. }
  7676. }
  7677. }
  7678. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ERPUpload", DbType="Bit")]
  7679. public System.Nullable<bool> ERPUpload
  7680. {
  7681. get
  7682. {
  7683. return this._ERPUpload;
  7684. }
  7685. set
  7686. {
  7687. if ((this._ERPUpload != value))
  7688. {
  7689. this.OnERPUploadChanging(value);
  7690. this.SendPropertyChanging();
  7691. this._ERPUpload = value;
  7692. this.SendPropertyChanged("ERPUpload");
  7693. this.OnERPUploadChanged();
  7694. }
  7695. }
  7696. }
  7697. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ERPID", DbType="NVarChar(50)")]
  7698. public string ERPID
  7699. {
  7700. get
  7701. {
  7702. return this._ERPID;
  7703. }
  7704. set
  7705. {
  7706. if ((this._ERPID != value))
  7707. {
  7708. this.OnERPIDChanging(value);
  7709. this.SendPropertyChanging();
  7710. this._ERPID = value;
  7711. this.SendPropertyChanged("ERPID");
  7712. this.OnERPIDChanged();
  7713. }
  7714. }
  7715. }
  7716. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ERPDetailID", DbType="NVarChar(50)")]
  7717. public string ERPDetailID
  7718. {
  7719. get
  7720. {
  7721. return this._ERPDetailID;
  7722. }
  7723. set
  7724. {
  7725. if ((this._ERPDetailID != value))
  7726. {
  7727. this.OnERPDetailIDChanging(value);
  7728. this.SendPropertyChanging();
  7729. this._ERPDetailID = value;
  7730. this.SendPropertyChanged("ERPDetailID");
  7731. this.OnERPDetailIDChanged();
  7732. }
  7733. }
  7734. }
  7735. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ERPCode", DbType="NVarChar(50)")]
  7736. public string ERPCode
  7737. {
  7738. get
  7739. {
  7740. return this._ERPCode;
  7741. }
  7742. set
  7743. {
  7744. if ((this._ERPCode != value))
  7745. {
  7746. this.OnERPCodeChanging(value);
  7747. this.SendPropertyChanging();
  7748. this._ERPCode = value;
  7749. this.SendPropertyChanged("ERPCode");
  7750. this.OnERPCodeChanged();
  7751. }
  7752. }
  7753. }
  7754. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ERPSequence", DbType="NVarChar(50)")]
  7755. public string ERPSequence
  7756. {
  7757. get
  7758. {
  7759. return this._ERPSequence;
  7760. }
  7761. set
  7762. {
  7763. if ((this._ERPSequence != value))
  7764. {
  7765. this.OnERPSequenceChanging(value);
  7766. this.SendPropertyChanging();
  7767. this._ERPSequence = value;
  7768. this.SendPropertyChanged("ERPSequence");
  7769. this.OnERPSequenceChanged();
  7770. }
  7771. }
  7772. }
  7773. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LogID", DbType="NVarChar(50)")]
  7774. public string LogID
  7775. {
  7776. get
  7777. {
  7778. return this._LogID;
  7779. }
  7780. set
  7781. {
  7782. if ((this._LogID != value))
  7783. {
  7784. this.OnLogIDChanging(value);
  7785. this.SendPropertyChanging();
  7786. this._LogID = value;
  7787. this.SendPropertyChanged("LogID");
  7788. this.OnLogIDChanged();
  7789. }
  7790. }
  7791. }
  7792. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MergeID", DbType="NVarChar(50)")]
  7793. public string MergeID
  7794. {
  7795. get
  7796. {
  7797. return this._MergeID;
  7798. }
  7799. set
  7800. {
  7801. if ((this._MergeID != value))
  7802. {
  7803. this.OnMergeIDChanging(value);
  7804. this.SendPropertyChanging();
  7805. this._MergeID = value;
  7806. this.SendPropertyChanged("MergeID");
  7807. this.OnMergeIDChanged();
  7808. }
  7809. }
  7810. }
  7811. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  7812. public string MUSER
  7813. {
  7814. get
  7815. {
  7816. return this._MUSER;
  7817. }
  7818. set
  7819. {
  7820. if ((this._MUSER != value))
  7821. {
  7822. this.OnMUSERChanging(value);
  7823. this.SendPropertyChanging();
  7824. this._MUSER = value;
  7825. this.SendPropertyChanged("MUSER");
  7826. this.OnMUSERChanged();
  7827. }
  7828. }
  7829. }
  7830. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  7831. public string MUSERName
  7832. {
  7833. get
  7834. {
  7835. return this._MUSERName;
  7836. }
  7837. set
  7838. {
  7839. if ((this._MUSERName != value))
  7840. {
  7841. this.OnMUSERNameChanging(value);
  7842. this.SendPropertyChanging();
  7843. this._MUSERName = value;
  7844. this.SendPropertyChanged("MUSERName");
  7845. this.OnMUSERNameChanged();
  7846. }
  7847. }
  7848. }
  7849. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime2(7)")]
  7850. public System.Nullable<System.DateTime> MTIME
  7851. {
  7852. get
  7853. {
  7854. return this._MTIME;
  7855. }
  7856. set
  7857. {
  7858. if ((this._MTIME != value))
  7859. {
  7860. this.OnMTIMEChanging(value);
  7861. this.SendPropertyChanging();
  7862. this._MTIME = value;
  7863. this.SendPropertyChanged("MTIME");
  7864. this.OnMTIMEChanged();
  7865. }
  7866. }
  7867. }
  7868. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  7869. public string WorkPoint
  7870. {
  7871. get
  7872. {
  7873. return this._WorkPoint;
  7874. }
  7875. set
  7876. {
  7877. if ((this._WorkPoint != value))
  7878. {
  7879. this.OnWorkPointChanging(value);
  7880. this.SendPropertyChanging();
  7881. this._WorkPoint = value;
  7882. this.SendPropertyChanged("WorkPoint");
  7883. this.OnWorkPointChanged();
  7884. }
  7885. }
  7886. }
  7887. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  7888. public string EATTRIBUTE1
  7889. {
  7890. get
  7891. {
  7892. return this._EATTRIBUTE1;
  7893. }
  7894. set
  7895. {
  7896. if ((this._EATTRIBUTE1 != value))
  7897. {
  7898. this.OnEATTRIBUTE1Changing(value);
  7899. this.SendPropertyChanging();
  7900. this._EATTRIBUTE1 = value;
  7901. this.SendPropertyChanged("EATTRIBUTE1");
  7902. this.OnEATTRIBUTE1Changed();
  7903. }
  7904. }
  7905. }
  7906. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE2", DbType="NVarChar(50)")]
  7907. public string EATTRIBUTE2
  7908. {
  7909. get
  7910. {
  7911. return this._EATTRIBUTE2;
  7912. }
  7913. set
  7914. {
  7915. if ((this._EATTRIBUTE2 != value))
  7916. {
  7917. this.OnEATTRIBUTE2Changing(value);
  7918. this.SendPropertyChanging();
  7919. this._EATTRIBUTE2 = value;
  7920. this.SendPropertyChanged("EATTRIBUTE2");
  7921. this.OnEATTRIBUTE2Changed();
  7922. }
  7923. }
  7924. }
  7925. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE3", DbType="NVarChar(50)")]
  7926. public string EATTRIBUTE3
  7927. {
  7928. get
  7929. {
  7930. return this._EATTRIBUTE3;
  7931. }
  7932. set
  7933. {
  7934. if ((this._EATTRIBUTE3 != value))
  7935. {
  7936. this.OnEATTRIBUTE3Changing(value);
  7937. this.SendPropertyChanging();
  7938. this._EATTRIBUTE3 = value;
  7939. this.SendPropertyChanged("EATTRIBUTE3");
  7940. this.OnEATTRIBUTE3Changed();
  7941. }
  7942. }
  7943. }
  7944. public event PropertyChangingEventHandler PropertyChanging;
  7945. public event PropertyChangedEventHandler PropertyChanged;
  7946. protected virtual void SendPropertyChanging()
  7947. {
  7948. if ((this.PropertyChanging != null))
  7949. {
  7950. this.PropertyChanging(this, emptyChangingEventArgs);
  7951. }
  7952. }
  7953. protected virtual void SendPropertyChanged(String propertyName)
  7954. {
  7955. if ((this.PropertyChanged != null))
  7956. {
  7957. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  7958. }
  7959. }
  7960. }
  7961. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSInventoryLot")]
  7962. public partial class ICSInventoryLot : INotifyPropertyChanging, INotifyPropertyChanged
  7963. {
  7964. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  7965. private string _ID;
  7966. private string _LotNo;
  7967. private string _InvCode;
  7968. private System.DateTime _ProductDate;
  7969. private System.DateTime _ExpirationDate;
  7970. private decimal _Quantity;
  7971. private System.Nullable<decimal> _Amount;
  7972. private string _ExtensionID;
  7973. private string _Type;
  7974. private System.Nullable<int> _PrintTimes;
  7975. private string _LastPrintUser;
  7976. private System.Nullable<System.DateTime> _LastPrintTime;
  7977. private string _MUSER;
  7978. private string _MUSERName;
  7979. private System.DateTime _MTIME;
  7980. private string _WorkPoint;
  7981. private string _EATTRIBUTE1;
  7982. #region 可扩展性方法定义
  7983. partial void OnLoaded();
  7984. partial void OnValidate(System.Data.Linq.ChangeAction action);
  7985. partial void OnCreated();
  7986. partial void OnIDChanging(string value);
  7987. partial void OnIDChanged();
  7988. partial void OnLotNoChanging(string value);
  7989. partial void OnLotNoChanged();
  7990. partial void OnInvCodeChanging(string value);
  7991. partial void OnInvCodeChanged();
  7992. partial void OnProductDateChanging(System.DateTime value);
  7993. partial void OnProductDateChanged();
  7994. partial void OnExpirationDateChanging(System.DateTime value);
  7995. partial void OnExpirationDateChanged();
  7996. partial void OnQuantityChanging(decimal value);
  7997. partial void OnQuantityChanged();
  7998. partial void OnAmountChanging(System.Nullable<decimal> value);
  7999. partial void OnAmountChanged();
  8000. partial void OnExtensionIDChanging(string value);
  8001. partial void OnExtensionIDChanged();
  8002. partial void OnTypeChanging(string value);
  8003. partial void OnTypeChanged();
  8004. partial void OnPrintTimesChanging(System.Nullable<int> value);
  8005. partial void OnPrintTimesChanged();
  8006. partial void OnLastPrintUserChanging(string value);
  8007. partial void OnLastPrintUserChanged();
  8008. partial void OnLastPrintTimeChanging(System.Nullable<System.DateTime> value);
  8009. partial void OnLastPrintTimeChanged();
  8010. partial void OnMUSERChanging(string value);
  8011. partial void OnMUSERChanged();
  8012. partial void OnMUSERNameChanging(string value);
  8013. partial void OnMUSERNameChanged();
  8014. partial void OnMTIMEChanging(System.DateTime value);
  8015. partial void OnMTIMEChanged();
  8016. partial void OnWorkPointChanging(string value);
  8017. partial void OnWorkPointChanged();
  8018. partial void OnEATTRIBUTE1Changing(string value);
  8019. partial void OnEATTRIBUTE1Changed();
  8020. #endregion
  8021. public ICSInventoryLot()
  8022. {
  8023. OnCreated();
  8024. }
  8025. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8026. public string ID
  8027. {
  8028. get
  8029. {
  8030. return this._ID;
  8031. }
  8032. set
  8033. {
  8034. if ((this._ID != value))
  8035. {
  8036. this.OnIDChanging(value);
  8037. this.SendPropertyChanging();
  8038. this._ID = value;
  8039. this.SendPropertyChanged("ID");
  8040. this.OnIDChanged();
  8041. }
  8042. }
  8043. }
  8044. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LotNo", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  8045. public string LotNo
  8046. {
  8047. get
  8048. {
  8049. return this._LotNo;
  8050. }
  8051. set
  8052. {
  8053. if ((this._LotNo != value))
  8054. {
  8055. this.OnLotNoChanging(value);
  8056. this.SendPropertyChanging();
  8057. this._LotNo = value;
  8058. this.SendPropertyChanged("LotNo");
  8059. this.OnLotNoChanged();
  8060. }
  8061. }
  8062. }
  8063. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8064. public string InvCode
  8065. {
  8066. get
  8067. {
  8068. return this._InvCode;
  8069. }
  8070. set
  8071. {
  8072. if ((this._InvCode != value))
  8073. {
  8074. this.OnInvCodeChanging(value);
  8075. this.SendPropertyChanging();
  8076. this._InvCode = value;
  8077. this.SendPropertyChanged("InvCode");
  8078. this.OnInvCodeChanged();
  8079. }
  8080. }
  8081. }
  8082. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProductDate", DbType="DateTime NOT NULL")]
  8083. public System.DateTime ProductDate
  8084. {
  8085. get
  8086. {
  8087. return this._ProductDate;
  8088. }
  8089. set
  8090. {
  8091. if ((this._ProductDate != value))
  8092. {
  8093. this.OnProductDateChanging(value);
  8094. this.SendPropertyChanging();
  8095. this._ProductDate = value;
  8096. this.SendPropertyChanged("ProductDate");
  8097. this.OnProductDateChanged();
  8098. }
  8099. }
  8100. }
  8101. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExpirationDate", DbType="DateTime NOT NULL")]
  8102. public System.DateTime ExpirationDate
  8103. {
  8104. get
  8105. {
  8106. return this._ExpirationDate;
  8107. }
  8108. set
  8109. {
  8110. if ((this._ExpirationDate != value))
  8111. {
  8112. this.OnExpirationDateChanging(value);
  8113. this.SendPropertyChanging();
  8114. this._ExpirationDate = value;
  8115. this.SendPropertyChanged("ExpirationDate");
  8116. this.OnExpirationDateChanged();
  8117. }
  8118. }
  8119. }
  8120. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
  8121. public decimal Quantity
  8122. {
  8123. get
  8124. {
  8125. return this._Quantity;
  8126. }
  8127. set
  8128. {
  8129. if ((this._Quantity != value))
  8130. {
  8131. this.OnQuantityChanging(value);
  8132. this.SendPropertyChanging();
  8133. this._Quantity = value;
  8134. this.SendPropertyChanged("Quantity");
  8135. this.OnQuantityChanged();
  8136. }
  8137. }
  8138. }
  8139. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  8140. public System.Nullable<decimal> Amount
  8141. {
  8142. get
  8143. {
  8144. return this._Amount;
  8145. }
  8146. set
  8147. {
  8148. if ((this._Amount != value))
  8149. {
  8150. this.OnAmountChanging(value);
  8151. this.SendPropertyChanging();
  8152. this._Amount = value;
  8153. this.SendPropertyChanged("Amount");
  8154. this.OnAmountChanged();
  8155. }
  8156. }
  8157. }
  8158. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(100)")]
  8159. public string ExtensionID
  8160. {
  8161. get
  8162. {
  8163. return this._ExtensionID;
  8164. }
  8165. set
  8166. {
  8167. if ((this._ExtensionID != value))
  8168. {
  8169. this.OnExtensionIDChanging(value);
  8170. this.SendPropertyChanging();
  8171. this._ExtensionID = value;
  8172. this.SendPropertyChanged("ExtensionID");
  8173. this.OnExtensionIDChanged();
  8174. }
  8175. }
  8176. }
  8177. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8178. public string Type
  8179. {
  8180. get
  8181. {
  8182. return this._Type;
  8183. }
  8184. set
  8185. {
  8186. if ((this._Type != value))
  8187. {
  8188. this.OnTypeChanging(value);
  8189. this.SendPropertyChanging();
  8190. this._Type = value;
  8191. this.SendPropertyChanged("Type");
  8192. this.OnTypeChanged();
  8193. }
  8194. }
  8195. }
  8196. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PrintTimes", DbType="Int")]
  8197. public System.Nullable<int> PrintTimes
  8198. {
  8199. get
  8200. {
  8201. return this._PrintTimes;
  8202. }
  8203. set
  8204. {
  8205. if ((this._PrintTimes != value))
  8206. {
  8207. this.OnPrintTimesChanging(value);
  8208. this.SendPropertyChanging();
  8209. this._PrintTimes = value;
  8210. this.SendPropertyChanged("PrintTimes");
  8211. this.OnPrintTimesChanged();
  8212. }
  8213. }
  8214. }
  8215. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastPrintUser", DbType="NVarChar(50)")]
  8216. public string LastPrintUser
  8217. {
  8218. get
  8219. {
  8220. return this._LastPrintUser;
  8221. }
  8222. set
  8223. {
  8224. if ((this._LastPrintUser != value))
  8225. {
  8226. this.OnLastPrintUserChanging(value);
  8227. this.SendPropertyChanging();
  8228. this._LastPrintUser = value;
  8229. this.SendPropertyChanged("LastPrintUser");
  8230. this.OnLastPrintUserChanged();
  8231. }
  8232. }
  8233. }
  8234. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastPrintTime", DbType="DateTime")]
  8235. public System.Nullable<System.DateTime> LastPrintTime
  8236. {
  8237. get
  8238. {
  8239. return this._LastPrintTime;
  8240. }
  8241. set
  8242. {
  8243. if ((this._LastPrintTime != value))
  8244. {
  8245. this.OnLastPrintTimeChanging(value);
  8246. this.SendPropertyChanging();
  8247. this._LastPrintTime = value;
  8248. this.SendPropertyChanged("LastPrintTime");
  8249. this.OnLastPrintTimeChanged();
  8250. }
  8251. }
  8252. }
  8253. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8254. public string MUSER
  8255. {
  8256. get
  8257. {
  8258. return this._MUSER;
  8259. }
  8260. set
  8261. {
  8262. if ((this._MUSER != value))
  8263. {
  8264. this.OnMUSERChanging(value);
  8265. this.SendPropertyChanging();
  8266. this._MUSER = value;
  8267. this.SendPropertyChanged("MUSER");
  8268. this.OnMUSERChanged();
  8269. }
  8270. }
  8271. }
  8272. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8273. public string MUSERName
  8274. {
  8275. get
  8276. {
  8277. return this._MUSERName;
  8278. }
  8279. set
  8280. {
  8281. if ((this._MUSERName != value))
  8282. {
  8283. this.OnMUSERNameChanging(value);
  8284. this.SendPropertyChanging();
  8285. this._MUSERName = value;
  8286. this.SendPropertyChanged("MUSERName");
  8287. this.OnMUSERNameChanged();
  8288. }
  8289. }
  8290. }
  8291. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  8292. public System.DateTime MTIME
  8293. {
  8294. get
  8295. {
  8296. return this._MTIME;
  8297. }
  8298. set
  8299. {
  8300. if ((this._MTIME != value))
  8301. {
  8302. this.OnMTIMEChanging(value);
  8303. this.SendPropertyChanging();
  8304. this._MTIME = value;
  8305. this.SendPropertyChanged("MTIME");
  8306. this.OnMTIMEChanged();
  8307. }
  8308. }
  8309. }
  8310. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8311. public string WorkPoint
  8312. {
  8313. get
  8314. {
  8315. return this._WorkPoint;
  8316. }
  8317. set
  8318. {
  8319. if ((this._WorkPoint != value))
  8320. {
  8321. this.OnWorkPointChanging(value);
  8322. this.SendPropertyChanging();
  8323. this._WorkPoint = value;
  8324. this.SendPropertyChanged("WorkPoint");
  8325. this.OnWorkPointChanged();
  8326. }
  8327. }
  8328. }
  8329. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  8330. public string EATTRIBUTE1
  8331. {
  8332. get
  8333. {
  8334. return this._EATTRIBUTE1;
  8335. }
  8336. set
  8337. {
  8338. if ((this._EATTRIBUTE1 != value))
  8339. {
  8340. this.OnEATTRIBUTE1Changing(value);
  8341. this.SendPropertyChanging();
  8342. this._EATTRIBUTE1 = value;
  8343. this.SendPropertyChanged("EATTRIBUTE1");
  8344. this.OnEATTRIBUTE1Changed();
  8345. }
  8346. }
  8347. }
  8348. public event PropertyChangingEventHandler PropertyChanging;
  8349. public event PropertyChangedEventHandler PropertyChanged;
  8350. protected virtual void SendPropertyChanging()
  8351. {
  8352. if ((this.PropertyChanging != null))
  8353. {
  8354. this.PropertyChanging(this, emptyChangingEventArgs);
  8355. }
  8356. }
  8357. protected virtual void SendPropertyChanged(String propertyName)
  8358. {
  8359. if ((this.PropertyChanged != null))
  8360. {
  8361. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  8362. }
  8363. }
  8364. }
  8365. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSWareHouseLotInfo")]
  8366. public partial class ICSWareHouseLotInfo : INotifyPropertyChanging, INotifyPropertyChanged
  8367. {
  8368. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  8369. private string _ID;
  8370. private string _LotNo;
  8371. private string _WarehouseCode;
  8372. private string _LocationCode;
  8373. private string _InvCode;
  8374. private decimal _Quantity;
  8375. private System.Nullable<System.DateTime> _InDate;
  8376. private decimal _LockQuantity;
  8377. private string _MUSER;
  8378. private string _MUSERName;
  8379. private System.Nullable<System.DateTime> _MTIME;
  8380. private string _WorkPoint;
  8381. private string _EATTRIBUTE1;
  8382. #region 可扩展性方法定义
  8383. partial void OnLoaded();
  8384. partial void OnValidate(System.Data.Linq.ChangeAction action);
  8385. partial void OnCreated();
  8386. partial void OnIDChanging(string value);
  8387. partial void OnIDChanged();
  8388. partial void OnLotNoChanging(string value);
  8389. partial void OnLotNoChanged();
  8390. partial void OnWarehouseCodeChanging(string value);
  8391. partial void OnWarehouseCodeChanged();
  8392. partial void OnLocationCodeChanging(string value);
  8393. partial void OnLocationCodeChanged();
  8394. partial void OnInvCodeChanging(string value);
  8395. partial void OnInvCodeChanged();
  8396. partial void OnQuantityChanging(decimal value);
  8397. partial void OnQuantityChanged();
  8398. partial void OnInDateChanging(System.Nullable<System.DateTime> value);
  8399. partial void OnInDateChanged();
  8400. partial void OnLockQuantityChanging(decimal value);
  8401. partial void OnLockQuantityChanged();
  8402. partial void OnMUSERChanging(string value);
  8403. partial void OnMUSERChanged();
  8404. partial void OnMUSERNameChanging(string value);
  8405. partial void OnMUSERNameChanged();
  8406. partial void OnMTIMEChanging(System.Nullable<System.DateTime> value);
  8407. partial void OnMTIMEChanged();
  8408. partial void OnWorkPointChanging(string value);
  8409. partial void OnWorkPointChanged();
  8410. partial void OnEATTRIBUTE1Changing(string value);
  8411. partial void OnEATTRIBUTE1Changed();
  8412. #endregion
  8413. public ICSWareHouseLotInfo()
  8414. {
  8415. OnCreated();
  8416. }
  8417. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8418. public string ID
  8419. {
  8420. get
  8421. {
  8422. return this._ID;
  8423. }
  8424. set
  8425. {
  8426. if ((this._ID != value))
  8427. {
  8428. this.OnIDChanging(value);
  8429. this.SendPropertyChanging();
  8430. this._ID = value;
  8431. this.SendPropertyChanged("ID");
  8432. this.OnIDChanged();
  8433. }
  8434. }
  8435. }
  8436. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LotNo", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  8437. public string LotNo
  8438. {
  8439. get
  8440. {
  8441. return this._LotNo;
  8442. }
  8443. set
  8444. {
  8445. if ((this._LotNo != value))
  8446. {
  8447. this.OnLotNoChanging(value);
  8448. this.SendPropertyChanging();
  8449. this._LotNo = value;
  8450. this.SendPropertyChanged("LotNo");
  8451. this.OnLotNoChanged();
  8452. }
  8453. }
  8454. }
  8455. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WarehouseCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8456. public string WarehouseCode
  8457. {
  8458. get
  8459. {
  8460. return this._WarehouseCode;
  8461. }
  8462. set
  8463. {
  8464. if ((this._WarehouseCode != value))
  8465. {
  8466. this.OnWarehouseCodeChanging(value);
  8467. this.SendPropertyChanging();
  8468. this._WarehouseCode = value;
  8469. this.SendPropertyChanged("WarehouseCode");
  8470. this.OnWarehouseCodeChanged();
  8471. }
  8472. }
  8473. }
  8474. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LocationCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8475. public string LocationCode
  8476. {
  8477. get
  8478. {
  8479. return this._LocationCode;
  8480. }
  8481. set
  8482. {
  8483. if ((this._LocationCode != value))
  8484. {
  8485. this.OnLocationCodeChanging(value);
  8486. this.SendPropertyChanging();
  8487. this._LocationCode = value;
  8488. this.SendPropertyChanged("LocationCode");
  8489. this.OnLocationCodeChanged();
  8490. }
  8491. }
  8492. }
  8493. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8494. public string InvCode
  8495. {
  8496. get
  8497. {
  8498. return this._InvCode;
  8499. }
  8500. set
  8501. {
  8502. if ((this._InvCode != value))
  8503. {
  8504. this.OnInvCodeChanging(value);
  8505. this.SendPropertyChanging();
  8506. this._InvCode = value;
  8507. this.SendPropertyChanged("InvCode");
  8508. this.OnInvCodeChanged();
  8509. }
  8510. }
  8511. }
  8512. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
  8513. public decimal Quantity
  8514. {
  8515. get
  8516. {
  8517. return this._Quantity;
  8518. }
  8519. set
  8520. {
  8521. if ((this._Quantity != value))
  8522. {
  8523. this.OnQuantityChanging(value);
  8524. this.SendPropertyChanging();
  8525. this._Quantity = value;
  8526. this.SendPropertyChanged("Quantity");
  8527. this.OnQuantityChanged();
  8528. }
  8529. }
  8530. }
  8531. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InDate", DbType="DateTime2(7)")]
  8532. public System.Nullable<System.DateTime> InDate
  8533. {
  8534. get
  8535. {
  8536. return this._InDate;
  8537. }
  8538. set
  8539. {
  8540. if ((this._InDate != value))
  8541. {
  8542. this.OnInDateChanging(value);
  8543. this.SendPropertyChanging();
  8544. this._InDate = value;
  8545. this.SendPropertyChanged("InDate");
  8546. this.OnInDateChanged();
  8547. }
  8548. }
  8549. }
  8550. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LockQuantity", DbType="Decimal(18,6) NOT NULL")]
  8551. public decimal LockQuantity
  8552. {
  8553. get
  8554. {
  8555. return this._LockQuantity;
  8556. }
  8557. set
  8558. {
  8559. if ((this._LockQuantity != value))
  8560. {
  8561. this.OnLockQuantityChanging(value);
  8562. this.SendPropertyChanging();
  8563. this._LockQuantity = value;
  8564. this.SendPropertyChanged("LockQuantity");
  8565. this.OnLockQuantityChanged();
  8566. }
  8567. }
  8568. }
  8569. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8570. public string MUSER
  8571. {
  8572. get
  8573. {
  8574. return this._MUSER;
  8575. }
  8576. set
  8577. {
  8578. if ((this._MUSER != value))
  8579. {
  8580. this.OnMUSERChanging(value);
  8581. this.SendPropertyChanging();
  8582. this._MUSER = value;
  8583. this.SendPropertyChanged("MUSER");
  8584. this.OnMUSERChanged();
  8585. }
  8586. }
  8587. }
  8588. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8589. public string MUSERName
  8590. {
  8591. get
  8592. {
  8593. return this._MUSERName;
  8594. }
  8595. set
  8596. {
  8597. if ((this._MUSERName != value))
  8598. {
  8599. this.OnMUSERNameChanging(value);
  8600. this.SendPropertyChanging();
  8601. this._MUSERName = value;
  8602. this.SendPropertyChanged("MUSERName");
  8603. this.OnMUSERNameChanged();
  8604. }
  8605. }
  8606. }
  8607. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime2(7)")]
  8608. public System.Nullable<System.DateTime> MTIME
  8609. {
  8610. get
  8611. {
  8612. return this._MTIME;
  8613. }
  8614. set
  8615. {
  8616. if ((this._MTIME != value))
  8617. {
  8618. this.OnMTIMEChanging(value);
  8619. this.SendPropertyChanging();
  8620. this._MTIME = value;
  8621. this.SendPropertyChanged("MTIME");
  8622. this.OnMTIMEChanged();
  8623. }
  8624. }
  8625. }
  8626. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8627. public string WorkPoint
  8628. {
  8629. get
  8630. {
  8631. return this._WorkPoint;
  8632. }
  8633. set
  8634. {
  8635. if ((this._WorkPoint != value))
  8636. {
  8637. this.OnWorkPointChanging(value);
  8638. this.SendPropertyChanging();
  8639. this._WorkPoint = value;
  8640. this.SendPropertyChanged("WorkPoint");
  8641. this.OnWorkPointChanged();
  8642. }
  8643. }
  8644. }
  8645. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  8646. public string EATTRIBUTE1
  8647. {
  8648. get
  8649. {
  8650. return this._EATTRIBUTE1;
  8651. }
  8652. set
  8653. {
  8654. if ((this._EATTRIBUTE1 != value))
  8655. {
  8656. this.OnEATTRIBUTE1Changing(value);
  8657. this.SendPropertyChanging();
  8658. this._EATTRIBUTE1 = value;
  8659. this.SendPropertyChanged("EATTRIBUTE1");
  8660. this.OnEATTRIBUTE1Changed();
  8661. }
  8662. }
  8663. }
  8664. public event PropertyChangingEventHandler PropertyChanging;
  8665. public event PropertyChangedEventHandler PropertyChanged;
  8666. protected virtual void SendPropertyChanging()
  8667. {
  8668. if ((this.PropertyChanging != null))
  8669. {
  8670. this.PropertyChanging(this, emptyChangingEventArgs);
  8671. }
  8672. }
  8673. protected virtual void SendPropertyChanged(String propertyName)
  8674. {
  8675. if ((this.PropertyChanged != null))
  8676. {
  8677. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  8678. }
  8679. }
  8680. }
  8681. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSLocation")]
  8682. public partial class ICSLocation : INotifyPropertyChanging, INotifyPropertyChanged
  8683. {
  8684. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  8685. private string _ID;
  8686. private string _LocationCode;
  8687. private string _LocationName;
  8688. private string _WHID;
  8689. private string _MUSER;
  8690. private string _MUSERName;
  8691. private System.DateTime _MTIME;
  8692. private string _WorkPoint;
  8693. private string _EATTRIBUTE1;
  8694. private string _Region;
  8695. private string _Row;
  8696. private string _GoodsShelf;
  8697. private string _Tier;
  8698. private string _Grid;
  8699. #region 可扩展性方法定义
  8700. partial void OnLoaded();
  8701. partial void OnValidate(System.Data.Linq.ChangeAction action);
  8702. partial void OnCreated();
  8703. partial void OnIDChanging(string value);
  8704. partial void OnIDChanged();
  8705. partial void OnLocationCodeChanging(string value);
  8706. partial void OnLocationCodeChanged();
  8707. partial void OnLocationNameChanging(string value);
  8708. partial void OnLocationNameChanged();
  8709. partial void OnWHIDChanging(string value);
  8710. partial void OnWHIDChanged();
  8711. partial void OnMUSERChanging(string value);
  8712. partial void OnMUSERChanged();
  8713. partial void OnMUSERNameChanging(string value);
  8714. partial void OnMUSERNameChanged();
  8715. partial void OnMTIMEChanging(System.DateTime value);
  8716. partial void OnMTIMEChanged();
  8717. partial void OnWorkPointChanging(string value);
  8718. partial void OnWorkPointChanged();
  8719. partial void OnEATTRIBUTE1Changing(string value);
  8720. partial void OnEATTRIBUTE1Changed();
  8721. partial void OnRegionChanging(string value);
  8722. partial void OnRegionChanged();
  8723. partial void OnRowChanging(string value);
  8724. partial void OnRowChanged();
  8725. partial void OnGoodsShelfChanging(string value);
  8726. partial void OnGoodsShelfChanged();
  8727. partial void OnTierChanging(string value);
  8728. partial void OnTierChanged();
  8729. partial void OnGridChanging(string value);
  8730. partial void OnGridChanged();
  8731. #endregion
  8732. public ICSLocation()
  8733. {
  8734. OnCreated();
  8735. }
  8736. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  8737. public string ID
  8738. {
  8739. get
  8740. {
  8741. return this._ID;
  8742. }
  8743. set
  8744. {
  8745. if ((this._ID != value))
  8746. {
  8747. this.OnIDChanging(value);
  8748. this.SendPropertyChanging();
  8749. this._ID = value;
  8750. this.SendPropertyChanged("ID");
  8751. this.OnIDChanged();
  8752. }
  8753. }
  8754. }
  8755. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LocationCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8756. public string LocationCode
  8757. {
  8758. get
  8759. {
  8760. return this._LocationCode;
  8761. }
  8762. set
  8763. {
  8764. if ((this._LocationCode != value))
  8765. {
  8766. this.OnLocationCodeChanging(value);
  8767. this.SendPropertyChanging();
  8768. this._LocationCode = value;
  8769. this.SendPropertyChanged("LocationCode");
  8770. this.OnLocationCodeChanged();
  8771. }
  8772. }
  8773. }
  8774. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LocationName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8775. public string LocationName
  8776. {
  8777. get
  8778. {
  8779. return this._LocationName;
  8780. }
  8781. set
  8782. {
  8783. if ((this._LocationName != value))
  8784. {
  8785. this.OnLocationNameChanging(value);
  8786. this.SendPropertyChanging();
  8787. this._LocationName = value;
  8788. this.SendPropertyChanged("LocationName");
  8789. this.OnLocationNameChanged();
  8790. }
  8791. }
  8792. }
  8793. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8794. public string WHID
  8795. {
  8796. get
  8797. {
  8798. return this._WHID;
  8799. }
  8800. set
  8801. {
  8802. if ((this._WHID != value))
  8803. {
  8804. this.OnWHIDChanging(value);
  8805. this.SendPropertyChanging();
  8806. this._WHID = value;
  8807. this.SendPropertyChanged("WHID");
  8808. this.OnWHIDChanged();
  8809. }
  8810. }
  8811. }
  8812. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8813. public string MUSER
  8814. {
  8815. get
  8816. {
  8817. return this._MUSER;
  8818. }
  8819. set
  8820. {
  8821. if ((this._MUSER != value))
  8822. {
  8823. this.OnMUSERChanging(value);
  8824. this.SendPropertyChanging();
  8825. this._MUSER = value;
  8826. this.SendPropertyChanged("MUSER");
  8827. this.OnMUSERChanged();
  8828. }
  8829. }
  8830. }
  8831. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50)")]
  8832. public string MUSERName
  8833. {
  8834. get
  8835. {
  8836. return this._MUSERName;
  8837. }
  8838. set
  8839. {
  8840. if ((this._MUSERName != value))
  8841. {
  8842. this.OnMUSERNameChanging(value);
  8843. this.SendPropertyChanging();
  8844. this._MUSERName = value;
  8845. this.SendPropertyChanged("MUSERName");
  8846. this.OnMUSERNameChanged();
  8847. }
  8848. }
  8849. }
  8850. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  8851. public System.DateTime MTIME
  8852. {
  8853. get
  8854. {
  8855. return this._MTIME;
  8856. }
  8857. set
  8858. {
  8859. if ((this._MTIME != value))
  8860. {
  8861. this.OnMTIMEChanging(value);
  8862. this.SendPropertyChanging();
  8863. this._MTIME = value;
  8864. this.SendPropertyChanged("MTIME");
  8865. this.OnMTIMEChanged();
  8866. }
  8867. }
  8868. }
  8869. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="VarChar(50) NOT NULL", CanBeNull=false)]
  8870. public string WorkPoint
  8871. {
  8872. get
  8873. {
  8874. return this._WorkPoint;
  8875. }
  8876. set
  8877. {
  8878. if ((this._WorkPoint != value))
  8879. {
  8880. this.OnWorkPointChanging(value);
  8881. this.SendPropertyChanging();
  8882. this._WorkPoint = value;
  8883. this.SendPropertyChanged("WorkPoint");
  8884. this.OnWorkPointChanged();
  8885. }
  8886. }
  8887. }
  8888. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  8889. public string EATTRIBUTE1
  8890. {
  8891. get
  8892. {
  8893. return this._EATTRIBUTE1;
  8894. }
  8895. set
  8896. {
  8897. if ((this._EATTRIBUTE1 != value))
  8898. {
  8899. this.OnEATTRIBUTE1Changing(value);
  8900. this.SendPropertyChanging();
  8901. this._EATTRIBUTE1 = value;
  8902. this.SendPropertyChanged("EATTRIBUTE1");
  8903. this.OnEATTRIBUTE1Changed();
  8904. }
  8905. }
  8906. }
  8907. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Region", DbType="NVarChar(50)")]
  8908. public string Region
  8909. {
  8910. get
  8911. {
  8912. return this._Region;
  8913. }
  8914. set
  8915. {
  8916. if ((this._Region != value))
  8917. {
  8918. this.OnRegionChanging(value);
  8919. this.SendPropertyChanging();
  8920. this._Region = value;
  8921. this.SendPropertyChanged("Region");
  8922. this.OnRegionChanged();
  8923. }
  8924. }
  8925. }
  8926. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Row", DbType="NVarChar(50)")]
  8927. public string Row
  8928. {
  8929. get
  8930. {
  8931. return this._Row;
  8932. }
  8933. set
  8934. {
  8935. if ((this._Row != value))
  8936. {
  8937. this.OnRowChanging(value);
  8938. this.SendPropertyChanging();
  8939. this._Row = value;
  8940. this.SendPropertyChanged("Row");
  8941. this.OnRowChanged();
  8942. }
  8943. }
  8944. }
  8945. [global::System.Data.Linq.Mapping.ColumnAttribute(Name="GoodsShelf ", Storage="_GoodsShelf", DbType="NVarChar(50)")]
  8946. public string GoodsShelf
  8947. {
  8948. get
  8949. {
  8950. return this._GoodsShelf;
  8951. }
  8952. set
  8953. {
  8954. if ((this._GoodsShelf != value))
  8955. {
  8956. this.OnGoodsShelfChanging(value);
  8957. this.SendPropertyChanging();
  8958. this._GoodsShelf = value;
  8959. this.SendPropertyChanged("GoodsShelf");
  8960. this.OnGoodsShelfChanged();
  8961. }
  8962. }
  8963. }
  8964. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Tier", DbType="NVarChar(50)")]
  8965. public string Tier
  8966. {
  8967. get
  8968. {
  8969. return this._Tier;
  8970. }
  8971. set
  8972. {
  8973. if ((this._Tier != value))
  8974. {
  8975. this.OnTierChanging(value);
  8976. this.SendPropertyChanging();
  8977. this._Tier = value;
  8978. this.SendPropertyChanged("Tier");
  8979. this.OnTierChanged();
  8980. }
  8981. }
  8982. }
  8983. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Grid", DbType="NVarChar(50)")]
  8984. public string Grid
  8985. {
  8986. get
  8987. {
  8988. return this._Grid;
  8989. }
  8990. set
  8991. {
  8992. if ((this._Grid != value))
  8993. {
  8994. this.OnGridChanging(value);
  8995. this.SendPropertyChanging();
  8996. this._Grid = value;
  8997. this.SendPropertyChanged("Grid");
  8998. this.OnGridChanged();
  8999. }
  9000. }
  9001. }
  9002. public event PropertyChangingEventHandler PropertyChanging;
  9003. public event PropertyChangedEventHandler PropertyChanged;
  9004. protected virtual void SendPropertyChanging()
  9005. {
  9006. if ((this.PropertyChanging != null))
  9007. {
  9008. this.PropertyChanging(this, emptyChangingEventArgs);
  9009. }
  9010. }
  9011. protected virtual void SendPropertyChanged(String propertyName)
  9012. {
  9013. if ((this.PropertyChanged != null))
  9014. {
  9015. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  9016. }
  9017. }
  9018. }
  9019. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSWarehouse")]
  9020. public partial class ICSWarehouse : INotifyPropertyChanging, INotifyPropertyChanged
  9021. {
  9022. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  9023. private string _ID;
  9024. private string _WarehouseCode;
  9025. private string _WarehouseName;
  9026. private bool _Enable;
  9027. private bool _BatchEnable;
  9028. private bool _Asset;
  9029. private bool _Proxy;
  9030. private bool _InCost;
  9031. private string _MUSER;
  9032. private string _MUSERName;
  9033. private System.DateTime _MTIME;
  9034. private string _WorkPoint;
  9035. private string _EATTRIBUTE1;
  9036. #region 可扩展性方法定义
  9037. partial void OnLoaded();
  9038. partial void OnValidate(System.Data.Linq.ChangeAction action);
  9039. partial void OnCreated();
  9040. partial void OnIDChanging(string value);
  9041. partial void OnIDChanged();
  9042. partial void OnWarehouseCodeChanging(string value);
  9043. partial void OnWarehouseCodeChanged();
  9044. partial void OnWarehouseNameChanging(string value);
  9045. partial void OnWarehouseNameChanged();
  9046. partial void OnEnableChanging(bool value);
  9047. partial void OnEnableChanged();
  9048. partial void OnBatchEnableChanging(bool value);
  9049. partial void OnBatchEnableChanged();
  9050. partial void OnAssetChanging(bool value);
  9051. partial void OnAssetChanged();
  9052. partial void OnProxyChanging(bool value);
  9053. partial void OnProxyChanged();
  9054. partial void OnInCostChanging(bool value);
  9055. partial void OnInCostChanged();
  9056. partial void OnMUSERChanging(string value);
  9057. partial void OnMUSERChanged();
  9058. partial void OnMUSERNameChanging(string value);
  9059. partial void OnMUSERNameChanged();
  9060. partial void OnMTIMEChanging(System.DateTime value);
  9061. partial void OnMTIMEChanged();
  9062. partial void OnWorkPointChanging(string value);
  9063. partial void OnWorkPointChanged();
  9064. partial void OnEATTRIBUTE1Changing(string value);
  9065. partial void OnEATTRIBUTE1Changed();
  9066. #endregion
  9067. public ICSWarehouse()
  9068. {
  9069. OnCreated();
  9070. }
  9071. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  9072. public string ID
  9073. {
  9074. get
  9075. {
  9076. return this._ID;
  9077. }
  9078. set
  9079. {
  9080. if ((this._ID != value))
  9081. {
  9082. this.OnIDChanging(value);
  9083. this.SendPropertyChanging();
  9084. this._ID = value;
  9085. this.SendPropertyChanged("ID");
  9086. this.OnIDChanged();
  9087. }
  9088. }
  9089. }
  9090. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WarehouseCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  9091. public string WarehouseCode
  9092. {
  9093. get
  9094. {
  9095. return this._WarehouseCode;
  9096. }
  9097. set
  9098. {
  9099. if ((this._WarehouseCode != value))
  9100. {
  9101. this.OnWarehouseCodeChanging(value);
  9102. this.SendPropertyChanging();
  9103. this._WarehouseCode = value;
  9104. this.SendPropertyChanged("WarehouseCode");
  9105. this.OnWarehouseCodeChanged();
  9106. }
  9107. }
  9108. }
  9109. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WarehouseName", DbType="NVarChar(100) NOT NULL", CanBeNull=false)]
  9110. public string WarehouseName
  9111. {
  9112. get
  9113. {
  9114. return this._WarehouseName;
  9115. }
  9116. set
  9117. {
  9118. if ((this._WarehouseName != value))
  9119. {
  9120. this.OnWarehouseNameChanging(value);
  9121. this.SendPropertyChanging();
  9122. this._WarehouseName = value;
  9123. this.SendPropertyChanged("WarehouseName");
  9124. this.OnWarehouseNameChanged();
  9125. }
  9126. }
  9127. }
  9128. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Enable", DbType="Bit NOT NULL")]
  9129. public bool Enable
  9130. {
  9131. get
  9132. {
  9133. return this._Enable;
  9134. }
  9135. set
  9136. {
  9137. if ((this._Enable != value))
  9138. {
  9139. this.OnEnableChanging(value);
  9140. this.SendPropertyChanging();
  9141. this._Enable = value;
  9142. this.SendPropertyChanged("Enable");
  9143. this.OnEnableChanged();
  9144. }
  9145. }
  9146. }
  9147. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchEnable", DbType="Bit NOT NULL")]
  9148. public bool BatchEnable
  9149. {
  9150. get
  9151. {
  9152. return this._BatchEnable;
  9153. }
  9154. set
  9155. {
  9156. if ((this._BatchEnable != value))
  9157. {
  9158. this.OnBatchEnableChanging(value);
  9159. this.SendPropertyChanging();
  9160. this._BatchEnable = value;
  9161. this.SendPropertyChanged("BatchEnable");
  9162. this.OnBatchEnableChanged();
  9163. }
  9164. }
  9165. }
  9166. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Asset", DbType="Bit NOT NULL")]
  9167. public bool Asset
  9168. {
  9169. get
  9170. {
  9171. return this._Asset;
  9172. }
  9173. set
  9174. {
  9175. if ((this._Asset != value))
  9176. {
  9177. this.OnAssetChanging(value);
  9178. this.SendPropertyChanging();
  9179. this._Asset = value;
  9180. this.SendPropertyChanged("Asset");
  9181. this.OnAssetChanged();
  9182. }
  9183. }
  9184. }
  9185. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Proxy", DbType="Bit NOT NULL")]
  9186. public bool Proxy
  9187. {
  9188. get
  9189. {
  9190. return this._Proxy;
  9191. }
  9192. set
  9193. {
  9194. if ((this._Proxy != value))
  9195. {
  9196. this.OnProxyChanging(value);
  9197. this.SendPropertyChanging();
  9198. this._Proxy = value;
  9199. this.SendPropertyChanged("Proxy");
  9200. this.OnProxyChanged();
  9201. }
  9202. }
  9203. }
  9204. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InCost", DbType="Bit NOT NULL")]
  9205. public bool InCost
  9206. {
  9207. get
  9208. {
  9209. return this._InCost;
  9210. }
  9211. set
  9212. {
  9213. if ((this._InCost != value))
  9214. {
  9215. this.OnInCostChanging(value);
  9216. this.SendPropertyChanging();
  9217. this._InCost = value;
  9218. this.SendPropertyChanged("InCost");
  9219. this.OnInCostChanged();
  9220. }
  9221. }
  9222. }
  9223. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  9224. public string MUSER
  9225. {
  9226. get
  9227. {
  9228. return this._MUSER;
  9229. }
  9230. set
  9231. {
  9232. if ((this._MUSER != value))
  9233. {
  9234. this.OnMUSERChanging(value);
  9235. this.SendPropertyChanging();
  9236. this._MUSER = value;
  9237. this.SendPropertyChanged("MUSER");
  9238. this.OnMUSERChanged();
  9239. }
  9240. }
  9241. }
  9242. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50)")]
  9243. public string MUSERName
  9244. {
  9245. get
  9246. {
  9247. return this._MUSERName;
  9248. }
  9249. set
  9250. {
  9251. if ((this._MUSERName != value))
  9252. {
  9253. this.OnMUSERNameChanging(value);
  9254. this.SendPropertyChanging();
  9255. this._MUSERName = value;
  9256. this.SendPropertyChanged("MUSERName");
  9257. this.OnMUSERNameChanged();
  9258. }
  9259. }
  9260. }
  9261. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  9262. public System.DateTime MTIME
  9263. {
  9264. get
  9265. {
  9266. return this._MTIME;
  9267. }
  9268. set
  9269. {
  9270. if ((this._MTIME != value))
  9271. {
  9272. this.OnMTIMEChanging(value);
  9273. this.SendPropertyChanging();
  9274. this._MTIME = value;
  9275. this.SendPropertyChanged("MTIME");
  9276. this.OnMTIMEChanged();
  9277. }
  9278. }
  9279. }
  9280. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="VarChar(50) NOT NULL", CanBeNull=false)]
  9281. public string WorkPoint
  9282. {
  9283. get
  9284. {
  9285. return this._WorkPoint;
  9286. }
  9287. set
  9288. {
  9289. if ((this._WorkPoint != value))
  9290. {
  9291. this.OnWorkPointChanging(value);
  9292. this.SendPropertyChanging();
  9293. this._WorkPoint = value;
  9294. this.SendPropertyChanged("WorkPoint");
  9295. this.OnWorkPointChanged();
  9296. }
  9297. }
  9298. }
  9299. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  9300. public string EATTRIBUTE1
  9301. {
  9302. get
  9303. {
  9304. return this._EATTRIBUTE1;
  9305. }
  9306. set
  9307. {
  9308. if ((this._EATTRIBUTE1 != value))
  9309. {
  9310. this.OnEATTRIBUTE1Changing(value);
  9311. this.SendPropertyChanging();
  9312. this._EATTRIBUTE1 = value;
  9313. this.SendPropertyChanged("EATTRIBUTE1");
  9314. this.OnEATTRIBUTE1Changed();
  9315. }
  9316. }
  9317. }
  9318. public event PropertyChangingEventHandler PropertyChanging;
  9319. public event PropertyChangedEventHandler PropertyChanged;
  9320. protected virtual void SendPropertyChanging()
  9321. {
  9322. if ((this.PropertyChanging != null))
  9323. {
  9324. this.PropertyChanging(this, emptyChangingEventArgs);
  9325. }
  9326. }
  9327. protected virtual void SendPropertyChanged(String propertyName)
  9328. {
  9329. if ((this.PropertyChanged != null))
  9330. {
  9331. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  9332. }
  9333. }
  9334. }
  9335. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSOtherOut")]
  9336. public partial class ICSOtherOut : INotifyPropertyChanging, INotifyPropertyChanged
  9337. {
  9338. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  9339. private string _ID;
  9340. private string _OutCode;
  9341. private string _WHCode;
  9342. private string _Sequence;
  9343. private string _InvCode;
  9344. private decimal _Quantity;
  9345. private System.Nullable<decimal> _Amount;
  9346. private System.Nullable<decimal> _OutQuantity;
  9347. private string _Status;
  9348. private string _CreatePerson;
  9349. private System.DateTime _CreateDateTime;
  9350. private string _OutID;
  9351. private string _OutDetailID;
  9352. private string _TransferID;
  9353. private string _TransferDetailID;
  9354. private string _ExtensionID;
  9355. private string _MUSER;
  9356. private string _MUSERName;
  9357. private System.DateTime _MTIME;
  9358. private string _WorkPoint;
  9359. private string _EATTRIBUTE1;
  9360. private string _OrderType;
  9361. private string _TypeDescribe;
  9362. private string _CostCenter;
  9363. private string _Remarks;
  9364. private string _PersonNumber;
  9365. private string _InvDescribe;
  9366. private string _Unit;
  9367. private string _StockIndicator;
  9368. #region 可扩展性方法定义
  9369. partial void OnLoaded();
  9370. partial void OnValidate(System.Data.Linq.ChangeAction action);
  9371. partial void OnCreated();
  9372. partial void OnIDChanging(string value);
  9373. partial void OnIDChanged();
  9374. partial void OnOutCodeChanging(string value);
  9375. partial void OnOutCodeChanged();
  9376. partial void OnWHCodeChanging(string value);
  9377. partial void OnWHCodeChanged();
  9378. partial void OnSequenceChanging(string value);
  9379. partial void OnSequenceChanged();
  9380. partial void OnInvCodeChanging(string value);
  9381. partial void OnInvCodeChanged();
  9382. partial void OnQuantityChanging(decimal value);
  9383. partial void OnQuantityChanged();
  9384. partial void OnAmountChanging(System.Nullable<decimal> value);
  9385. partial void OnAmountChanged();
  9386. partial void OnOutQuantityChanging(System.Nullable<decimal> value);
  9387. partial void OnOutQuantityChanged();
  9388. partial void OnStatusChanging(string value);
  9389. partial void OnStatusChanged();
  9390. partial void OnCreatePersonChanging(string value);
  9391. partial void OnCreatePersonChanged();
  9392. partial void OnCreateDateTimeChanging(System.DateTime value);
  9393. partial void OnCreateDateTimeChanged();
  9394. partial void OnOutIDChanging(string value);
  9395. partial void OnOutIDChanged();
  9396. partial void OnOutDetailIDChanging(string value);
  9397. partial void OnOutDetailIDChanged();
  9398. partial void OnTransferIDChanging(string value);
  9399. partial void OnTransferIDChanged();
  9400. partial void OnTransferDetailIDChanging(string value);
  9401. partial void OnTransferDetailIDChanged();
  9402. partial void OnExtensionIDChanging(string value);
  9403. partial void OnExtensionIDChanged();
  9404. partial void OnMUSERChanging(string value);
  9405. partial void OnMUSERChanged();
  9406. partial void OnMUSERNameChanging(string value);
  9407. partial void OnMUSERNameChanged();
  9408. partial void OnMTIMEChanging(System.DateTime value);
  9409. partial void OnMTIMEChanged();
  9410. partial void OnWorkPointChanging(string value);
  9411. partial void OnWorkPointChanged();
  9412. partial void OnEATTRIBUTE1Changing(string value);
  9413. partial void OnEATTRIBUTE1Changed();
  9414. partial void OnOrderTypeChanging(string value);
  9415. partial void OnOrderTypeChanged();
  9416. partial void OnTypeDescribeChanging(string value);
  9417. partial void OnTypeDescribeChanged();
  9418. partial void OnCostCenterChanging(string value);
  9419. partial void OnCostCenterChanged();
  9420. partial void OnRemarksChanging(string value);
  9421. partial void OnRemarksChanged();
  9422. partial void OnPersonNumberChanging(string value);
  9423. partial void OnPersonNumberChanged();
  9424. partial void OnInvDescribeChanging(string value);
  9425. partial void OnInvDescribeChanged();
  9426. partial void OnUnitChanging(string value);
  9427. partial void OnUnitChanged();
  9428. partial void OnStockIndicatorChanging(string value);
  9429. partial void OnStockIndicatorChanged();
  9430. #endregion
  9431. public ICSOtherOut()
  9432. {
  9433. OnCreated();
  9434. }
  9435. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  9436. public string ID
  9437. {
  9438. get
  9439. {
  9440. return this._ID;
  9441. }
  9442. set
  9443. {
  9444. if ((this._ID != value))
  9445. {
  9446. this.OnIDChanging(value);
  9447. this.SendPropertyChanging();
  9448. this._ID = value;
  9449. this.SendPropertyChanged("ID");
  9450. this.OnIDChanged();
  9451. }
  9452. }
  9453. }
  9454. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  9455. public string OutCode
  9456. {
  9457. get
  9458. {
  9459. return this._OutCode;
  9460. }
  9461. set
  9462. {
  9463. if ((this._OutCode != value))
  9464. {
  9465. this.OnOutCodeChanging(value);
  9466. this.SendPropertyChanging();
  9467. this._OutCode = value;
  9468. this.SendPropertyChanged("OutCode");
  9469. this.OnOutCodeChanged();
  9470. }
  9471. }
  9472. }
  9473. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  9474. public string WHCode
  9475. {
  9476. get
  9477. {
  9478. return this._WHCode;
  9479. }
  9480. set
  9481. {
  9482. if ((this._WHCode != value))
  9483. {
  9484. this.OnWHCodeChanging(value);
  9485. this.SendPropertyChanging();
  9486. this._WHCode = value;
  9487. this.SendPropertyChanged("WHCode");
  9488. this.OnWHCodeChanged();
  9489. }
  9490. }
  9491. }
  9492. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  9493. public string Sequence
  9494. {
  9495. get
  9496. {
  9497. return this._Sequence;
  9498. }
  9499. set
  9500. {
  9501. if ((this._Sequence != value))
  9502. {
  9503. this.OnSequenceChanging(value);
  9504. this.SendPropertyChanging();
  9505. this._Sequence = value;
  9506. this.SendPropertyChanged("Sequence");
  9507. this.OnSequenceChanged();
  9508. }
  9509. }
  9510. }
  9511. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  9512. public string InvCode
  9513. {
  9514. get
  9515. {
  9516. return this._InvCode;
  9517. }
  9518. set
  9519. {
  9520. if ((this._InvCode != value))
  9521. {
  9522. this.OnInvCodeChanging(value);
  9523. this.SendPropertyChanging();
  9524. this._InvCode = value;
  9525. this.SendPropertyChanged("InvCode");
  9526. this.OnInvCodeChanged();
  9527. }
  9528. }
  9529. }
  9530. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,3) NOT NULL")]
  9531. public decimal Quantity
  9532. {
  9533. get
  9534. {
  9535. return this._Quantity;
  9536. }
  9537. set
  9538. {
  9539. if ((this._Quantity != value))
  9540. {
  9541. this.OnQuantityChanging(value);
  9542. this.SendPropertyChanging();
  9543. this._Quantity = value;
  9544. this.SendPropertyChanged("Quantity");
  9545. this.OnQuantityChanged();
  9546. }
  9547. }
  9548. }
  9549. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  9550. public System.Nullable<decimal> Amount
  9551. {
  9552. get
  9553. {
  9554. return this._Amount;
  9555. }
  9556. set
  9557. {
  9558. if ((this._Amount != value))
  9559. {
  9560. this.OnAmountChanging(value);
  9561. this.SendPropertyChanging();
  9562. this._Amount = value;
  9563. this.SendPropertyChanged("Amount");
  9564. this.OnAmountChanged();
  9565. }
  9566. }
  9567. }
  9568. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutQuantity", DbType="Decimal(18,2)")]
  9569. public System.Nullable<decimal> OutQuantity
  9570. {
  9571. get
  9572. {
  9573. return this._OutQuantity;
  9574. }
  9575. set
  9576. {
  9577. if ((this._OutQuantity != value))
  9578. {
  9579. this.OnOutQuantityChanging(value);
  9580. this.SendPropertyChanging();
  9581. this._OutQuantity = value;
  9582. this.SendPropertyChanged("OutQuantity");
  9583. this.OnOutQuantityChanged();
  9584. }
  9585. }
  9586. }
  9587. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(10) NOT NULL", CanBeNull=false)]
  9588. public string Status
  9589. {
  9590. get
  9591. {
  9592. return this._Status;
  9593. }
  9594. set
  9595. {
  9596. if ((this._Status != value))
  9597. {
  9598. this.OnStatusChanging(value);
  9599. this.SendPropertyChanging();
  9600. this._Status = value;
  9601. this.SendPropertyChanged("Status");
  9602. this.OnStatusChanged();
  9603. }
  9604. }
  9605. }
  9606. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  9607. public string CreatePerson
  9608. {
  9609. get
  9610. {
  9611. return this._CreatePerson;
  9612. }
  9613. set
  9614. {
  9615. if ((this._CreatePerson != value))
  9616. {
  9617. this.OnCreatePersonChanging(value);
  9618. this.SendPropertyChanging();
  9619. this._CreatePerson = value;
  9620. this.SendPropertyChanged("CreatePerson");
  9621. this.OnCreatePersonChanged();
  9622. }
  9623. }
  9624. }
  9625. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
  9626. public System.DateTime CreateDateTime
  9627. {
  9628. get
  9629. {
  9630. return this._CreateDateTime;
  9631. }
  9632. set
  9633. {
  9634. if ((this._CreateDateTime != value))
  9635. {
  9636. this.OnCreateDateTimeChanging(value);
  9637. this.SendPropertyChanging();
  9638. this._CreateDateTime = value;
  9639. this.SendPropertyChanged("CreateDateTime");
  9640. this.OnCreateDateTimeChanged();
  9641. }
  9642. }
  9643. }
  9644. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutID", DbType="NVarChar(50)")]
  9645. public string OutID
  9646. {
  9647. get
  9648. {
  9649. return this._OutID;
  9650. }
  9651. set
  9652. {
  9653. if ((this._OutID != value))
  9654. {
  9655. this.OnOutIDChanging(value);
  9656. this.SendPropertyChanging();
  9657. this._OutID = value;
  9658. this.SendPropertyChanged("OutID");
  9659. this.OnOutIDChanged();
  9660. }
  9661. }
  9662. }
  9663. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutDetailID", DbType="NVarChar(50)")]
  9664. public string OutDetailID
  9665. {
  9666. get
  9667. {
  9668. return this._OutDetailID;
  9669. }
  9670. set
  9671. {
  9672. if ((this._OutDetailID != value))
  9673. {
  9674. this.OnOutDetailIDChanging(value);
  9675. this.SendPropertyChanging();
  9676. this._OutDetailID = value;
  9677. this.SendPropertyChanged("OutDetailID");
  9678. this.OnOutDetailIDChanged();
  9679. }
  9680. }
  9681. }
  9682. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferID", DbType="NVarChar(50)")]
  9683. public string TransferID
  9684. {
  9685. get
  9686. {
  9687. return this._TransferID;
  9688. }
  9689. set
  9690. {
  9691. if ((this._TransferID != value))
  9692. {
  9693. this.OnTransferIDChanging(value);
  9694. this.SendPropertyChanging();
  9695. this._TransferID = value;
  9696. this.SendPropertyChanged("TransferID");
  9697. this.OnTransferIDChanged();
  9698. }
  9699. }
  9700. }
  9701. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferDetailID", DbType="NVarChar(50)")]
  9702. public string TransferDetailID
  9703. {
  9704. get
  9705. {
  9706. return this._TransferDetailID;
  9707. }
  9708. set
  9709. {
  9710. if ((this._TransferDetailID != value))
  9711. {
  9712. this.OnTransferDetailIDChanging(value);
  9713. this.SendPropertyChanging();
  9714. this._TransferDetailID = value;
  9715. this.SendPropertyChanged("TransferDetailID");
  9716. this.OnTransferDetailIDChanged();
  9717. }
  9718. }
  9719. }
  9720. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  9721. public string ExtensionID
  9722. {
  9723. get
  9724. {
  9725. return this._ExtensionID;
  9726. }
  9727. set
  9728. {
  9729. if ((this._ExtensionID != value))
  9730. {
  9731. this.OnExtensionIDChanging(value);
  9732. this.SendPropertyChanging();
  9733. this._ExtensionID = value;
  9734. this.SendPropertyChanged("ExtensionID");
  9735. this.OnExtensionIDChanged();
  9736. }
  9737. }
  9738. }
  9739. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  9740. public string MUSER
  9741. {
  9742. get
  9743. {
  9744. return this._MUSER;
  9745. }
  9746. set
  9747. {
  9748. if ((this._MUSER != value))
  9749. {
  9750. this.OnMUSERChanging(value);
  9751. this.SendPropertyChanging();
  9752. this._MUSER = value;
  9753. this.SendPropertyChanged("MUSER");
  9754. this.OnMUSERChanged();
  9755. }
  9756. }
  9757. }
  9758. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  9759. public string MUSERName
  9760. {
  9761. get
  9762. {
  9763. return this._MUSERName;
  9764. }
  9765. set
  9766. {
  9767. if ((this._MUSERName != value))
  9768. {
  9769. this.OnMUSERNameChanging(value);
  9770. this.SendPropertyChanging();
  9771. this._MUSERName = value;
  9772. this.SendPropertyChanged("MUSERName");
  9773. this.OnMUSERNameChanged();
  9774. }
  9775. }
  9776. }
  9777. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  9778. public System.DateTime MTIME
  9779. {
  9780. get
  9781. {
  9782. return this._MTIME;
  9783. }
  9784. set
  9785. {
  9786. if ((this._MTIME != value))
  9787. {
  9788. this.OnMTIMEChanging(value);
  9789. this.SendPropertyChanging();
  9790. this._MTIME = value;
  9791. this.SendPropertyChanged("MTIME");
  9792. this.OnMTIMEChanged();
  9793. }
  9794. }
  9795. }
  9796. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  9797. public string WorkPoint
  9798. {
  9799. get
  9800. {
  9801. return this._WorkPoint;
  9802. }
  9803. set
  9804. {
  9805. if ((this._WorkPoint != value))
  9806. {
  9807. this.OnWorkPointChanging(value);
  9808. this.SendPropertyChanging();
  9809. this._WorkPoint = value;
  9810. this.SendPropertyChanged("WorkPoint");
  9811. this.OnWorkPointChanged();
  9812. }
  9813. }
  9814. }
  9815. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  9816. public string EATTRIBUTE1
  9817. {
  9818. get
  9819. {
  9820. return this._EATTRIBUTE1;
  9821. }
  9822. set
  9823. {
  9824. if ((this._EATTRIBUTE1 != value))
  9825. {
  9826. this.OnEATTRIBUTE1Changing(value);
  9827. this.SendPropertyChanging();
  9828. this._EATTRIBUTE1 = value;
  9829. this.SendPropertyChanged("EATTRIBUTE1");
  9830. this.OnEATTRIBUTE1Changed();
  9831. }
  9832. }
  9833. }
  9834. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderType", DbType="NVarChar(2)")]
  9835. public string OrderType
  9836. {
  9837. get
  9838. {
  9839. return this._OrderType;
  9840. }
  9841. set
  9842. {
  9843. if ((this._OrderType != value))
  9844. {
  9845. this.OnOrderTypeChanging(value);
  9846. this.SendPropertyChanging();
  9847. this._OrderType = value;
  9848. this.SendPropertyChanged("OrderType");
  9849. this.OnOrderTypeChanged();
  9850. }
  9851. }
  9852. }
  9853. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TypeDescribe", DbType="NVarChar(20)")]
  9854. public string TypeDescribe
  9855. {
  9856. get
  9857. {
  9858. return this._TypeDescribe;
  9859. }
  9860. set
  9861. {
  9862. if ((this._TypeDescribe != value))
  9863. {
  9864. this.OnTypeDescribeChanging(value);
  9865. this.SendPropertyChanging();
  9866. this._TypeDescribe = value;
  9867. this.SendPropertyChanged("TypeDescribe");
  9868. this.OnTypeDescribeChanged();
  9869. }
  9870. }
  9871. }
  9872. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostCenter", DbType="NVarChar(10)")]
  9873. public string CostCenter
  9874. {
  9875. get
  9876. {
  9877. return this._CostCenter;
  9878. }
  9879. set
  9880. {
  9881. if ((this._CostCenter != value))
  9882. {
  9883. this.OnCostCenterChanging(value);
  9884. this.SendPropertyChanging();
  9885. this._CostCenter = value;
  9886. this.SendPropertyChanged("CostCenter");
  9887. this.OnCostCenterChanged();
  9888. }
  9889. }
  9890. }
  9891. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remarks", DbType="NVarChar(40)")]
  9892. public string Remarks
  9893. {
  9894. get
  9895. {
  9896. return this._Remarks;
  9897. }
  9898. set
  9899. {
  9900. if ((this._Remarks != value))
  9901. {
  9902. this.OnRemarksChanging(value);
  9903. this.SendPropertyChanging();
  9904. this._Remarks = value;
  9905. this.SendPropertyChanged("Remarks");
  9906. this.OnRemarksChanged();
  9907. }
  9908. }
  9909. }
  9910. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PersonNumber", DbType="NVarChar(10)")]
  9911. public string PersonNumber
  9912. {
  9913. get
  9914. {
  9915. return this._PersonNumber;
  9916. }
  9917. set
  9918. {
  9919. if ((this._PersonNumber != value))
  9920. {
  9921. this.OnPersonNumberChanging(value);
  9922. this.SendPropertyChanging();
  9923. this._PersonNumber = value;
  9924. this.SendPropertyChanged("PersonNumber");
  9925. this.OnPersonNumberChanged();
  9926. }
  9927. }
  9928. }
  9929. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvDescribe", DbType="NVarChar(18)")]
  9930. public string InvDescribe
  9931. {
  9932. get
  9933. {
  9934. return this._InvDescribe;
  9935. }
  9936. set
  9937. {
  9938. if ((this._InvDescribe != value))
  9939. {
  9940. this.OnInvDescribeChanging(value);
  9941. this.SendPropertyChanging();
  9942. this._InvDescribe = value;
  9943. this.SendPropertyChanged("InvDescribe");
  9944. this.OnInvDescribeChanged();
  9945. }
  9946. }
  9947. }
  9948. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Unit", DbType="NVarChar(10)")]
  9949. public string Unit
  9950. {
  9951. get
  9952. {
  9953. return this._Unit;
  9954. }
  9955. set
  9956. {
  9957. if ((this._Unit != value))
  9958. {
  9959. this.OnUnitChanging(value);
  9960. this.SendPropertyChanging();
  9961. this._Unit = value;
  9962. this.SendPropertyChanged("Unit");
  9963. this.OnUnitChanged();
  9964. }
  9965. }
  9966. }
  9967. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StockIndicator", DbType="NVarChar(1)")]
  9968. public string StockIndicator
  9969. {
  9970. get
  9971. {
  9972. return this._StockIndicator;
  9973. }
  9974. set
  9975. {
  9976. if ((this._StockIndicator != value))
  9977. {
  9978. this.OnStockIndicatorChanging(value);
  9979. this.SendPropertyChanging();
  9980. this._StockIndicator = value;
  9981. this.SendPropertyChanged("StockIndicator");
  9982. this.OnStockIndicatorChanged();
  9983. }
  9984. }
  9985. }
  9986. public event PropertyChangingEventHandler PropertyChanging;
  9987. public event PropertyChangedEventHandler PropertyChanged;
  9988. protected virtual void SendPropertyChanging()
  9989. {
  9990. if ((this.PropertyChanging != null))
  9991. {
  9992. this.PropertyChanging(this, emptyChangingEventArgs);
  9993. }
  9994. }
  9995. protected virtual void SendPropertyChanged(String propertyName)
  9996. {
  9997. if ((this.PropertyChanged != null))
  9998. {
  9999. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  10000. }
  10001. }
  10002. }
  10003. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSOtherIn")]
  10004. public partial class ICSOtherIn : INotifyPropertyChanging, INotifyPropertyChanged
  10005. {
  10006. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  10007. private string _ID;
  10008. private string _InCode;
  10009. private string _WHCode;
  10010. private string _Sequence;
  10011. private string _InvCode;
  10012. private decimal _Quantity;
  10013. private System.Nullable<decimal> _Amount;
  10014. private System.Nullable<decimal> _InQuantity;
  10015. private string _Status;
  10016. private string _CreatePerson;
  10017. private System.DateTime _CreateDateTime;
  10018. private string _InID;
  10019. private string _InDetailID;
  10020. private string _TransferID;
  10021. private string _TransferDetailID;
  10022. private string _ExtensionID;
  10023. private string _MUSER;
  10024. private string _MUSERName;
  10025. private System.DateTime _MTIME;
  10026. private string _WorkPoint;
  10027. private string _EATTRIBUTE1;
  10028. private string _OrderType;
  10029. private string _TypeDescribe;
  10030. private string _CostCenter;
  10031. private string _Remarks;
  10032. private string _PersonNumber;
  10033. private string _InvDescribe;
  10034. private string _Unit;
  10035. private string _StockIndicator;
  10036. #region 可扩展性方法定义
  10037. partial void OnLoaded();
  10038. partial void OnValidate(System.Data.Linq.ChangeAction action);
  10039. partial void OnCreated();
  10040. partial void OnIDChanging(string value);
  10041. partial void OnIDChanged();
  10042. partial void OnInCodeChanging(string value);
  10043. partial void OnInCodeChanged();
  10044. partial void OnWHCodeChanging(string value);
  10045. partial void OnWHCodeChanged();
  10046. partial void OnSequenceChanging(string value);
  10047. partial void OnSequenceChanged();
  10048. partial void OnInvCodeChanging(string value);
  10049. partial void OnInvCodeChanged();
  10050. partial void OnQuantityChanging(decimal value);
  10051. partial void OnQuantityChanged();
  10052. partial void OnAmountChanging(System.Nullable<decimal> value);
  10053. partial void OnAmountChanged();
  10054. partial void OnInQuantityChanging(System.Nullable<decimal> value);
  10055. partial void OnInQuantityChanged();
  10056. partial void OnStatusChanging(string value);
  10057. partial void OnStatusChanged();
  10058. partial void OnCreatePersonChanging(string value);
  10059. partial void OnCreatePersonChanged();
  10060. partial void OnCreateDateTimeChanging(System.DateTime value);
  10061. partial void OnCreateDateTimeChanged();
  10062. partial void OnInIDChanging(string value);
  10063. partial void OnInIDChanged();
  10064. partial void OnInDetailIDChanging(string value);
  10065. partial void OnInDetailIDChanged();
  10066. partial void OnTransferIDChanging(string value);
  10067. partial void OnTransferIDChanged();
  10068. partial void OnTransferDetailIDChanging(string value);
  10069. partial void OnTransferDetailIDChanged();
  10070. partial void OnExtensionIDChanging(string value);
  10071. partial void OnExtensionIDChanged();
  10072. partial void OnMUSERChanging(string value);
  10073. partial void OnMUSERChanged();
  10074. partial void OnMUSERNameChanging(string value);
  10075. partial void OnMUSERNameChanged();
  10076. partial void OnMTIMEChanging(System.DateTime value);
  10077. partial void OnMTIMEChanged();
  10078. partial void OnWorkPointChanging(string value);
  10079. partial void OnWorkPointChanged();
  10080. partial void OnEATTRIBUTE1Changing(string value);
  10081. partial void OnEATTRIBUTE1Changed();
  10082. partial void OnOrderTypeChanging(string value);
  10083. partial void OnOrderTypeChanged();
  10084. partial void OnTypeDescribeChanging(string value);
  10085. partial void OnTypeDescribeChanged();
  10086. partial void OnCostCenterChanging(string value);
  10087. partial void OnCostCenterChanged();
  10088. partial void OnRemarksChanging(string value);
  10089. partial void OnRemarksChanged();
  10090. partial void OnPersonNumberChanging(string value);
  10091. partial void OnPersonNumberChanged();
  10092. partial void OnInvDescribeChanging(string value);
  10093. partial void OnInvDescribeChanged();
  10094. partial void OnUnitChanging(string value);
  10095. partial void OnUnitChanged();
  10096. partial void OnStockIndicatorChanging(string value);
  10097. partial void OnStockIndicatorChanged();
  10098. #endregion
  10099. public ICSOtherIn()
  10100. {
  10101. OnCreated();
  10102. }
  10103. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  10104. public string ID
  10105. {
  10106. get
  10107. {
  10108. return this._ID;
  10109. }
  10110. set
  10111. {
  10112. if ((this._ID != value))
  10113. {
  10114. this.OnIDChanging(value);
  10115. this.SendPropertyChanging();
  10116. this._ID = value;
  10117. this.SendPropertyChanged("ID");
  10118. this.OnIDChanged();
  10119. }
  10120. }
  10121. }
  10122. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  10123. public string InCode
  10124. {
  10125. get
  10126. {
  10127. return this._InCode;
  10128. }
  10129. set
  10130. {
  10131. if ((this._InCode != value))
  10132. {
  10133. this.OnInCodeChanging(value);
  10134. this.SendPropertyChanging();
  10135. this._InCode = value;
  10136. this.SendPropertyChanged("InCode");
  10137. this.OnInCodeChanged();
  10138. }
  10139. }
  10140. }
  10141. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  10142. public string WHCode
  10143. {
  10144. get
  10145. {
  10146. return this._WHCode;
  10147. }
  10148. set
  10149. {
  10150. if ((this._WHCode != value))
  10151. {
  10152. this.OnWHCodeChanging(value);
  10153. this.SendPropertyChanging();
  10154. this._WHCode = value;
  10155. this.SendPropertyChanged("WHCode");
  10156. this.OnWHCodeChanged();
  10157. }
  10158. }
  10159. }
  10160. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  10161. public string Sequence
  10162. {
  10163. get
  10164. {
  10165. return this._Sequence;
  10166. }
  10167. set
  10168. {
  10169. if ((this._Sequence != value))
  10170. {
  10171. this.OnSequenceChanging(value);
  10172. this.SendPropertyChanging();
  10173. this._Sequence = value;
  10174. this.SendPropertyChanged("Sequence");
  10175. this.OnSequenceChanged();
  10176. }
  10177. }
  10178. }
  10179. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  10180. public string InvCode
  10181. {
  10182. get
  10183. {
  10184. return this._InvCode;
  10185. }
  10186. set
  10187. {
  10188. if ((this._InvCode != value))
  10189. {
  10190. this.OnInvCodeChanging(value);
  10191. this.SendPropertyChanging();
  10192. this._InvCode = value;
  10193. this.SendPropertyChanged("InvCode");
  10194. this.OnInvCodeChanged();
  10195. }
  10196. }
  10197. }
  10198. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,3) NOT NULL")]
  10199. public decimal Quantity
  10200. {
  10201. get
  10202. {
  10203. return this._Quantity;
  10204. }
  10205. set
  10206. {
  10207. if ((this._Quantity != value))
  10208. {
  10209. this.OnQuantityChanging(value);
  10210. this.SendPropertyChanging();
  10211. this._Quantity = value;
  10212. this.SendPropertyChanged("Quantity");
  10213. this.OnQuantityChanged();
  10214. }
  10215. }
  10216. }
  10217. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  10218. public System.Nullable<decimal> Amount
  10219. {
  10220. get
  10221. {
  10222. return this._Amount;
  10223. }
  10224. set
  10225. {
  10226. if ((this._Amount != value))
  10227. {
  10228. this.OnAmountChanging(value);
  10229. this.SendPropertyChanging();
  10230. this._Amount = value;
  10231. this.SendPropertyChanged("Amount");
  10232. this.OnAmountChanged();
  10233. }
  10234. }
  10235. }
  10236. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InQuantity", DbType="Decimal(18,2)")]
  10237. public System.Nullable<decimal> InQuantity
  10238. {
  10239. get
  10240. {
  10241. return this._InQuantity;
  10242. }
  10243. set
  10244. {
  10245. if ((this._InQuantity != value))
  10246. {
  10247. this.OnInQuantityChanging(value);
  10248. this.SendPropertyChanging();
  10249. this._InQuantity = value;
  10250. this.SendPropertyChanged("InQuantity");
  10251. this.OnInQuantityChanged();
  10252. }
  10253. }
  10254. }
  10255. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(10) NOT NULL", CanBeNull=false)]
  10256. public string Status
  10257. {
  10258. get
  10259. {
  10260. return this._Status;
  10261. }
  10262. set
  10263. {
  10264. if ((this._Status != value))
  10265. {
  10266. this.OnStatusChanging(value);
  10267. this.SendPropertyChanging();
  10268. this._Status = value;
  10269. this.SendPropertyChanged("Status");
  10270. this.OnStatusChanged();
  10271. }
  10272. }
  10273. }
  10274. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  10275. public string CreatePerson
  10276. {
  10277. get
  10278. {
  10279. return this._CreatePerson;
  10280. }
  10281. set
  10282. {
  10283. if ((this._CreatePerson != value))
  10284. {
  10285. this.OnCreatePersonChanging(value);
  10286. this.SendPropertyChanging();
  10287. this._CreatePerson = value;
  10288. this.SendPropertyChanged("CreatePerson");
  10289. this.OnCreatePersonChanged();
  10290. }
  10291. }
  10292. }
  10293. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
  10294. public System.DateTime CreateDateTime
  10295. {
  10296. get
  10297. {
  10298. return this._CreateDateTime;
  10299. }
  10300. set
  10301. {
  10302. if ((this._CreateDateTime != value))
  10303. {
  10304. this.OnCreateDateTimeChanging(value);
  10305. this.SendPropertyChanging();
  10306. this._CreateDateTime = value;
  10307. this.SendPropertyChanged("CreateDateTime");
  10308. this.OnCreateDateTimeChanged();
  10309. }
  10310. }
  10311. }
  10312. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InID", DbType="NVarChar(50)")]
  10313. public string InID
  10314. {
  10315. get
  10316. {
  10317. return this._InID;
  10318. }
  10319. set
  10320. {
  10321. if ((this._InID != value))
  10322. {
  10323. this.OnInIDChanging(value);
  10324. this.SendPropertyChanging();
  10325. this._InID = value;
  10326. this.SendPropertyChanged("InID");
  10327. this.OnInIDChanged();
  10328. }
  10329. }
  10330. }
  10331. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InDetailID", DbType="NVarChar(50)")]
  10332. public string InDetailID
  10333. {
  10334. get
  10335. {
  10336. return this._InDetailID;
  10337. }
  10338. set
  10339. {
  10340. if ((this._InDetailID != value))
  10341. {
  10342. this.OnInDetailIDChanging(value);
  10343. this.SendPropertyChanging();
  10344. this._InDetailID = value;
  10345. this.SendPropertyChanged("InDetailID");
  10346. this.OnInDetailIDChanged();
  10347. }
  10348. }
  10349. }
  10350. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferID", DbType="NVarChar(50)")]
  10351. public string TransferID
  10352. {
  10353. get
  10354. {
  10355. return this._TransferID;
  10356. }
  10357. set
  10358. {
  10359. if ((this._TransferID != value))
  10360. {
  10361. this.OnTransferIDChanging(value);
  10362. this.SendPropertyChanging();
  10363. this._TransferID = value;
  10364. this.SendPropertyChanged("TransferID");
  10365. this.OnTransferIDChanged();
  10366. }
  10367. }
  10368. }
  10369. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferDetailID", DbType="NVarChar(50)")]
  10370. public string TransferDetailID
  10371. {
  10372. get
  10373. {
  10374. return this._TransferDetailID;
  10375. }
  10376. set
  10377. {
  10378. if ((this._TransferDetailID != value))
  10379. {
  10380. this.OnTransferDetailIDChanging(value);
  10381. this.SendPropertyChanging();
  10382. this._TransferDetailID = value;
  10383. this.SendPropertyChanged("TransferDetailID");
  10384. this.OnTransferDetailIDChanged();
  10385. }
  10386. }
  10387. }
  10388. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  10389. public string ExtensionID
  10390. {
  10391. get
  10392. {
  10393. return this._ExtensionID;
  10394. }
  10395. set
  10396. {
  10397. if ((this._ExtensionID != value))
  10398. {
  10399. this.OnExtensionIDChanging(value);
  10400. this.SendPropertyChanging();
  10401. this._ExtensionID = value;
  10402. this.SendPropertyChanged("ExtensionID");
  10403. this.OnExtensionIDChanged();
  10404. }
  10405. }
  10406. }
  10407. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  10408. public string MUSER
  10409. {
  10410. get
  10411. {
  10412. return this._MUSER;
  10413. }
  10414. set
  10415. {
  10416. if ((this._MUSER != value))
  10417. {
  10418. this.OnMUSERChanging(value);
  10419. this.SendPropertyChanging();
  10420. this._MUSER = value;
  10421. this.SendPropertyChanged("MUSER");
  10422. this.OnMUSERChanged();
  10423. }
  10424. }
  10425. }
  10426. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  10427. public string MUSERName
  10428. {
  10429. get
  10430. {
  10431. return this._MUSERName;
  10432. }
  10433. set
  10434. {
  10435. if ((this._MUSERName != value))
  10436. {
  10437. this.OnMUSERNameChanging(value);
  10438. this.SendPropertyChanging();
  10439. this._MUSERName = value;
  10440. this.SendPropertyChanged("MUSERName");
  10441. this.OnMUSERNameChanged();
  10442. }
  10443. }
  10444. }
  10445. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  10446. public System.DateTime MTIME
  10447. {
  10448. get
  10449. {
  10450. return this._MTIME;
  10451. }
  10452. set
  10453. {
  10454. if ((this._MTIME != value))
  10455. {
  10456. this.OnMTIMEChanging(value);
  10457. this.SendPropertyChanging();
  10458. this._MTIME = value;
  10459. this.SendPropertyChanged("MTIME");
  10460. this.OnMTIMEChanged();
  10461. }
  10462. }
  10463. }
  10464. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  10465. public string WorkPoint
  10466. {
  10467. get
  10468. {
  10469. return this._WorkPoint;
  10470. }
  10471. set
  10472. {
  10473. if ((this._WorkPoint != value))
  10474. {
  10475. this.OnWorkPointChanging(value);
  10476. this.SendPropertyChanging();
  10477. this._WorkPoint = value;
  10478. this.SendPropertyChanged("WorkPoint");
  10479. this.OnWorkPointChanged();
  10480. }
  10481. }
  10482. }
  10483. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  10484. public string EATTRIBUTE1
  10485. {
  10486. get
  10487. {
  10488. return this._EATTRIBUTE1;
  10489. }
  10490. set
  10491. {
  10492. if ((this._EATTRIBUTE1 != value))
  10493. {
  10494. this.OnEATTRIBUTE1Changing(value);
  10495. this.SendPropertyChanging();
  10496. this._EATTRIBUTE1 = value;
  10497. this.SendPropertyChanged("EATTRIBUTE1");
  10498. this.OnEATTRIBUTE1Changed();
  10499. }
  10500. }
  10501. }
  10502. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderType", DbType="NVarChar(2)")]
  10503. public string OrderType
  10504. {
  10505. get
  10506. {
  10507. return this._OrderType;
  10508. }
  10509. set
  10510. {
  10511. if ((this._OrderType != value))
  10512. {
  10513. this.OnOrderTypeChanging(value);
  10514. this.SendPropertyChanging();
  10515. this._OrderType = value;
  10516. this.SendPropertyChanged("OrderType");
  10517. this.OnOrderTypeChanged();
  10518. }
  10519. }
  10520. }
  10521. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TypeDescribe", DbType="NVarChar(20)")]
  10522. public string TypeDescribe
  10523. {
  10524. get
  10525. {
  10526. return this._TypeDescribe;
  10527. }
  10528. set
  10529. {
  10530. if ((this._TypeDescribe != value))
  10531. {
  10532. this.OnTypeDescribeChanging(value);
  10533. this.SendPropertyChanging();
  10534. this._TypeDescribe = value;
  10535. this.SendPropertyChanged("TypeDescribe");
  10536. this.OnTypeDescribeChanged();
  10537. }
  10538. }
  10539. }
  10540. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CostCenter", DbType="NVarChar(10)")]
  10541. public string CostCenter
  10542. {
  10543. get
  10544. {
  10545. return this._CostCenter;
  10546. }
  10547. set
  10548. {
  10549. if ((this._CostCenter != value))
  10550. {
  10551. this.OnCostCenterChanging(value);
  10552. this.SendPropertyChanging();
  10553. this._CostCenter = value;
  10554. this.SendPropertyChanged("CostCenter");
  10555. this.OnCostCenterChanged();
  10556. }
  10557. }
  10558. }
  10559. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remarks", DbType="NVarChar(40)")]
  10560. public string Remarks
  10561. {
  10562. get
  10563. {
  10564. return this._Remarks;
  10565. }
  10566. set
  10567. {
  10568. if ((this._Remarks != value))
  10569. {
  10570. this.OnRemarksChanging(value);
  10571. this.SendPropertyChanging();
  10572. this._Remarks = value;
  10573. this.SendPropertyChanged("Remarks");
  10574. this.OnRemarksChanged();
  10575. }
  10576. }
  10577. }
  10578. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PersonNumber", DbType="NVarChar(10)")]
  10579. public string PersonNumber
  10580. {
  10581. get
  10582. {
  10583. return this._PersonNumber;
  10584. }
  10585. set
  10586. {
  10587. if ((this._PersonNumber != value))
  10588. {
  10589. this.OnPersonNumberChanging(value);
  10590. this.SendPropertyChanging();
  10591. this._PersonNumber = value;
  10592. this.SendPropertyChanged("PersonNumber");
  10593. this.OnPersonNumberChanged();
  10594. }
  10595. }
  10596. }
  10597. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvDescribe", DbType="NVarChar(18)")]
  10598. public string InvDescribe
  10599. {
  10600. get
  10601. {
  10602. return this._InvDescribe;
  10603. }
  10604. set
  10605. {
  10606. if ((this._InvDescribe != value))
  10607. {
  10608. this.OnInvDescribeChanging(value);
  10609. this.SendPropertyChanging();
  10610. this._InvDescribe = value;
  10611. this.SendPropertyChanged("InvDescribe");
  10612. this.OnInvDescribeChanged();
  10613. }
  10614. }
  10615. }
  10616. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Unit", DbType="NVarChar(10)")]
  10617. public string Unit
  10618. {
  10619. get
  10620. {
  10621. return this._Unit;
  10622. }
  10623. set
  10624. {
  10625. if ((this._Unit != value))
  10626. {
  10627. this.OnUnitChanging(value);
  10628. this.SendPropertyChanging();
  10629. this._Unit = value;
  10630. this.SendPropertyChanged("Unit");
  10631. this.OnUnitChanged();
  10632. }
  10633. }
  10634. }
  10635. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StockIndicator", DbType="NVarChar(1)")]
  10636. public string StockIndicator
  10637. {
  10638. get
  10639. {
  10640. return this._StockIndicator;
  10641. }
  10642. set
  10643. {
  10644. if ((this._StockIndicator != value))
  10645. {
  10646. this.OnStockIndicatorChanging(value);
  10647. this.SendPropertyChanging();
  10648. this._StockIndicator = value;
  10649. this.SendPropertyChanged("StockIndicator");
  10650. this.OnStockIndicatorChanged();
  10651. }
  10652. }
  10653. }
  10654. public event PropertyChangingEventHandler PropertyChanging;
  10655. public event PropertyChangedEventHandler PropertyChanged;
  10656. protected virtual void SendPropertyChanging()
  10657. {
  10658. if ((this.PropertyChanging != null))
  10659. {
  10660. this.PropertyChanging(this, emptyChangingEventArgs);
  10661. }
  10662. }
  10663. protected virtual void SendPropertyChanged(String propertyName)
  10664. {
  10665. if ((this.PropertyChanged != null))
  10666. {
  10667. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  10668. }
  10669. }
  10670. }
  10671. }
  10672. #pragma warning restore 1591