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

10093 lines
234 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
  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. #region 可扩展性方法定义
  1946. partial void OnLoaded();
  1947. partial void OnValidate(System.Data.Linq.ChangeAction action);
  1948. partial void OnCreated();
  1949. partial void OnIDChanging(string value);
  1950. partial void OnIDChanged();
  1951. partial void OnApplyCodeChanging(string value);
  1952. partial void OnApplyCodeChanged();
  1953. partial void OnSequenceChanging(string value);
  1954. partial void OnSequenceChanged();
  1955. partial void OnSourceCodeChanging(string value);
  1956. partial void OnSourceCodeChanged();
  1957. partial void OnSourceSequenceChanging(string value);
  1958. partial void OnSourceSequenceChanged();
  1959. partial void OnInvCodeChanging(string value);
  1960. partial void OnInvCodeChanged();
  1961. partial void OnQuantityChanging(decimal value);
  1962. partial void OnQuantityChanged();
  1963. partial void OnAmountChanging(System.Nullable<decimal> value);
  1964. partial void OnAmountChanged();
  1965. partial void OnIssueQuantityChanging(System.Nullable<decimal> value);
  1966. partial void OnIssueQuantityChanged();
  1967. partial void OnWHCodeChanging(string value);
  1968. partial void OnWHCodeChanged();
  1969. partial void OnTypeChanging(string value);
  1970. partial void OnTypeChanged();
  1971. partial void OnStatusChanging(string value);
  1972. partial void OnStatusChanged();
  1973. partial void OnCreatePersonChanging(string value);
  1974. partial void OnCreatePersonChanged();
  1975. partial void OnCreateDateTimeChanging(System.DateTime value);
  1976. partial void OnCreateDateTimeChanged();
  1977. partial void OnApplyIDChanging(string value);
  1978. partial void OnApplyIDChanged();
  1979. partial void OnApplyDetailIDChanging(string value);
  1980. partial void OnApplyDetailIDChanged();
  1981. partial void OnExtensionIDChanging(string value);
  1982. partial void OnExtensionIDChanged();
  1983. partial void OnMUSERChanging(string value);
  1984. partial void OnMUSERChanged();
  1985. partial void OnMUSERNameChanging(string value);
  1986. partial void OnMUSERNameChanged();
  1987. partial void OnMTIMEChanging(System.DateTime value);
  1988. partial void OnMTIMEChanged();
  1989. partial void OnWorkPointChanging(string value);
  1990. partial void OnWorkPointChanged();
  1991. partial void OnEATTRIBUTEChanging(string value);
  1992. partial void OnEATTRIBUTEChanged();
  1993. #endregion
  1994. public ICSMOApply()
  1995. {
  1996. OnCreated();
  1997. }
  1998. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  1999. public string ID
  2000. {
  2001. get
  2002. {
  2003. return this._ID;
  2004. }
  2005. set
  2006. {
  2007. if ((this._ID != value))
  2008. {
  2009. this.OnIDChanging(value);
  2010. this.SendPropertyChanging();
  2011. this._ID = value;
  2012. this.SendPropertyChanged("ID");
  2013. this.OnIDChanged();
  2014. }
  2015. }
  2016. }
  2017. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2018. public string ApplyCode
  2019. {
  2020. get
  2021. {
  2022. return this._ApplyCode;
  2023. }
  2024. set
  2025. {
  2026. if ((this._ApplyCode != value))
  2027. {
  2028. this.OnApplyCodeChanging(value);
  2029. this.SendPropertyChanging();
  2030. this._ApplyCode = value;
  2031. this.SendPropertyChanged("ApplyCode");
  2032. this.OnApplyCodeChanged();
  2033. }
  2034. }
  2035. }
  2036. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2037. public string Sequence
  2038. {
  2039. get
  2040. {
  2041. return this._Sequence;
  2042. }
  2043. set
  2044. {
  2045. if ((this._Sequence != value))
  2046. {
  2047. this.OnSequenceChanging(value);
  2048. this.SendPropertyChanging();
  2049. this._Sequence = value;
  2050. this.SendPropertyChanged("Sequence");
  2051. this.OnSequenceChanged();
  2052. }
  2053. }
  2054. }
  2055. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceCode", DbType="NVarChar(50)")]
  2056. public string SourceCode
  2057. {
  2058. get
  2059. {
  2060. return this._SourceCode;
  2061. }
  2062. set
  2063. {
  2064. if ((this._SourceCode != value))
  2065. {
  2066. this.OnSourceCodeChanging(value);
  2067. this.SendPropertyChanging();
  2068. this._SourceCode = value;
  2069. this.SendPropertyChanged("SourceCode");
  2070. this.OnSourceCodeChanged();
  2071. }
  2072. }
  2073. }
  2074. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceSequence", DbType="NVarChar(50)")]
  2075. public string SourceSequence
  2076. {
  2077. get
  2078. {
  2079. return this._SourceSequence;
  2080. }
  2081. set
  2082. {
  2083. if ((this._SourceSequence != value))
  2084. {
  2085. this.OnSourceSequenceChanging(value);
  2086. this.SendPropertyChanging();
  2087. this._SourceSequence = value;
  2088. this.SendPropertyChanged("SourceSequence");
  2089. this.OnSourceSequenceChanged();
  2090. }
  2091. }
  2092. }
  2093. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2094. public string InvCode
  2095. {
  2096. get
  2097. {
  2098. return this._InvCode;
  2099. }
  2100. set
  2101. {
  2102. if ((this._InvCode != value))
  2103. {
  2104. this.OnInvCodeChanging(value);
  2105. this.SendPropertyChanging();
  2106. this._InvCode = value;
  2107. this.SendPropertyChanged("InvCode");
  2108. this.OnInvCodeChanged();
  2109. }
  2110. }
  2111. }
  2112. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
  2113. public decimal Quantity
  2114. {
  2115. get
  2116. {
  2117. return this._Quantity;
  2118. }
  2119. set
  2120. {
  2121. if ((this._Quantity != value))
  2122. {
  2123. this.OnQuantityChanging(value);
  2124. this.SendPropertyChanging();
  2125. this._Quantity = value;
  2126. this.SendPropertyChanged("Quantity");
  2127. this.OnQuantityChanged();
  2128. }
  2129. }
  2130. }
  2131. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  2132. public System.Nullable<decimal> Amount
  2133. {
  2134. get
  2135. {
  2136. return this._Amount;
  2137. }
  2138. set
  2139. {
  2140. if ((this._Amount != value))
  2141. {
  2142. this.OnAmountChanging(value);
  2143. this.SendPropertyChanging();
  2144. this._Amount = value;
  2145. this.SendPropertyChanged("Amount");
  2146. this.OnAmountChanged();
  2147. }
  2148. }
  2149. }
  2150. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IssueQuantity", DbType="Decimal(18,6)")]
  2151. public System.Nullable<decimal> IssueQuantity
  2152. {
  2153. get
  2154. {
  2155. return this._IssueQuantity;
  2156. }
  2157. set
  2158. {
  2159. if ((this._IssueQuantity != value))
  2160. {
  2161. this.OnIssueQuantityChanging(value);
  2162. this.SendPropertyChanging();
  2163. this._IssueQuantity = value;
  2164. this.SendPropertyChanged("IssueQuantity");
  2165. this.OnIssueQuantityChanged();
  2166. }
  2167. }
  2168. }
  2169. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2170. public string WHCode
  2171. {
  2172. get
  2173. {
  2174. return this._WHCode;
  2175. }
  2176. set
  2177. {
  2178. if ((this._WHCode != value))
  2179. {
  2180. this.OnWHCodeChanging(value);
  2181. this.SendPropertyChanging();
  2182. this._WHCode = value;
  2183. this.SendPropertyChanged("WHCode");
  2184. this.OnWHCodeChanged();
  2185. }
  2186. }
  2187. }
  2188. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2189. public string Type
  2190. {
  2191. get
  2192. {
  2193. return this._Type;
  2194. }
  2195. set
  2196. {
  2197. if ((this._Type != value))
  2198. {
  2199. this.OnTypeChanging(value);
  2200. this.SendPropertyChanging();
  2201. this._Type = value;
  2202. this.SendPropertyChanged("Type");
  2203. this.OnTypeChanged();
  2204. }
  2205. }
  2206. }
  2207. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2208. public string Status
  2209. {
  2210. get
  2211. {
  2212. return this._Status;
  2213. }
  2214. set
  2215. {
  2216. if ((this._Status != value))
  2217. {
  2218. this.OnStatusChanging(value);
  2219. this.SendPropertyChanging();
  2220. this._Status = value;
  2221. this.SendPropertyChanged("Status");
  2222. this.OnStatusChanged();
  2223. }
  2224. }
  2225. }
  2226. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2227. public string CreatePerson
  2228. {
  2229. get
  2230. {
  2231. return this._CreatePerson;
  2232. }
  2233. set
  2234. {
  2235. if ((this._CreatePerson != value))
  2236. {
  2237. this.OnCreatePersonChanging(value);
  2238. this.SendPropertyChanging();
  2239. this._CreatePerson = value;
  2240. this.SendPropertyChanged("CreatePerson");
  2241. this.OnCreatePersonChanged();
  2242. }
  2243. }
  2244. }
  2245. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
  2246. public System.DateTime CreateDateTime
  2247. {
  2248. get
  2249. {
  2250. return this._CreateDateTime;
  2251. }
  2252. set
  2253. {
  2254. if ((this._CreateDateTime != value))
  2255. {
  2256. this.OnCreateDateTimeChanging(value);
  2257. this.SendPropertyChanging();
  2258. this._CreateDateTime = value;
  2259. this.SendPropertyChanged("CreateDateTime");
  2260. this.OnCreateDateTimeChanged();
  2261. }
  2262. }
  2263. }
  2264. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2265. public string ApplyID
  2266. {
  2267. get
  2268. {
  2269. return this._ApplyID;
  2270. }
  2271. set
  2272. {
  2273. if ((this._ApplyID != value))
  2274. {
  2275. this.OnApplyIDChanging(value);
  2276. this.SendPropertyChanging();
  2277. this._ApplyID = value;
  2278. this.SendPropertyChanged("ApplyID");
  2279. this.OnApplyIDChanged();
  2280. }
  2281. }
  2282. }
  2283. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyDetailID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2284. public string ApplyDetailID
  2285. {
  2286. get
  2287. {
  2288. return this._ApplyDetailID;
  2289. }
  2290. set
  2291. {
  2292. if ((this._ApplyDetailID != value))
  2293. {
  2294. this.OnApplyDetailIDChanging(value);
  2295. this.SendPropertyChanging();
  2296. this._ApplyDetailID = value;
  2297. this.SendPropertyChanged("ApplyDetailID");
  2298. this.OnApplyDetailIDChanged();
  2299. }
  2300. }
  2301. }
  2302. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2303. public string ExtensionID
  2304. {
  2305. get
  2306. {
  2307. return this._ExtensionID;
  2308. }
  2309. set
  2310. {
  2311. if ((this._ExtensionID != value))
  2312. {
  2313. this.OnExtensionIDChanging(value);
  2314. this.SendPropertyChanging();
  2315. this._ExtensionID = value;
  2316. this.SendPropertyChanged("ExtensionID");
  2317. this.OnExtensionIDChanged();
  2318. }
  2319. }
  2320. }
  2321. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2322. public string MUSER
  2323. {
  2324. get
  2325. {
  2326. return this._MUSER;
  2327. }
  2328. set
  2329. {
  2330. if ((this._MUSER != value))
  2331. {
  2332. this.OnMUSERChanging(value);
  2333. this.SendPropertyChanging();
  2334. this._MUSER = value;
  2335. this.SendPropertyChanged("MUSER");
  2336. this.OnMUSERChanged();
  2337. }
  2338. }
  2339. }
  2340. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2341. public string MUSERName
  2342. {
  2343. get
  2344. {
  2345. return this._MUSERName;
  2346. }
  2347. set
  2348. {
  2349. if ((this._MUSERName != value))
  2350. {
  2351. this.OnMUSERNameChanging(value);
  2352. this.SendPropertyChanging();
  2353. this._MUSERName = value;
  2354. this.SendPropertyChanged("MUSERName");
  2355. this.OnMUSERNameChanged();
  2356. }
  2357. }
  2358. }
  2359. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  2360. public System.DateTime MTIME
  2361. {
  2362. get
  2363. {
  2364. return this._MTIME;
  2365. }
  2366. set
  2367. {
  2368. if ((this._MTIME != value))
  2369. {
  2370. this.OnMTIMEChanging(value);
  2371. this.SendPropertyChanging();
  2372. this._MTIME = value;
  2373. this.SendPropertyChanged("MTIME");
  2374. this.OnMTIMEChanged();
  2375. }
  2376. }
  2377. }
  2378. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2379. public string WorkPoint
  2380. {
  2381. get
  2382. {
  2383. return this._WorkPoint;
  2384. }
  2385. set
  2386. {
  2387. if ((this._WorkPoint != value))
  2388. {
  2389. this.OnWorkPointChanging(value);
  2390. this.SendPropertyChanging();
  2391. this._WorkPoint = value;
  2392. this.SendPropertyChanged("WorkPoint");
  2393. this.OnWorkPointChanged();
  2394. }
  2395. }
  2396. }
  2397. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE", DbType="NVarChar(50)")]
  2398. public string EATTRIBUTE
  2399. {
  2400. get
  2401. {
  2402. return this._EATTRIBUTE;
  2403. }
  2404. set
  2405. {
  2406. if ((this._EATTRIBUTE != value))
  2407. {
  2408. this.OnEATTRIBUTEChanging(value);
  2409. this.SendPropertyChanging();
  2410. this._EATTRIBUTE = value;
  2411. this.SendPropertyChanged("EATTRIBUTE");
  2412. this.OnEATTRIBUTEChanged();
  2413. }
  2414. }
  2415. }
  2416. public event PropertyChangingEventHandler PropertyChanging;
  2417. public event PropertyChangedEventHandler PropertyChanged;
  2418. protected virtual void SendPropertyChanging()
  2419. {
  2420. if ((this.PropertyChanging != null))
  2421. {
  2422. this.PropertyChanging(this, emptyChangingEventArgs);
  2423. }
  2424. }
  2425. protected virtual void SendPropertyChanged(String propertyName)
  2426. {
  2427. if ((this.PropertyChanged != null))
  2428. {
  2429. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  2430. }
  2431. }
  2432. }
  2433. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSMOApplyNeg")]
  2434. public partial class ICSMOApplyNeg : INotifyPropertyChanging, INotifyPropertyChanged
  2435. {
  2436. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  2437. private string _ID;
  2438. private string _ApplyNegCode;
  2439. private string _Status;
  2440. private string _Type;
  2441. private string _Memo;
  2442. private string _CreatePerson;
  2443. private System.DateTime _CreateDateTime;
  2444. private string _MUSER;
  2445. private string _MUSERName;
  2446. private System.DateTime _MTIME;
  2447. private string _WorkPoint;
  2448. private string _EATTRIBUTE1;
  2449. #region 可扩展性方法定义
  2450. partial void OnLoaded();
  2451. partial void OnValidate(System.Data.Linq.ChangeAction action);
  2452. partial void OnCreated();
  2453. partial void OnIDChanging(string value);
  2454. partial void OnIDChanged();
  2455. partial void OnApplyNegCodeChanging(string value);
  2456. partial void OnApplyNegCodeChanged();
  2457. partial void OnStatusChanging(string value);
  2458. partial void OnStatusChanged();
  2459. partial void OnTypeChanging(string value);
  2460. partial void OnTypeChanged();
  2461. partial void OnMemoChanging(string value);
  2462. partial void OnMemoChanged();
  2463. partial void OnCreatePersonChanging(string value);
  2464. partial void OnCreatePersonChanged();
  2465. partial void OnCreateDateTimeChanging(System.DateTime value);
  2466. partial void OnCreateDateTimeChanged();
  2467. partial void OnMUSERChanging(string value);
  2468. partial void OnMUSERChanged();
  2469. partial void OnMUSERNameChanging(string value);
  2470. partial void OnMUSERNameChanged();
  2471. partial void OnMTIMEChanging(System.DateTime value);
  2472. partial void OnMTIMEChanged();
  2473. partial void OnWorkPointChanging(string value);
  2474. partial void OnWorkPointChanged();
  2475. partial void OnEATTRIBUTE1Changing(string value);
  2476. partial void OnEATTRIBUTE1Changed();
  2477. #endregion
  2478. public ICSMOApplyNeg()
  2479. {
  2480. OnCreated();
  2481. }
  2482. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2483. public string ID
  2484. {
  2485. get
  2486. {
  2487. return this._ID;
  2488. }
  2489. set
  2490. {
  2491. if ((this._ID != value))
  2492. {
  2493. this.OnIDChanging(value);
  2494. this.SendPropertyChanging();
  2495. this._ID = value;
  2496. this.SendPropertyChanged("ID");
  2497. this.OnIDChanged();
  2498. }
  2499. }
  2500. }
  2501. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyNegCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  2502. public string ApplyNegCode
  2503. {
  2504. get
  2505. {
  2506. return this._ApplyNegCode;
  2507. }
  2508. set
  2509. {
  2510. if ((this._ApplyNegCode != value))
  2511. {
  2512. this.OnApplyNegCodeChanging(value);
  2513. this.SendPropertyChanging();
  2514. this._ApplyNegCode = value;
  2515. this.SendPropertyChanged("ApplyNegCode");
  2516. this.OnApplyNegCodeChanged();
  2517. }
  2518. }
  2519. }
  2520. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2521. public string Status
  2522. {
  2523. get
  2524. {
  2525. return this._Status;
  2526. }
  2527. set
  2528. {
  2529. if ((this._Status != value))
  2530. {
  2531. this.OnStatusChanging(value);
  2532. this.SendPropertyChanging();
  2533. this._Status = value;
  2534. this.SendPropertyChanged("Status");
  2535. this.OnStatusChanged();
  2536. }
  2537. }
  2538. }
  2539. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2540. public string Type
  2541. {
  2542. get
  2543. {
  2544. return this._Type;
  2545. }
  2546. set
  2547. {
  2548. if ((this._Type != value))
  2549. {
  2550. this.OnTypeChanging(value);
  2551. this.SendPropertyChanging();
  2552. this._Type = value;
  2553. this.SendPropertyChanged("Type");
  2554. this.OnTypeChanged();
  2555. }
  2556. }
  2557. }
  2558. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Memo", DbType="NVarChar(1000)")]
  2559. public string Memo
  2560. {
  2561. get
  2562. {
  2563. return this._Memo;
  2564. }
  2565. set
  2566. {
  2567. if ((this._Memo != value))
  2568. {
  2569. this.OnMemoChanging(value);
  2570. this.SendPropertyChanging();
  2571. this._Memo = value;
  2572. this.SendPropertyChanged("Memo");
  2573. this.OnMemoChanged();
  2574. }
  2575. }
  2576. }
  2577. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2578. public string CreatePerson
  2579. {
  2580. get
  2581. {
  2582. return this._CreatePerson;
  2583. }
  2584. set
  2585. {
  2586. if ((this._CreatePerson != value))
  2587. {
  2588. this.OnCreatePersonChanging(value);
  2589. this.SendPropertyChanging();
  2590. this._CreatePerson = value;
  2591. this.SendPropertyChanged("CreatePerson");
  2592. this.OnCreatePersonChanged();
  2593. }
  2594. }
  2595. }
  2596. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
  2597. public System.DateTime CreateDateTime
  2598. {
  2599. get
  2600. {
  2601. return this._CreateDateTime;
  2602. }
  2603. set
  2604. {
  2605. if ((this._CreateDateTime != value))
  2606. {
  2607. this.OnCreateDateTimeChanging(value);
  2608. this.SendPropertyChanging();
  2609. this._CreateDateTime = value;
  2610. this.SendPropertyChanged("CreateDateTime");
  2611. this.OnCreateDateTimeChanged();
  2612. }
  2613. }
  2614. }
  2615. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2616. public string MUSER
  2617. {
  2618. get
  2619. {
  2620. return this._MUSER;
  2621. }
  2622. set
  2623. {
  2624. if ((this._MUSER != value))
  2625. {
  2626. this.OnMUSERChanging(value);
  2627. this.SendPropertyChanging();
  2628. this._MUSER = value;
  2629. this.SendPropertyChanged("MUSER");
  2630. this.OnMUSERChanged();
  2631. }
  2632. }
  2633. }
  2634. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2635. public string MUSERName
  2636. {
  2637. get
  2638. {
  2639. return this._MUSERName;
  2640. }
  2641. set
  2642. {
  2643. if ((this._MUSERName != value))
  2644. {
  2645. this.OnMUSERNameChanging(value);
  2646. this.SendPropertyChanging();
  2647. this._MUSERName = value;
  2648. this.SendPropertyChanged("MUSERName");
  2649. this.OnMUSERNameChanged();
  2650. }
  2651. }
  2652. }
  2653. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  2654. public System.DateTime MTIME
  2655. {
  2656. get
  2657. {
  2658. return this._MTIME;
  2659. }
  2660. set
  2661. {
  2662. if ((this._MTIME != value))
  2663. {
  2664. this.OnMTIMEChanging(value);
  2665. this.SendPropertyChanging();
  2666. this._MTIME = value;
  2667. this.SendPropertyChanged("MTIME");
  2668. this.OnMTIMEChanged();
  2669. }
  2670. }
  2671. }
  2672. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2673. public string WorkPoint
  2674. {
  2675. get
  2676. {
  2677. return this._WorkPoint;
  2678. }
  2679. set
  2680. {
  2681. if ((this._WorkPoint != value))
  2682. {
  2683. this.OnWorkPointChanging(value);
  2684. this.SendPropertyChanging();
  2685. this._WorkPoint = value;
  2686. this.SendPropertyChanged("WorkPoint");
  2687. this.OnWorkPointChanged();
  2688. }
  2689. }
  2690. }
  2691. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  2692. public string EATTRIBUTE1
  2693. {
  2694. get
  2695. {
  2696. return this._EATTRIBUTE1;
  2697. }
  2698. set
  2699. {
  2700. if ((this._EATTRIBUTE1 != value))
  2701. {
  2702. this.OnEATTRIBUTE1Changing(value);
  2703. this.SendPropertyChanging();
  2704. this._EATTRIBUTE1 = value;
  2705. this.SendPropertyChanged("EATTRIBUTE1");
  2706. this.OnEATTRIBUTE1Changed();
  2707. }
  2708. }
  2709. }
  2710. public event PropertyChangingEventHandler PropertyChanging;
  2711. public event PropertyChangedEventHandler PropertyChanged;
  2712. protected virtual void SendPropertyChanging()
  2713. {
  2714. if ((this.PropertyChanging != null))
  2715. {
  2716. this.PropertyChanging(this, emptyChangingEventArgs);
  2717. }
  2718. }
  2719. protected virtual void SendPropertyChanged(String propertyName)
  2720. {
  2721. if ((this.PropertyChanged != null))
  2722. {
  2723. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  2724. }
  2725. }
  2726. }
  2727. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSMOApplyNegDetail")]
  2728. public partial class ICSMOApplyNegDetail : INotifyPropertyChanging, INotifyPropertyChanged
  2729. {
  2730. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  2731. private string _ID;
  2732. private string _ApplyNegCode;
  2733. private string _Sequence;
  2734. private string _SourceDetailID;
  2735. private string _InvCode;
  2736. private string _WHCode;
  2737. private decimal _Quantity;
  2738. private System.Nullable<decimal> _Amount;
  2739. private System.Nullable<decimal> _IssueNegQuantity;
  2740. private string _ExtensionID;
  2741. private string _MUSER;
  2742. private string _MUSERName;
  2743. private System.DateTime _MTIME;
  2744. private string _WorkPoint;
  2745. private string _EATTRIBUTE;
  2746. #region 可扩展性方法定义
  2747. partial void OnLoaded();
  2748. partial void OnValidate(System.Data.Linq.ChangeAction action);
  2749. partial void OnCreated();
  2750. partial void OnIDChanging(string value);
  2751. partial void OnIDChanged();
  2752. partial void OnApplyNegCodeChanging(string value);
  2753. partial void OnApplyNegCodeChanged();
  2754. partial void OnSequenceChanging(string value);
  2755. partial void OnSequenceChanged();
  2756. partial void OnSourceDetailIDChanging(string value);
  2757. partial void OnSourceDetailIDChanged();
  2758. partial void OnInvCodeChanging(string value);
  2759. partial void OnInvCodeChanged();
  2760. partial void OnWHCodeChanging(string value);
  2761. partial void OnWHCodeChanged();
  2762. partial void OnQuantityChanging(decimal value);
  2763. partial void OnQuantityChanged();
  2764. partial void OnAmountChanging(System.Nullable<decimal> value);
  2765. partial void OnAmountChanged();
  2766. partial void OnIssueNegQuantityChanging(System.Nullable<decimal> value);
  2767. partial void OnIssueNegQuantityChanged();
  2768. partial void OnExtensionIDChanging(string value);
  2769. partial void OnExtensionIDChanged();
  2770. partial void OnMUSERChanging(string value);
  2771. partial void OnMUSERChanged();
  2772. partial void OnMUSERNameChanging(string value);
  2773. partial void OnMUSERNameChanged();
  2774. partial void OnMTIMEChanging(System.DateTime value);
  2775. partial void OnMTIMEChanged();
  2776. partial void OnWorkPointChanging(string value);
  2777. partial void OnWorkPointChanged();
  2778. partial void OnEATTRIBUTEChanging(string value);
  2779. partial void OnEATTRIBUTEChanged();
  2780. #endregion
  2781. public ICSMOApplyNegDetail()
  2782. {
  2783. OnCreated();
  2784. }
  2785. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  2786. public string ID
  2787. {
  2788. get
  2789. {
  2790. return this._ID;
  2791. }
  2792. set
  2793. {
  2794. if ((this._ID != value))
  2795. {
  2796. this.OnIDChanging(value);
  2797. this.SendPropertyChanging();
  2798. this._ID = value;
  2799. this.SendPropertyChanged("ID");
  2800. this.OnIDChanged();
  2801. }
  2802. }
  2803. }
  2804. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplyNegCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2805. public string ApplyNegCode
  2806. {
  2807. get
  2808. {
  2809. return this._ApplyNegCode;
  2810. }
  2811. set
  2812. {
  2813. if ((this._ApplyNegCode != value))
  2814. {
  2815. this.OnApplyNegCodeChanging(value);
  2816. this.SendPropertyChanging();
  2817. this._ApplyNegCode = value;
  2818. this.SendPropertyChanged("ApplyNegCode");
  2819. this.OnApplyNegCodeChanged();
  2820. }
  2821. }
  2822. }
  2823. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2824. public string Sequence
  2825. {
  2826. get
  2827. {
  2828. return this._Sequence;
  2829. }
  2830. set
  2831. {
  2832. if ((this._Sequence != value))
  2833. {
  2834. this.OnSequenceChanging(value);
  2835. this.SendPropertyChanging();
  2836. this._Sequence = value;
  2837. this.SendPropertyChanged("Sequence");
  2838. this.OnSequenceChanged();
  2839. }
  2840. }
  2841. }
  2842. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceDetailID", DbType="NVarChar(50)")]
  2843. public string SourceDetailID
  2844. {
  2845. get
  2846. {
  2847. return this._SourceDetailID;
  2848. }
  2849. set
  2850. {
  2851. if ((this._SourceDetailID != value))
  2852. {
  2853. this.OnSourceDetailIDChanging(value);
  2854. this.SendPropertyChanging();
  2855. this._SourceDetailID = value;
  2856. this.SendPropertyChanged("SourceDetailID");
  2857. this.OnSourceDetailIDChanged();
  2858. }
  2859. }
  2860. }
  2861. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2862. public string InvCode
  2863. {
  2864. get
  2865. {
  2866. return this._InvCode;
  2867. }
  2868. set
  2869. {
  2870. if ((this._InvCode != value))
  2871. {
  2872. this.OnInvCodeChanging(value);
  2873. this.SendPropertyChanging();
  2874. this._InvCode = value;
  2875. this.SendPropertyChanged("InvCode");
  2876. this.OnInvCodeChanged();
  2877. }
  2878. }
  2879. }
  2880. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50)")]
  2881. public string WHCode
  2882. {
  2883. get
  2884. {
  2885. return this._WHCode;
  2886. }
  2887. set
  2888. {
  2889. if ((this._WHCode != value))
  2890. {
  2891. this.OnWHCodeChanging(value);
  2892. this.SendPropertyChanging();
  2893. this._WHCode = value;
  2894. this.SendPropertyChanged("WHCode");
  2895. this.OnWHCodeChanged();
  2896. }
  2897. }
  2898. }
  2899. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
  2900. public decimal Quantity
  2901. {
  2902. get
  2903. {
  2904. return this._Quantity;
  2905. }
  2906. set
  2907. {
  2908. if ((this._Quantity != value))
  2909. {
  2910. this.OnQuantityChanging(value);
  2911. this.SendPropertyChanging();
  2912. this._Quantity = value;
  2913. this.SendPropertyChanged("Quantity");
  2914. this.OnQuantityChanged();
  2915. }
  2916. }
  2917. }
  2918. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  2919. public System.Nullable<decimal> Amount
  2920. {
  2921. get
  2922. {
  2923. return this._Amount;
  2924. }
  2925. set
  2926. {
  2927. if ((this._Amount != value))
  2928. {
  2929. this.OnAmountChanging(value);
  2930. this.SendPropertyChanging();
  2931. this._Amount = value;
  2932. this.SendPropertyChanged("Amount");
  2933. this.OnAmountChanged();
  2934. }
  2935. }
  2936. }
  2937. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IssueNegQuantity", DbType="Decimal(18,6)")]
  2938. public System.Nullable<decimal> IssueNegQuantity
  2939. {
  2940. get
  2941. {
  2942. return this._IssueNegQuantity;
  2943. }
  2944. set
  2945. {
  2946. if ((this._IssueNegQuantity != value))
  2947. {
  2948. this.OnIssueNegQuantityChanging(value);
  2949. this.SendPropertyChanging();
  2950. this._IssueNegQuantity = value;
  2951. this.SendPropertyChanged("IssueNegQuantity");
  2952. this.OnIssueNegQuantityChanged();
  2953. }
  2954. }
  2955. }
  2956. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2957. public string ExtensionID
  2958. {
  2959. get
  2960. {
  2961. return this._ExtensionID;
  2962. }
  2963. set
  2964. {
  2965. if ((this._ExtensionID != value))
  2966. {
  2967. this.OnExtensionIDChanging(value);
  2968. this.SendPropertyChanging();
  2969. this._ExtensionID = value;
  2970. this.SendPropertyChanged("ExtensionID");
  2971. this.OnExtensionIDChanged();
  2972. }
  2973. }
  2974. }
  2975. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2976. public string MUSER
  2977. {
  2978. get
  2979. {
  2980. return this._MUSER;
  2981. }
  2982. set
  2983. {
  2984. if ((this._MUSER != value))
  2985. {
  2986. this.OnMUSERChanging(value);
  2987. this.SendPropertyChanging();
  2988. this._MUSER = value;
  2989. this.SendPropertyChanged("MUSER");
  2990. this.OnMUSERChanged();
  2991. }
  2992. }
  2993. }
  2994. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  2995. public string MUSERName
  2996. {
  2997. get
  2998. {
  2999. return this._MUSERName;
  3000. }
  3001. set
  3002. {
  3003. if ((this._MUSERName != value))
  3004. {
  3005. this.OnMUSERNameChanging(value);
  3006. this.SendPropertyChanging();
  3007. this._MUSERName = value;
  3008. this.SendPropertyChanged("MUSERName");
  3009. this.OnMUSERNameChanged();
  3010. }
  3011. }
  3012. }
  3013. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  3014. public System.DateTime MTIME
  3015. {
  3016. get
  3017. {
  3018. return this._MTIME;
  3019. }
  3020. set
  3021. {
  3022. if ((this._MTIME != value))
  3023. {
  3024. this.OnMTIMEChanging(value);
  3025. this.SendPropertyChanging();
  3026. this._MTIME = value;
  3027. this.SendPropertyChanged("MTIME");
  3028. this.OnMTIMEChanged();
  3029. }
  3030. }
  3031. }
  3032. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3033. public string WorkPoint
  3034. {
  3035. get
  3036. {
  3037. return this._WorkPoint;
  3038. }
  3039. set
  3040. {
  3041. if ((this._WorkPoint != value))
  3042. {
  3043. this.OnWorkPointChanging(value);
  3044. this.SendPropertyChanging();
  3045. this._WorkPoint = value;
  3046. this.SendPropertyChanged("WorkPoint");
  3047. this.OnWorkPointChanged();
  3048. }
  3049. }
  3050. }
  3051. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE", DbType="NVarChar(50)")]
  3052. public string EATTRIBUTE
  3053. {
  3054. get
  3055. {
  3056. return this._EATTRIBUTE;
  3057. }
  3058. set
  3059. {
  3060. if ((this._EATTRIBUTE != value))
  3061. {
  3062. this.OnEATTRIBUTEChanging(value);
  3063. this.SendPropertyChanging();
  3064. this._EATTRIBUTE = value;
  3065. this.SendPropertyChanged("EATTRIBUTE");
  3066. this.OnEATTRIBUTEChanged();
  3067. }
  3068. }
  3069. }
  3070. public event PropertyChangingEventHandler PropertyChanging;
  3071. public event PropertyChangedEventHandler PropertyChanged;
  3072. protected virtual void SendPropertyChanging()
  3073. {
  3074. if ((this.PropertyChanging != null))
  3075. {
  3076. this.PropertyChanging(this, emptyChangingEventArgs);
  3077. }
  3078. }
  3079. protected virtual void SendPropertyChanged(String propertyName)
  3080. {
  3081. if ((this.PropertyChanged != null))
  3082. {
  3083. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  3084. }
  3085. }
  3086. }
  3087. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSTransfer")]
  3088. public partial class ICSTransfer : INotifyPropertyChanging, INotifyPropertyChanged
  3089. {
  3090. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  3091. private string _ID;
  3092. private string _TransferNO;
  3093. private string _Sequence;
  3094. private string _FromWarehouseCode;
  3095. private string _FromLocationCode;
  3096. private string _ToWarehouseCode;
  3097. private string _ToLocationCode;
  3098. private string _Status;
  3099. private string _InvCode;
  3100. private decimal _Quantity;
  3101. private System.Nullable<decimal> _Amount;
  3102. private System.Nullable<decimal> _TransferQuantity;
  3103. private string _Type;
  3104. private string _Memo;
  3105. private string _CreatePerson;
  3106. private System.DateTime _CreateDateTime;
  3107. private string _TransferID;
  3108. private string _TransferDetailID;
  3109. private string _ExtensionID;
  3110. private string _MUSER;
  3111. private string _MUSERName;
  3112. private System.DateTime _MTIME;
  3113. private string _WorkPoint;
  3114. private string _EATTRIBUTE1;
  3115. #region 可扩展性方法定义
  3116. partial void OnLoaded();
  3117. partial void OnValidate(System.Data.Linq.ChangeAction action);
  3118. partial void OnCreated();
  3119. partial void OnIDChanging(string value);
  3120. partial void OnIDChanged();
  3121. partial void OnTransferNOChanging(string value);
  3122. partial void OnTransferNOChanged();
  3123. partial void OnSequenceChanging(string value);
  3124. partial void OnSequenceChanged();
  3125. partial void OnFromWarehouseCodeChanging(string value);
  3126. partial void OnFromWarehouseCodeChanged();
  3127. partial void OnFromLocationCodeChanging(string value);
  3128. partial void OnFromLocationCodeChanged();
  3129. partial void OnToWarehouseCodeChanging(string value);
  3130. partial void OnToWarehouseCodeChanged();
  3131. partial void OnToLocationCodeChanging(string value);
  3132. partial void OnToLocationCodeChanged();
  3133. partial void OnStatusChanging(string value);
  3134. partial void OnStatusChanged();
  3135. partial void OnInvCodeChanging(string value);
  3136. partial void OnInvCodeChanged();
  3137. partial void OnQuantityChanging(decimal value);
  3138. partial void OnQuantityChanged();
  3139. partial void OnAmountChanging(System.Nullable<decimal> value);
  3140. partial void OnAmountChanged();
  3141. partial void OnTransferQuantityChanging(System.Nullable<decimal> value);
  3142. partial void OnTransferQuantityChanged();
  3143. partial void OnTypeChanging(string value);
  3144. partial void OnTypeChanged();
  3145. partial void OnMemoChanging(string value);
  3146. partial void OnMemoChanged();
  3147. partial void OnCreatePersonChanging(string value);
  3148. partial void OnCreatePersonChanged();
  3149. partial void OnCreateDateTimeChanging(System.DateTime value);
  3150. partial void OnCreateDateTimeChanged();
  3151. partial void OnTransferIDChanging(string value);
  3152. partial void OnTransferIDChanged();
  3153. partial void OnTransferDetailIDChanging(string value);
  3154. partial void OnTransferDetailIDChanged();
  3155. partial void OnExtensionIDChanging(string value);
  3156. partial void OnExtensionIDChanged();
  3157. partial void OnMUSERChanging(string value);
  3158. partial void OnMUSERChanged();
  3159. partial void OnMUSERNameChanging(string value);
  3160. partial void OnMUSERNameChanged();
  3161. partial void OnMTIMEChanging(System.DateTime value);
  3162. partial void OnMTIMEChanged();
  3163. partial void OnWorkPointChanging(string value);
  3164. partial void OnWorkPointChanged();
  3165. partial void OnEATTRIBUTE1Changing(string value);
  3166. partial void OnEATTRIBUTE1Changed();
  3167. #endregion
  3168. public ICSTransfer()
  3169. {
  3170. OnCreated();
  3171. }
  3172. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  3173. public string ID
  3174. {
  3175. get
  3176. {
  3177. return this._ID;
  3178. }
  3179. set
  3180. {
  3181. if ((this._ID != value))
  3182. {
  3183. this.OnIDChanging(value);
  3184. this.SendPropertyChanging();
  3185. this._ID = value;
  3186. this.SendPropertyChanged("ID");
  3187. this.OnIDChanged();
  3188. }
  3189. }
  3190. }
  3191. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferNO", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3192. public string TransferNO
  3193. {
  3194. get
  3195. {
  3196. return this._TransferNO;
  3197. }
  3198. set
  3199. {
  3200. if ((this._TransferNO != value))
  3201. {
  3202. this.OnTransferNOChanging(value);
  3203. this.SendPropertyChanging();
  3204. this._TransferNO = value;
  3205. this.SendPropertyChanged("TransferNO");
  3206. this.OnTransferNOChanged();
  3207. }
  3208. }
  3209. }
  3210. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3211. public string Sequence
  3212. {
  3213. get
  3214. {
  3215. return this._Sequence;
  3216. }
  3217. set
  3218. {
  3219. if ((this._Sequence != value))
  3220. {
  3221. this.OnSequenceChanging(value);
  3222. this.SendPropertyChanging();
  3223. this._Sequence = value;
  3224. this.SendPropertyChanged("Sequence");
  3225. this.OnSequenceChanged();
  3226. }
  3227. }
  3228. }
  3229. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FromWarehouseCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3230. public string FromWarehouseCode
  3231. {
  3232. get
  3233. {
  3234. return this._FromWarehouseCode;
  3235. }
  3236. set
  3237. {
  3238. if ((this._FromWarehouseCode != value))
  3239. {
  3240. this.OnFromWarehouseCodeChanging(value);
  3241. this.SendPropertyChanging();
  3242. this._FromWarehouseCode = value;
  3243. this.SendPropertyChanged("FromWarehouseCode");
  3244. this.OnFromWarehouseCodeChanged();
  3245. }
  3246. }
  3247. }
  3248. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FromLocationCode", DbType="NVarChar(50)")]
  3249. public string FromLocationCode
  3250. {
  3251. get
  3252. {
  3253. return this._FromLocationCode;
  3254. }
  3255. set
  3256. {
  3257. if ((this._FromLocationCode != value))
  3258. {
  3259. this.OnFromLocationCodeChanging(value);
  3260. this.SendPropertyChanging();
  3261. this._FromLocationCode = value;
  3262. this.SendPropertyChanged("FromLocationCode");
  3263. this.OnFromLocationCodeChanged();
  3264. }
  3265. }
  3266. }
  3267. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToWarehouseCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3268. public string ToWarehouseCode
  3269. {
  3270. get
  3271. {
  3272. return this._ToWarehouseCode;
  3273. }
  3274. set
  3275. {
  3276. if ((this._ToWarehouseCode != value))
  3277. {
  3278. this.OnToWarehouseCodeChanging(value);
  3279. this.SendPropertyChanging();
  3280. this._ToWarehouseCode = value;
  3281. this.SendPropertyChanged("ToWarehouseCode");
  3282. this.OnToWarehouseCodeChanged();
  3283. }
  3284. }
  3285. }
  3286. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToLocationCode", DbType="NVarChar(50)")]
  3287. public string ToLocationCode
  3288. {
  3289. get
  3290. {
  3291. return this._ToLocationCode;
  3292. }
  3293. set
  3294. {
  3295. if ((this._ToLocationCode != value))
  3296. {
  3297. this.OnToLocationCodeChanging(value);
  3298. this.SendPropertyChanging();
  3299. this._ToLocationCode = value;
  3300. this.SendPropertyChanged("ToLocationCode");
  3301. this.OnToLocationCodeChanged();
  3302. }
  3303. }
  3304. }
  3305. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3306. public string Status
  3307. {
  3308. get
  3309. {
  3310. return this._Status;
  3311. }
  3312. set
  3313. {
  3314. if ((this._Status != value))
  3315. {
  3316. this.OnStatusChanging(value);
  3317. this.SendPropertyChanging();
  3318. this._Status = value;
  3319. this.SendPropertyChanged("Status");
  3320. this.OnStatusChanged();
  3321. }
  3322. }
  3323. }
  3324. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3325. public string InvCode
  3326. {
  3327. get
  3328. {
  3329. return this._InvCode;
  3330. }
  3331. set
  3332. {
  3333. if ((this._InvCode != value))
  3334. {
  3335. this.OnInvCodeChanging(value);
  3336. this.SendPropertyChanging();
  3337. this._InvCode = value;
  3338. this.SendPropertyChanged("InvCode");
  3339. this.OnInvCodeChanged();
  3340. }
  3341. }
  3342. }
  3343. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
  3344. public decimal Quantity
  3345. {
  3346. get
  3347. {
  3348. return this._Quantity;
  3349. }
  3350. set
  3351. {
  3352. if ((this._Quantity != value))
  3353. {
  3354. this.OnQuantityChanging(value);
  3355. this.SendPropertyChanging();
  3356. this._Quantity = value;
  3357. this.SendPropertyChanged("Quantity");
  3358. this.OnQuantityChanged();
  3359. }
  3360. }
  3361. }
  3362. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  3363. public System.Nullable<decimal> Amount
  3364. {
  3365. get
  3366. {
  3367. return this._Amount;
  3368. }
  3369. set
  3370. {
  3371. if ((this._Amount != value))
  3372. {
  3373. this.OnAmountChanging(value);
  3374. this.SendPropertyChanging();
  3375. this._Amount = value;
  3376. this.SendPropertyChanged("Amount");
  3377. this.OnAmountChanged();
  3378. }
  3379. }
  3380. }
  3381. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferQuantity", DbType="Decimal(18,6)")]
  3382. public System.Nullable<decimal> TransferQuantity
  3383. {
  3384. get
  3385. {
  3386. return this._TransferQuantity;
  3387. }
  3388. set
  3389. {
  3390. if ((this._TransferQuantity != value))
  3391. {
  3392. this.OnTransferQuantityChanging(value);
  3393. this.SendPropertyChanging();
  3394. this._TransferQuantity = value;
  3395. this.SendPropertyChanged("TransferQuantity");
  3396. this.OnTransferQuantityChanged();
  3397. }
  3398. }
  3399. }
  3400. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50)")]
  3401. public string Type
  3402. {
  3403. get
  3404. {
  3405. return this._Type;
  3406. }
  3407. set
  3408. {
  3409. if ((this._Type != value))
  3410. {
  3411. this.OnTypeChanging(value);
  3412. this.SendPropertyChanging();
  3413. this._Type = value;
  3414. this.SendPropertyChanged("Type");
  3415. this.OnTypeChanged();
  3416. }
  3417. }
  3418. }
  3419. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Memo", DbType="NVarChar(1000)")]
  3420. public string Memo
  3421. {
  3422. get
  3423. {
  3424. return this._Memo;
  3425. }
  3426. set
  3427. {
  3428. if ((this._Memo != value))
  3429. {
  3430. this.OnMemoChanging(value);
  3431. this.SendPropertyChanging();
  3432. this._Memo = value;
  3433. this.SendPropertyChanged("Memo");
  3434. this.OnMemoChanged();
  3435. }
  3436. }
  3437. }
  3438. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3439. public string CreatePerson
  3440. {
  3441. get
  3442. {
  3443. return this._CreatePerson;
  3444. }
  3445. set
  3446. {
  3447. if ((this._CreatePerson != value))
  3448. {
  3449. this.OnCreatePersonChanging(value);
  3450. this.SendPropertyChanging();
  3451. this._CreatePerson = value;
  3452. this.SendPropertyChanged("CreatePerson");
  3453. this.OnCreatePersonChanged();
  3454. }
  3455. }
  3456. }
  3457. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
  3458. public System.DateTime CreateDateTime
  3459. {
  3460. get
  3461. {
  3462. return this._CreateDateTime;
  3463. }
  3464. set
  3465. {
  3466. if ((this._CreateDateTime != value))
  3467. {
  3468. this.OnCreateDateTimeChanging(value);
  3469. this.SendPropertyChanging();
  3470. this._CreateDateTime = value;
  3471. this.SendPropertyChanged("CreateDateTime");
  3472. this.OnCreateDateTimeChanged();
  3473. }
  3474. }
  3475. }
  3476. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferID", DbType="NVarChar(50)")]
  3477. public string TransferID
  3478. {
  3479. get
  3480. {
  3481. return this._TransferID;
  3482. }
  3483. set
  3484. {
  3485. if ((this._TransferID != value))
  3486. {
  3487. this.OnTransferIDChanging(value);
  3488. this.SendPropertyChanging();
  3489. this._TransferID = value;
  3490. this.SendPropertyChanged("TransferID");
  3491. this.OnTransferIDChanged();
  3492. }
  3493. }
  3494. }
  3495. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferDetailID", DbType="NVarChar(50)")]
  3496. public string TransferDetailID
  3497. {
  3498. get
  3499. {
  3500. return this._TransferDetailID;
  3501. }
  3502. set
  3503. {
  3504. if ((this._TransferDetailID != value))
  3505. {
  3506. this.OnTransferDetailIDChanging(value);
  3507. this.SendPropertyChanging();
  3508. this._TransferDetailID = value;
  3509. this.SendPropertyChanged("TransferDetailID");
  3510. this.OnTransferDetailIDChanged();
  3511. }
  3512. }
  3513. }
  3514. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3515. public string ExtensionID
  3516. {
  3517. get
  3518. {
  3519. return this._ExtensionID;
  3520. }
  3521. set
  3522. {
  3523. if ((this._ExtensionID != value))
  3524. {
  3525. this.OnExtensionIDChanging(value);
  3526. this.SendPropertyChanging();
  3527. this._ExtensionID = value;
  3528. this.SendPropertyChanged("ExtensionID");
  3529. this.OnExtensionIDChanged();
  3530. }
  3531. }
  3532. }
  3533. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3534. public string MUSER
  3535. {
  3536. get
  3537. {
  3538. return this._MUSER;
  3539. }
  3540. set
  3541. {
  3542. if ((this._MUSER != value))
  3543. {
  3544. this.OnMUSERChanging(value);
  3545. this.SendPropertyChanging();
  3546. this._MUSER = value;
  3547. this.SendPropertyChanged("MUSER");
  3548. this.OnMUSERChanged();
  3549. }
  3550. }
  3551. }
  3552. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3553. public string MUSERName
  3554. {
  3555. get
  3556. {
  3557. return this._MUSERName;
  3558. }
  3559. set
  3560. {
  3561. if ((this._MUSERName != value))
  3562. {
  3563. this.OnMUSERNameChanging(value);
  3564. this.SendPropertyChanging();
  3565. this._MUSERName = value;
  3566. this.SendPropertyChanged("MUSERName");
  3567. this.OnMUSERNameChanged();
  3568. }
  3569. }
  3570. }
  3571. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  3572. public System.DateTime MTIME
  3573. {
  3574. get
  3575. {
  3576. return this._MTIME;
  3577. }
  3578. set
  3579. {
  3580. if ((this._MTIME != value))
  3581. {
  3582. this.OnMTIMEChanging(value);
  3583. this.SendPropertyChanging();
  3584. this._MTIME = value;
  3585. this.SendPropertyChanged("MTIME");
  3586. this.OnMTIMEChanged();
  3587. }
  3588. }
  3589. }
  3590. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3591. public string WorkPoint
  3592. {
  3593. get
  3594. {
  3595. return this._WorkPoint;
  3596. }
  3597. set
  3598. {
  3599. if ((this._WorkPoint != value))
  3600. {
  3601. this.OnWorkPointChanging(value);
  3602. this.SendPropertyChanging();
  3603. this._WorkPoint = value;
  3604. this.SendPropertyChanged("WorkPoint");
  3605. this.OnWorkPointChanged();
  3606. }
  3607. }
  3608. }
  3609. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  3610. public string EATTRIBUTE1
  3611. {
  3612. get
  3613. {
  3614. return this._EATTRIBUTE1;
  3615. }
  3616. set
  3617. {
  3618. if ((this._EATTRIBUTE1 != value))
  3619. {
  3620. this.OnEATTRIBUTE1Changing(value);
  3621. this.SendPropertyChanging();
  3622. this._EATTRIBUTE1 = value;
  3623. this.SendPropertyChanged("EATTRIBUTE1");
  3624. this.OnEATTRIBUTE1Changed();
  3625. }
  3626. }
  3627. }
  3628. public event PropertyChangingEventHandler PropertyChanging;
  3629. public event PropertyChangedEventHandler PropertyChanged;
  3630. protected virtual void SendPropertyChanging()
  3631. {
  3632. if ((this.PropertyChanging != null))
  3633. {
  3634. this.PropertyChanging(this, emptyChangingEventArgs);
  3635. }
  3636. }
  3637. protected virtual void SendPropertyChanged(String propertyName)
  3638. {
  3639. if ((this.PropertyChanged != null))
  3640. {
  3641. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  3642. }
  3643. }
  3644. }
  3645. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSMTDOC")]
  3646. public partial class ICSMTDOC : INotifyPropertyChanging, INotifyPropertyChanged
  3647. {
  3648. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  3649. private string _ID;
  3650. private string _MTDOCCode;
  3651. private string _DepCode;
  3652. private string _WHCode;
  3653. private string _Sequence;
  3654. private string _INVCode;
  3655. private string _SOCode;
  3656. private string _SOSequence;
  3657. private decimal _Quantity;
  3658. private System.Nullable<decimal> _Amount;
  3659. private System.Nullable<decimal> _MTDOCQuantity;
  3660. private string _MTDOCType;
  3661. private string _Memo;
  3662. private string _Status;
  3663. private string _CreatePerson;
  3664. private System.DateTime _CreateDateTime;
  3665. private string _MTDOCID;
  3666. private string _MTDOCDetailID;
  3667. private string _ExtensionID;
  3668. private string _MUSER;
  3669. private string _MUSERName;
  3670. private System.DateTime _MTIME;
  3671. private string _WorkPoint;
  3672. private string _EATTRIBUTE1;
  3673. #region 可扩展性方法定义
  3674. partial void OnLoaded();
  3675. partial void OnValidate(System.Data.Linq.ChangeAction action);
  3676. partial void OnCreated();
  3677. partial void OnIDChanging(string value);
  3678. partial void OnIDChanged();
  3679. partial void OnMTDOCCodeChanging(string value);
  3680. partial void OnMTDOCCodeChanged();
  3681. partial void OnDepCodeChanging(string value);
  3682. partial void OnDepCodeChanged();
  3683. partial void OnWHCodeChanging(string value);
  3684. partial void OnWHCodeChanged();
  3685. partial void OnSequenceChanging(string value);
  3686. partial void OnSequenceChanged();
  3687. partial void OnINVCodeChanging(string value);
  3688. partial void OnINVCodeChanged();
  3689. partial void OnSOCodeChanging(string value);
  3690. partial void OnSOCodeChanged();
  3691. partial void OnSOSequenceChanging(string value);
  3692. partial void OnSOSequenceChanged();
  3693. partial void OnQuantityChanging(decimal value);
  3694. partial void OnQuantityChanged();
  3695. partial void OnAmountChanging(System.Nullable<decimal> value);
  3696. partial void OnAmountChanged();
  3697. partial void OnMTDOCQuantityChanging(System.Nullable<decimal> value);
  3698. partial void OnMTDOCQuantityChanged();
  3699. partial void OnMTDOCTypeChanging(string value);
  3700. partial void OnMTDOCTypeChanged();
  3701. partial void OnMemoChanging(string value);
  3702. partial void OnMemoChanged();
  3703. partial void OnStatusChanging(string value);
  3704. partial void OnStatusChanged();
  3705. partial void OnCreatePersonChanging(string value);
  3706. partial void OnCreatePersonChanged();
  3707. partial void OnCreateDateTimeChanging(System.DateTime value);
  3708. partial void OnCreateDateTimeChanged();
  3709. partial void OnMTDOCIDChanging(string value);
  3710. partial void OnMTDOCIDChanged();
  3711. partial void OnMTDOCDetailIDChanging(string value);
  3712. partial void OnMTDOCDetailIDChanged();
  3713. partial void OnExtensionIDChanging(string value);
  3714. partial void OnExtensionIDChanged();
  3715. partial void OnMUSERChanging(string value);
  3716. partial void OnMUSERChanged();
  3717. partial void OnMUSERNameChanging(string value);
  3718. partial void OnMUSERNameChanged();
  3719. partial void OnMTIMEChanging(System.DateTime value);
  3720. partial void OnMTIMEChanged();
  3721. partial void OnWorkPointChanging(string value);
  3722. partial void OnWorkPointChanged();
  3723. partial void OnEATTRIBUTE1Changing(string value);
  3724. partial void OnEATTRIBUTE1Changed();
  3725. #endregion
  3726. public ICSMTDOC()
  3727. {
  3728. OnCreated();
  3729. }
  3730. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  3731. public string ID
  3732. {
  3733. get
  3734. {
  3735. return this._ID;
  3736. }
  3737. set
  3738. {
  3739. if ((this._ID != value))
  3740. {
  3741. this.OnIDChanging(value);
  3742. this.SendPropertyChanging();
  3743. this._ID = value;
  3744. this.SendPropertyChanged("ID");
  3745. this.OnIDChanged();
  3746. }
  3747. }
  3748. }
  3749. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTDOCCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3750. public string MTDOCCode
  3751. {
  3752. get
  3753. {
  3754. return this._MTDOCCode;
  3755. }
  3756. set
  3757. {
  3758. if ((this._MTDOCCode != value))
  3759. {
  3760. this.OnMTDOCCodeChanging(value);
  3761. this.SendPropertyChanging();
  3762. this._MTDOCCode = value;
  3763. this.SendPropertyChanged("MTDOCCode");
  3764. this.OnMTDOCCodeChanged();
  3765. }
  3766. }
  3767. }
  3768. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepCode", DbType="NVarChar(50)")]
  3769. public string DepCode
  3770. {
  3771. get
  3772. {
  3773. return this._DepCode;
  3774. }
  3775. set
  3776. {
  3777. if ((this._DepCode != value))
  3778. {
  3779. this.OnDepCodeChanging(value);
  3780. this.SendPropertyChanging();
  3781. this._DepCode = value;
  3782. this.SendPropertyChanged("DepCode");
  3783. this.OnDepCodeChanged();
  3784. }
  3785. }
  3786. }
  3787. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3788. public string WHCode
  3789. {
  3790. get
  3791. {
  3792. return this._WHCode;
  3793. }
  3794. set
  3795. {
  3796. if ((this._WHCode != value))
  3797. {
  3798. this.OnWHCodeChanging(value);
  3799. this.SendPropertyChanging();
  3800. this._WHCode = value;
  3801. this.SendPropertyChanged("WHCode");
  3802. this.OnWHCodeChanged();
  3803. }
  3804. }
  3805. }
  3806. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3807. public string Sequence
  3808. {
  3809. get
  3810. {
  3811. return this._Sequence;
  3812. }
  3813. set
  3814. {
  3815. if ((this._Sequence != value))
  3816. {
  3817. this.OnSequenceChanging(value);
  3818. this.SendPropertyChanging();
  3819. this._Sequence = value;
  3820. this.SendPropertyChanged("Sequence");
  3821. this.OnSequenceChanged();
  3822. }
  3823. }
  3824. }
  3825. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_INVCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3826. public string INVCode
  3827. {
  3828. get
  3829. {
  3830. return this._INVCode;
  3831. }
  3832. set
  3833. {
  3834. if ((this._INVCode != value))
  3835. {
  3836. this.OnINVCodeChanging(value);
  3837. this.SendPropertyChanging();
  3838. this._INVCode = value;
  3839. this.SendPropertyChanged("INVCode");
  3840. this.OnINVCodeChanged();
  3841. }
  3842. }
  3843. }
  3844. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SOCode", DbType="NVarChar(50)")]
  3845. public string SOCode
  3846. {
  3847. get
  3848. {
  3849. return this._SOCode;
  3850. }
  3851. set
  3852. {
  3853. if ((this._SOCode != value))
  3854. {
  3855. this.OnSOCodeChanging(value);
  3856. this.SendPropertyChanging();
  3857. this._SOCode = value;
  3858. this.SendPropertyChanged("SOCode");
  3859. this.OnSOCodeChanged();
  3860. }
  3861. }
  3862. }
  3863. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SOSequence", DbType="NVarChar(50)")]
  3864. public string SOSequence
  3865. {
  3866. get
  3867. {
  3868. return this._SOSequence;
  3869. }
  3870. set
  3871. {
  3872. if ((this._SOSequence != value))
  3873. {
  3874. this.OnSOSequenceChanging(value);
  3875. this.SendPropertyChanging();
  3876. this._SOSequence = value;
  3877. this.SendPropertyChanged("SOSequence");
  3878. this.OnSOSequenceChanged();
  3879. }
  3880. }
  3881. }
  3882. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,3) NOT NULL")]
  3883. public decimal Quantity
  3884. {
  3885. get
  3886. {
  3887. return this._Quantity;
  3888. }
  3889. set
  3890. {
  3891. if ((this._Quantity != value))
  3892. {
  3893. this.OnQuantityChanging(value);
  3894. this.SendPropertyChanging();
  3895. this._Quantity = value;
  3896. this.SendPropertyChanged("Quantity");
  3897. this.OnQuantityChanged();
  3898. }
  3899. }
  3900. }
  3901. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  3902. public System.Nullable<decimal> Amount
  3903. {
  3904. get
  3905. {
  3906. return this._Amount;
  3907. }
  3908. set
  3909. {
  3910. if ((this._Amount != value))
  3911. {
  3912. this.OnAmountChanging(value);
  3913. this.SendPropertyChanging();
  3914. this._Amount = value;
  3915. this.SendPropertyChanged("Amount");
  3916. this.OnAmountChanged();
  3917. }
  3918. }
  3919. }
  3920. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTDOCQuantity", DbType="Decimal(18,2)")]
  3921. public System.Nullable<decimal> MTDOCQuantity
  3922. {
  3923. get
  3924. {
  3925. return this._MTDOCQuantity;
  3926. }
  3927. set
  3928. {
  3929. if ((this._MTDOCQuantity != value))
  3930. {
  3931. this.OnMTDOCQuantityChanging(value);
  3932. this.SendPropertyChanging();
  3933. this._MTDOCQuantity = value;
  3934. this.SendPropertyChanged("MTDOCQuantity");
  3935. this.OnMTDOCQuantityChanged();
  3936. }
  3937. }
  3938. }
  3939. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTDOCType", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3940. public string MTDOCType
  3941. {
  3942. get
  3943. {
  3944. return this._MTDOCType;
  3945. }
  3946. set
  3947. {
  3948. if ((this._MTDOCType != value))
  3949. {
  3950. this.OnMTDOCTypeChanging(value);
  3951. this.SendPropertyChanging();
  3952. this._MTDOCType = value;
  3953. this.SendPropertyChanged("MTDOCType");
  3954. this.OnMTDOCTypeChanged();
  3955. }
  3956. }
  3957. }
  3958. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Memo", DbType="NVarChar(500)")]
  3959. public string Memo
  3960. {
  3961. get
  3962. {
  3963. return this._Memo;
  3964. }
  3965. set
  3966. {
  3967. if ((this._Memo != value))
  3968. {
  3969. this.OnMemoChanging(value);
  3970. this.SendPropertyChanging();
  3971. this._Memo = value;
  3972. this.SendPropertyChanged("Memo");
  3973. this.OnMemoChanged();
  3974. }
  3975. }
  3976. }
  3977. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(10) NOT NULL", CanBeNull=false)]
  3978. public string Status
  3979. {
  3980. get
  3981. {
  3982. return this._Status;
  3983. }
  3984. set
  3985. {
  3986. if ((this._Status != value))
  3987. {
  3988. this.OnStatusChanging(value);
  3989. this.SendPropertyChanging();
  3990. this._Status = value;
  3991. this.SendPropertyChanged("Status");
  3992. this.OnStatusChanged();
  3993. }
  3994. }
  3995. }
  3996. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  3997. public string CreatePerson
  3998. {
  3999. get
  4000. {
  4001. return this._CreatePerson;
  4002. }
  4003. set
  4004. {
  4005. if ((this._CreatePerson != value))
  4006. {
  4007. this.OnCreatePersonChanging(value);
  4008. this.SendPropertyChanging();
  4009. this._CreatePerson = value;
  4010. this.SendPropertyChanged("CreatePerson");
  4011. this.OnCreatePersonChanged();
  4012. }
  4013. }
  4014. }
  4015. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
  4016. public System.DateTime CreateDateTime
  4017. {
  4018. get
  4019. {
  4020. return this._CreateDateTime;
  4021. }
  4022. set
  4023. {
  4024. if ((this._CreateDateTime != value))
  4025. {
  4026. this.OnCreateDateTimeChanging(value);
  4027. this.SendPropertyChanging();
  4028. this._CreateDateTime = value;
  4029. this.SendPropertyChanged("CreateDateTime");
  4030. this.OnCreateDateTimeChanged();
  4031. }
  4032. }
  4033. }
  4034. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTDOCID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4035. public string MTDOCID
  4036. {
  4037. get
  4038. {
  4039. return this._MTDOCID;
  4040. }
  4041. set
  4042. {
  4043. if ((this._MTDOCID != value))
  4044. {
  4045. this.OnMTDOCIDChanging(value);
  4046. this.SendPropertyChanging();
  4047. this._MTDOCID = value;
  4048. this.SendPropertyChanged("MTDOCID");
  4049. this.OnMTDOCIDChanged();
  4050. }
  4051. }
  4052. }
  4053. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTDOCDetailID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4054. public string MTDOCDetailID
  4055. {
  4056. get
  4057. {
  4058. return this._MTDOCDetailID;
  4059. }
  4060. set
  4061. {
  4062. if ((this._MTDOCDetailID != value))
  4063. {
  4064. this.OnMTDOCDetailIDChanging(value);
  4065. this.SendPropertyChanging();
  4066. this._MTDOCDetailID = value;
  4067. this.SendPropertyChanged("MTDOCDetailID");
  4068. this.OnMTDOCDetailIDChanged();
  4069. }
  4070. }
  4071. }
  4072. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4073. public string ExtensionID
  4074. {
  4075. get
  4076. {
  4077. return this._ExtensionID;
  4078. }
  4079. set
  4080. {
  4081. if ((this._ExtensionID != value))
  4082. {
  4083. this.OnExtensionIDChanging(value);
  4084. this.SendPropertyChanging();
  4085. this._ExtensionID = value;
  4086. this.SendPropertyChanged("ExtensionID");
  4087. this.OnExtensionIDChanged();
  4088. }
  4089. }
  4090. }
  4091. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4092. public string MUSER
  4093. {
  4094. get
  4095. {
  4096. return this._MUSER;
  4097. }
  4098. set
  4099. {
  4100. if ((this._MUSER != value))
  4101. {
  4102. this.OnMUSERChanging(value);
  4103. this.SendPropertyChanging();
  4104. this._MUSER = value;
  4105. this.SendPropertyChanged("MUSER");
  4106. this.OnMUSERChanged();
  4107. }
  4108. }
  4109. }
  4110. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4111. public string MUSERName
  4112. {
  4113. get
  4114. {
  4115. return this._MUSERName;
  4116. }
  4117. set
  4118. {
  4119. if ((this._MUSERName != value))
  4120. {
  4121. this.OnMUSERNameChanging(value);
  4122. this.SendPropertyChanging();
  4123. this._MUSERName = value;
  4124. this.SendPropertyChanged("MUSERName");
  4125. this.OnMUSERNameChanged();
  4126. }
  4127. }
  4128. }
  4129. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  4130. public System.DateTime MTIME
  4131. {
  4132. get
  4133. {
  4134. return this._MTIME;
  4135. }
  4136. set
  4137. {
  4138. if ((this._MTIME != value))
  4139. {
  4140. this.OnMTIMEChanging(value);
  4141. this.SendPropertyChanging();
  4142. this._MTIME = value;
  4143. this.SendPropertyChanged("MTIME");
  4144. this.OnMTIMEChanged();
  4145. }
  4146. }
  4147. }
  4148. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4149. public string WorkPoint
  4150. {
  4151. get
  4152. {
  4153. return this._WorkPoint;
  4154. }
  4155. set
  4156. {
  4157. if ((this._WorkPoint != value))
  4158. {
  4159. this.OnWorkPointChanging(value);
  4160. this.SendPropertyChanging();
  4161. this._WorkPoint = value;
  4162. this.SendPropertyChanged("WorkPoint");
  4163. this.OnWorkPointChanged();
  4164. }
  4165. }
  4166. }
  4167. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  4168. public string EATTRIBUTE1
  4169. {
  4170. get
  4171. {
  4172. return this._EATTRIBUTE1;
  4173. }
  4174. set
  4175. {
  4176. if ((this._EATTRIBUTE1 != value))
  4177. {
  4178. this.OnEATTRIBUTE1Changing(value);
  4179. this.SendPropertyChanging();
  4180. this._EATTRIBUTE1 = value;
  4181. this.SendPropertyChanged("EATTRIBUTE1");
  4182. this.OnEATTRIBUTE1Changed();
  4183. }
  4184. }
  4185. }
  4186. public event PropertyChangingEventHandler PropertyChanging;
  4187. public event PropertyChangedEventHandler PropertyChanged;
  4188. protected virtual void SendPropertyChanging()
  4189. {
  4190. if ((this.PropertyChanging != null))
  4191. {
  4192. this.PropertyChanging(this, emptyChangingEventArgs);
  4193. }
  4194. }
  4195. protected virtual void SendPropertyChanged(String propertyName)
  4196. {
  4197. if ((this.PropertyChanged != null))
  4198. {
  4199. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  4200. }
  4201. }
  4202. }
  4203. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSManufactureReceive")]
  4204. public partial class ICSManufactureReceive : INotifyPropertyChanging, INotifyPropertyChanged
  4205. {
  4206. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  4207. private string _ID;
  4208. private string _RCVCode;
  4209. private string _Sequence;
  4210. private string _SourceCode;
  4211. private string _SourceSequence;
  4212. private string _InvCode;
  4213. private decimal _Quantity;
  4214. private System.Nullable<decimal> _Amount;
  4215. private System.Nullable<decimal> _RCVQuantity;
  4216. private string _WHCode;
  4217. private string _Type;
  4218. private string _Status;
  4219. private string _CreatePerson;
  4220. private System.DateTime _CreateDateTime;
  4221. private string _RCVID;
  4222. private string _RCVDetailID;
  4223. private string _ExtensionID;
  4224. private string _MUSER;
  4225. private string _MUSERName;
  4226. private System.DateTime _MTIME;
  4227. private string _WorkPoint;
  4228. private string _EATTRIBUTE;
  4229. #region 可扩展性方法定义
  4230. partial void OnLoaded();
  4231. partial void OnValidate(System.Data.Linq.ChangeAction action);
  4232. partial void OnCreated();
  4233. partial void OnIDChanging(string value);
  4234. partial void OnIDChanged();
  4235. partial void OnRCVCodeChanging(string value);
  4236. partial void OnRCVCodeChanged();
  4237. partial void OnSequenceChanging(string value);
  4238. partial void OnSequenceChanged();
  4239. partial void OnSourceCodeChanging(string value);
  4240. partial void OnSourceCodeChanged();
  4241. partial void OnSourceSequenceChanging(string value);
  4242. partial void OnSourceSequenceChanged();
  4243. partial void OnInvCodeChanging(string value);
  4244. partial void OnInvCodeChanged();
  4245. partial void OnQuantityChanging(decimal value);
  4246. partial void OnQuantityChanged();
  4247. partial void OnAmountChanging(System.Nullable<decimal> value);
  4248. partial void OnAmountChanged();
  4249. partial void OnRCVQuantityChanging(System.Nullable<decimal> value);
  4250. partial void OnRCVQuantityChanged();
  4251. partial void OnWHCodeChanging(string value);
  4252. partial void OnWHCodeChanged();
  4253. partial void OnTypeChanging(string value);
  4254. partial void OnTypeChanged();
  4255. partial void OnStatusChanging(string value);
  4256. partial void OnStatusChanged();
  4257. partial void OnCreatePersonChanging(string value);
  4258. partial void OnCreatePersonChanged();
  4259. partial void OnCreateDateTimeChanging(System.DateTime value);
  4260. partial void OnCreateDateTimeChanged();
  4261. partial void OnRCVIDChanging(string value);
  4262. partial void OnRCVIDChanged();
  4263. partial void OnRCVDetailIDChanging(string value);
  4264. partial void OnRCVDetailIDChanged();
  4265. partial void OnExtensionIDChanging(string value);
  4266. partial void OnExtensionIDChanged();
  4267. partial void OnMUSERChanging(string value);
  4268. partial void OnMUSERChanged();
  4269. partial void OnMUSERNameChanging(string value);
  4270. partial void OnMUSERNameChanged();
  4271. partial void OnMTIMEChanging(System.DateTime value);
  4272. partial void OnMTIMEChanged();
  4273. partial void OnWorkPointChanging(string value);
  4274. partial void OnWorkPointChanged();
  4275. partial void OnEATTRIBUTEChanging(string value);
  4276. partial void OnEATTRIBUTEChanged();
  4277. #endregion
  4278. public ICSManufactureReceive()
  4279. {
  4280. OnCreated();
  4281. }
  4282. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  4283. public string ID
  4284. {
  4285. get
  4286. {
  4287. return this._ID;
  4288. }
  4289. set
  4290. {
  4291. if ((this._ID != value))
  4292. {
  4293. this.OnIDChanging(value);
  4294. this.SendPropertyChanging();
  4295. this._ID = value;
  4296. this.SendPropertyChanged("ID");
  4297. this.OnIDChanged();
  4298. }
  4299. }
  4300. }
  4301. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RCVCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4302. public string RCVCode
  4303. {
  4304. get
  4305. {
  4306. return this._RCVCode;
  4307. }
  4308. set
  4309. {
  4310. if ((this._RCVCode != value))
  4311. {
  4312. this.OnRCVCodeChanging(value);
  4313. this.SendPropertyChanging();
  4314. this._RCVCode = value;
  4315. this.SendPropertyChanged("RCVCode");
  4316. this.OnRCVCodeChanged();
  4317. }
  4318. }
  4319. }
  4320. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4321. public string Sequence
  4322. {
  4323. get
  4324. {
  4325. return this._Sequence;
  4326. }
  4327. set
  4328. {
  4329. if ((this._Sequence != value))
  4330. {
  4331. this.OnSequenceChanging(value);
  4332. this.SendPropertyChanging();
  4333. this._Sequence = value;
  4334. this.SendPropertyChanged("Sequence");
  4335. this.OnSequenceChanged();
  4336. }
  4337. }
  4338. }
  4339. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceCode", DbType="NVarChar(50)")]
  4340. public string SourceCode
  4341. {
  4342. get
  4343. {
  4344. return this._SourceCode;
  4345. }
  4346. set
  4347. {
  4348. if ((this._SourceCode != value))
  4349. {
  4350. this.OnSourceCodeChanging(value);
  4351. this.SendPropertyChanging();
  4352. this._SourceCode = value;
  4353. this.SendPropertyChanged("SourceCode");
  4354. this.OnSourceCodeChanged();
  4355. }
  4356. }
  4357. }
  4358. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceSequence", DbType="NVarChar(50)")]
  4359. public string SourceSequence
  4360. {
  4361. get
  4362. {
  4363. return this._SourceSequence;
  4364. }
  4365. set
  4366. {
  4367. if ((this._SourceSequence != value))
  4368. {
  4369. this.OnSourceSequenceChanging(value);
  4370. this.SendPropertyChanging();
  4371. this._SourceSequence = value;
  4372. this.SendPropertyChanged("SourceSequence");
  4373. this.OnSourceSequenceChanged();
  4374. }
  4375. }
  4376. }
  4377. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4378. public string InvCode
  4379. {
  4380. get
  4381. {
  4382. return this._InvCode;
  4383. }
  4384. set
  4385. {
  4386. if ((this._InvCode != value))
  4387. {
  4388. this.OnInvCodeChanging(value);
  4389. this.SendPropertyChanging();
  4390. this._InvCode = value;
  4391. this.SendPropertyChanged("InvCode");
  4392. this.OnInvCodeChanged();
  4393. }
  4394. }
  4395. }
  4396. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
  4397. public decimal Quantity
  4398. {
  4399. get
  4400. {
  4401. return this._Quantity;
  4402. }
  4403. set
  4404. {
  4405. if ((this._Quantity != value))
  4406. {
  4407. this.OnQuantityChanging(value);
  4408. this.SendPropertyChanging();
  4409. this._Quantity = value;
  4410. this.SendPropertyChanged("Quantity");
  4411. this.OnQuantityChanged();
  4412. }
  4413. }
  4414. }
  4415. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  4416. public System.Nullable<decimal> Amount
  4417. {
  4418. get
  4419. {
  4420. return this._Amount;
  4421. }
  4422. set
  4423. {
  4424. if ((this._Amount != value))
  4425. {
  4426. this.OnAmountChanging(value);
  4427. this.SendPropertyChanging();
  4428. this._Amount = value;
  4429. this.SendPropertyChanged("Amount");
  4430. this.OnAmountChanged();
  4431. }
  4432. }
  4433. }
  4434. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RCVQuantity", DbType="Decimal(18,6)")]
  4435. public System.Nullable<decimal> RCVQuantity
  4436. {
  4437. get
  4438. {
  4439. return this._RCVQuantity;
  4440. }
  4441. set
  4442. {
  4443. if ((this._RCVQuantity != value))
  4444. {
  4445. this.OnRCVQuantityChanging(value);
  4446. this.SendPropertyChanging();
  4447. this._RCVQuantity = value;
  4448. this.SendPropertyChanged("RCVQuantity");
  4449. this.OnRCVQuantityChanged();
  4450. }
  4451. }
  4452. }
  4453. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4454. public string WHCode
  4455. {
  4456. get
  4457. {
  4458. return this._WHCode;
  4459. }
  4460. set
  4461. {
  4462. if ((this._WHCode != value))
  4463. {
  4464. this.OnWHCodeChanging(value);
  4465. this.SendPropertyChanging();
  4466. this._WHCode = value;
  4467. this.SendPropertyChanged("WHCode");
  4468. this.OnWHCodeChanged();
  4469. }
  4470. }
  4471. }
  4472. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4473. public string Type
  4474. {
  4475. get
  4476. {
  4477. return this._Type;
  4478. }
  4479. set
  4480. {
  4481. if ((this._Type != value))
  4482. {
  4483. this.OnTypeChanging(value);
  4484. this.SendPropertyChanging();
  4485. this._Type = value;
  4486. this.SendPropertyChanged("Type");
  4487. this.OnTypeChanged();
  4488. }
  4489. }
  4490. }
  4491. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4492. public string Status
  4493. {
  4494. get
  4495. {
  4496. return this._Status;
  4497. }
  4498. set
  4499. {
  4500. if ((this._Status != value))
  4501. {
  4502. this.OnStatusChanging(value);
  4503. this.SendPropertyChanging();
  4504. this._Status = value;
  4505. this.SendPropertyChanged("Status");
  4506. this.OnStatusChanged();
  4507. }
  4508. }
  4509. }
  4510. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4511. public string CreatePerson
  4512. {
  4513. get
  4514. {
  4515. return this._CreatePerson;
  4516. }
  4517. set
  4518. {
  4519. if ((this._CreatePerson != value))
  4520. {
  4521. this.OnCreatePersonChanging(value);
  4522. this.SendPropertyChanging();
  4523. this._CreatePerson = value;
  4524. this.SendPropertyChanged("CreatePerson");
  4525. this.OnCreatePersonChanged();
  4526. }
  4527. }
  4528. }
  4529. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
  4530. public System.DateTime CreateDateTime
  4531. {
  4532. get
  4533. {
  4534. return this._CreateDateTime;
  4535. }
  4536. set
  4537. {
  4538. if ((this._CreateDateTime != value))
  4539. {
  4540. this.OnCreateDateTimeChanging(value);
  4541. this.SendPropertyChanging();
  4542. this._CreateDateTime = value;
  4543. this.SendPropertyChanged("CreateDateTime");
  4544. this.OnCreateDateTimeChanged();
  4545. }
  4546. }
  4547. }
  4548. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RCVID", DbType="NVarChar(50)")]
  4549. public string RCVID
  4550. {
  4551. get
  4552. {
  4553. return this._RCVID;
  4554. }
  4555. set
  4556. {
  4557. if ((this._RCVID != value))
  4558. {
  4559. this.OnRCVIDChanging(value);
  4560. this.SendPropertyChanging();
  4561. this._RCVID = value;
  4562. this.SendPropertyChanged("RCVID");
  4563. this.OnRCVIDChanged();
  4564. }
  4565. }
  4566. }
  4567. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RCVDetailID", DbType="NVarChar(50)")]
  4568. public string RCVDetailID
  4569. {
  4570. get
  4571. {
  4572. return this._RCVDetailID;
  4573. }
  4574. set
  4575. {
  4576. if ((this._RCVDetailID != value))
  4577. {
  4578. this.OnRCVDetailIDChanging(value);
  4579. this.SendPropertyChanging();
  4580. this._RCVDetailID = value;
  4581. this.SendPropertyChanged("RCVDetailID");
  4582. this.OnRCVDetailIDChanged();
  4583. }
  4584. }
  4585. }
  4586. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4587. public string ExtensionID
  4588. {
  4589. get
  4590. {
  4591. return this._ExtensionID;
  4592. }
  4593. set
  4594. {
  4595. if ((this._ExtensionID != value))
  4596. {
  4597. this.OnExtensionIDChanging(value);
  4598. this.SendPropertyChanging();
  4599. this._ExtensionID = value;
  4600. this.SendPropertyChanged("ExtensionID");
  4601. this.OnExtensionIDChanged();
  4602. }
  4603. }
  4604. }
  4605. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4606. public string MUSER
  4607. {
  4608. get
  4609. {
  4610. return this._MUSER;
  4611. }
  4612. set
  4613. {
  4614. if ((this._MUSER != value))
  4615. {
  4616. this.OnMUSERChanging(value);
  4617. this.SendPropertyChanging();
  4618. this._MUSER = value;
  4619. this.SendPropertyChanged("MUSER");
  4620. this.OnMUSERChanged();
  4621. }
  4622. }
  4623. }
  4624. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4625. public string MUSERName
  4626. {
  4627. get
  4628. {
  4629. return this._MUSERName;
  4630. }
  4631. set
  4632. {
  4633. if ((this._MUSERName != value))
  4634. {
  4635. this.OnMUSERNameChanging(value);
  4636. this.SendPropertyChanging();
  4637. this._MUSERName = value;
  4638. this.SendPropertyChanged("MUSERName");
  4639. this.OnMUSERNameChanged();
  4640. }
  4641. }
  4642. }
  4643. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  4644. public System.DateTime MTIME
  4645. {
  4646. get
  4647. {
  4648. return this._MTIME;
  4649. }
  4650. set
  4651. {
  4652. if ((this._MTIME != value))
  4653. {
  4654. this.OnMTIMEChanging(value);
  4655. this.SendPropertyChanging();
  4656. this._MTIME = value;
  4657. this.SendPropertyChanged("MTIME");
  4658. this.OnMTIMEChanged();
  4659. }
  4660. }
  4661. }
  4662. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4663. public string WorkPoint
  4664. {
  4665. get
  4666. {
  4667. return this._WorkPoint;
  4668. }
  4669. set
  4670. {
  4671. if ((this._WorkPoint != value))
  4672. {
  4673. this.OnWorkPointChanging(value);
  4674. this.SendPropertyChanging();
  4675. this._WorkPoint = value;
  4676. this.SendPropertyChanged("WorkPoint");
  4677. this.OnWorkPointChanged();
  4678. }
  4679. }
  4680. }
  4681. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE", DbType="NVarChar(50)")]
  4682. public string EATTRIBUTE
  4683. {
  4684. get
  4685. {
  4686. return this._EATTRIBUTE;
  4687. }
  4688. set
  4689. {
  4690. if ((this._EATTRIBUTE != value))
  4691. {
  4692. this.OnEATTRIBUTEChanging(value);
  4693. this.SendPropertyChanging();
  4694. this._EATTRIBUTE = value;
  4695. this.SendPropertyChanged("EATTRIBUTE");
  4696. this.OnEATTRIBUTEChanged();
  4697. }
  4698. }
  4699. }
  4700. public event PropertyChangingEventHandler PropertyChanging;
  4701. public event PropertyChangedEventHandler PropertyChanged;
  4702. protected virtual void SendPropertyChanging()
  4703. {
  4704. if ((this.PropertyChanging != null))
  4705. {
  4706. this.PropertyChanging(this, emptyChangingEventArgs);
  4707. }
  4708. }
  4709. protected virtual void SendPropertyChanged(String propertyName)
  4710. {
  4711. if ((this.PropertyChanged != null))
  4712. {
  4713. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  4714. }
  4715. }
  4716. }
  4717. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSDeliveryNotice")]
  4718. public partial class ICSDeliveryNotice : INotifyPropertyChanging, INotifyPropertyChanged
  4719. {
  4720. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  4721. private string _ID;
  4722. private string _DNCode;
  4723. private string _Sequence;
  4724. private string _VenCode;
  4725. private string _DepCode;
  4726. private string _DNType;
  4727. private string _InvCode;
  4728. private decimal _Quantity;
  4729. private System.Nullable<decimal> _Amount;
  4730. private System.Nullable<decimal> _RCVQuantity;
  4731. private System.Nullable<decimal> _UnitPrice;
  4732. private string _Currency;
  4733. private string _Status;
  4734. private string _CreatePerson;
  4735. private System.DateTime _CreateDateTime;
  4736. private string _POID;
  4737. private string _PODetailID;
  4738. private string _DNID;
  4739. private string _DNDetailID;
  4740. private string _ExtensionID;
  4741. private string _MUSER;
  4742. private string _MUSERName;
  4743. private System.DateTime _MTIME;
  4744. private string _WorkPoint;
  4745. private string _EATTRIBUTE1;
  4746. private string _ASNCode;
  4747. private string _WHCode;
  4748. #region 可扩展性方法定义
  4749. partial void OnLoaded();
  4750. partial void OnValidate(System.Data.Linq.ChangeAction action);
  4751. partial void OnCreated();
  4752. partial void OnIDChanging(string value);
  4753. partial void OnIDChanged();
  4754. partial void OnDNCodeChanging(string value);
  4755. partial void OnDNCodeChanged();
  4756. partial void OnSequenceChanging(string value);
  4757. partial void OnSequenceChanged();
  4758. partial void OnVenCodeChanging(string value);
  4759. partial void OnVenCodeChanged();
  4760. partial void OnDepCodeChanging(string value);
  4761. partial void OnDepCodeChanged();
  4762. partial void OnDNTypeChanging(string value);
  4763. partial void OnDNTypeChanged();
  4764. partial void OnInvCodeChanging(string value);
  4765. partial void OnInvCodeChanged();
  4766. partial void OnQuantityChanging(decimal value);
  4767. partial void OnQuantityChanged();
  4768. partial void OnAmountChanging(System.Nullable<decimal> value);
  4769. partial void OnAmountChanged();
  4770. partial void OnRCVQuantityChanging(System.Nullable<decimal> value);
  4771. partial void OnRCVQuantityChanged();
  4772. partial void OnUnitPriceChanging(System.Nullable<decimal> value);
  4773. partial void OnUnitPriceChanged();
  4774. partial void OnCurrencyChanging(string value);
  4775. partial void OnCurrencyChanged();
  4776. partial void OnStatusChanging(string value);
  4777. partial void OnStatusChanged();
  4778. partial void OnCreatePersonChanging(string value);
  4779. partial void OnCreatePersonChanged();
  4780. partial void OnCreateDateTimeChanging(System.DateTime value);
  4781. partial void OnCreateDateTimeChanged();
  4782. partial void OnPOIDChanging(string value);
  4783. partial void OnPOIDChanged();
  4784. partial void OnPODetailIDChanging(string value);
  4785. partial void OnPODetailIDChanged();
  4786. partial void OnDNIDChanging(string value);
  4787. partial void OnDNIDChanged();
  4788. partial void OnDNDetailIDChanging(string value);
  4789. partial void OnDNDetailIDChanged();
  4790. partial void OnExtensionIDChanging(string value);
  4791. partial void OnExtensionIDChanged();
  4792. partial void OnMUSERChanging(string value);
  4793. partial void OnMUSERChanged();
  4794. partial void OnMUSERNameChanging(string value);
  4795. partial void OnMUSERNameChanged();
  4796. partial void OnMTIMEChanging(System.DateTime value);
  4797. partial void OnMTIMEChanged();
  4798. partial void OnWorkPointChanging(string value);
  4799. partial void OnWorkPointChanged();
  4800. partial void OnEATTRIBUTE1Changing(string value);
  4801. partial void OnEATTRIBUTE1Changed();
  4802. partial void OnASNCodeChanging(string value);
  4803. partial void OnASNCodeChanged();
  4804. partial void OnWHCodeChanging(string value);
  4805. partial void OnWHCodeChanged();
  4806. #endregion
  4807. public ICSDeliveryNotice()
  4808. {
  4809. OnCreated();
  4810. }
  4811. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  4812. public string ID
  4813. {
  4814. get
  4815. {
  4816. return this._ID;
  4817. }
  4818. set
  4819. {
  4820. if ((this._ID != value))
  4821. {
  4822. this.OnIDChanging(value);
  4823. this.SendPropertyChanging();
  4824. this._ID = value;
  4825. this.SendPropertyChanged("ID");
  4826. this.OnIDChanged();
  4827. }
  4828. }
  4829. }
  4830. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DNCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4831. public string DNCode
  4832. {
  4833. get
  4834. {
  4835. return this._DNCode;
  4836. }
  4837. set
  4838. {
  4839. if ((this._DNCode != value))
  4840. {
  4841. this.OnDNCodeChanging(value);
  4842. this.SendPropertyChanging();
  4843. this._DNCode = value;
  4844. this.SendPropertyChanged("DNCode");
  4845. this.OnDNCodeChanged();
  4846. }
  4847. }
  4848. }
  4849. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50)")]
  4850. public string Sequence
  4851. {
  4852. get
  4853. {
  4854. return this._Sequence;
  4855. }
  4856. set
  4857. {
  4858. if ((this._Sequence != value))
  4859. {
  4860. this.OnSequenceChanging(value);
  4861. this.SendPropertyChanging();
  4862. this._Sequence = value;
  4863. this.SendPropertyChanged("Sequence");
  4864. this.OnSequenceChanged();
  4865. }
  4866. }
  4867. }
  4868. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VenCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4869. public string VenCode
  4870. {
  4871. get
  4872. {
  4873. return this._VenCode;
  4874. }
  4875. set
  4876. {
  4877. if ((this._VenCode != value))
  4878. {
  4879. this.OnVenCodeChanging(value);
  4880. this.SendPropertyChanging();
  4881. this._VenCode = value;
  4882. this.SendPropertyChanged("VenCode");
  4883. this.OnVenCodeChanged();
  4884. }
  4885. }
  4886. }
  4887. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepCode", DbType="NVarChar(50)")]
  4888. public string DepCode
  4889. {
  4890. get
  4891. {
  4892. return this._DepCode;
  4893. }
  4894. set
  4895. {
  4896. if ((this._DepCode != value))
  4897. {
  4898. this.OnDepCodeChanging(value);
  4899. this.SendPropertyChanging();
  4900. this._DepCode = value;
  4901. this.SendPropertyChanged("DepCode");
  4902. this.OnDepCodeChanged();
  4903. }
  4904. }
  4905. }
  4906. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DNType", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4907. public string DNType
  4908. {
  4909. get
  4910. {
  4911. return this._DNType;
  4912. }
  4913. set
  4914. {
  4915. if ((this._DNType != value))
  4916. {
  4917. this.OnDNTypeChanging(value);
  4918. this.SendPropertyChanging();
  4919. this._DNType = value;
  4920. this.SendPropertyChanged("DNType");
  4921. this.OnDNTypeChanged();
  4922. }
  4923. }
  4924. }
  4925. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  4926. public string InvCode
  4927. {
  4928. get
  4929. {
  4930. return this._InvCode;
  4931. }
  4932. set
  4933. {
  4934. if ((this._InvCode != value))
  4935. {
  4936. this.OnInvCodeChanging(value);
  4937. this.SendPropertyChanging();
  4938. this._InvCode = value;
  4939. this.SendPropertyChanged("InvCode");
  4940. this.OnInvCodeChanged();
  4941. }
  4942. }
  4943. }
  4944. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
  4945. public decimal Quantity
  4946. {
  4947. get
  4948. {
  4949. return this._Quantity;
  4950. }
  4951. set
  4952. {
  4953. if ((this._Quantity != value))
  4954. {
  4955. this.OnQuantityChanging(value);
  4956. this.SendPropertyChanging();
  4957. this._Quantity = value;
  4958. this.SendPropertyChanged("Quantity");
  4959. this.OnQuantityChanged();
  4960. }
  4961. }
  4962. }
  4963. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  4964. public System.Nullable<decimal> Amount
  4965. {
  4966. get
  4967. {
  4968. return this._Amount;
  4969. }
  4970. set
  4971. {
  4972. if ((this._Amount != value))
  4973. {
  4974. this.OnAmountChanging(value);
  4975. this.SendPropertyChanging();
  4976. this._Amount = value;
  4977. this.SendPropertyChanged("Amount");
  4978. this.OnAmountChanged();
  4979. }
  4980. }
  4981. }
  4982. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RCVQuantity", DbType="Decimal(18,6)")]
  4983. public System.Nullable<decimal> RCVQuantity
  4984. {
  4985. get
  4986. {
  4987. return this._RCVQuantity;
  4988. }
  4989. set
  4990. {
  4991. if ((this._RCVQuantity != value))
  4992. {
  4993. this.OnRCVQuantityChanging(value);
  4994. this.SendPropertyChanging();
  4995. this._RCVQuantity = value;
  4996. this.SendPropertyChanged("RCVQuantity");
  4997. this.OnRCVQuantityChanged();
  4998. }
  4999. }
  5000. }
  5001. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitPrice", DbType="Decimal(18,6)")]
  5002. public System.Nullable<decimal> UnitPrice
  5003. {
  5004. get
  5005. {
  5006. return this._UnitPrice;
  5007. }
  5008. set
  5009. {
  5010. if ((this._UnitPrice != value))
  5011. {
  5012. this.OnUnitPriceChanging(value);
  5013. this.SendPropertyChanging();
  5014. this._UnitPrice = value;
  5015. this.SendPropertyChanged("UnitPrice");
  5016. this.OnUnitPriceChanged();
  5017. }
  5018. }
  5019. }
  5020. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Currency", DbType="NVarChar(50)")]
  5021. public string Currency
  5022. {
  5023. get
  5024. {
  5025. return this._Currency;
  5026. }
  5027. set
  5028. {
  5029. if ((this._Currency != value))
  5030. {
  5031. this.OnCurrencyChanging(value);
  5032. this.SendPropertyChanging();
  5033. this._Currency = value;
  5034. this.SendPropertyChanged("Currency");
  5035. this.OnCurrencyChanged();
  5036. }
  5037. }
  5038. }
  5039. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50)")]
  5040. public string Status
  5041. {
  5042. get
  5043. {
  5044. return this._Status;
  5045. }
  5046. set
  5047. {
  5048. if ((this._Status != value))
  5049. {
  5050. this.OnStatusChanging(value);
  5051. this.SendPropertyChanging();
  5052. this._Status = value;
  5053. this.SendPropertyChanged("Status");
  5054. this.OnStatusChanged();
  5055. }
  5056. }
  5057. }
  5058. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5059. public string CreatePerson
  5060. {
  5061. get
  5062. {
  5063. return this._CreatePerson;
  5064. }
  5065. set
  5066. {
  5067. if ((this._CreatePerson != value))
  5068. {
  5069. this.OnCreatePersonChanging(value);
  5070. this.SendPropertyChanging();
  5071. this._CreatePerson = value;
  5072. this.SendPropertyChanged("CreatePerson");
  5073. this.OnCreatePersonChanged();
  5074. }
  5075. }
  5076. }
  5077. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
  5078. public System.DateTime CreateDateTime
  5079. {
  5080. get
  5081. {
  5082. return this._CreateDateTime;
  5083. }
  5084. set
  5085. {
  5086. if ((this._CreateDateTime != value))
  5087. {
  5088. this.OnCreateDateTimeChanging(value);
  5089. this.SendPropertyChanging();
  5090. this._CreateDateTime = value;
  5091. this.SendPropertyChanged("CreateDateTime");
  5092. this.OnCreateDateTimeChanged();
  5093. }
  5094. }
  5095. }
  5096. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_POID", DbType="NVarChar(50)")]
  5097. public string POID
  5098. {
  5099. get
  5100. {
  5101. return this._POID;
  5102. }
  5103. set
  5104. {
  5105. if ((this._POID != value))
  5106. {
  5107. this.OnPOIDChanging(value);
  5108. this.SendPropertyChanging();
  5109. this._POID = value;
  5110. this.SendPropertyChanged("POID");
  5111. this.OnPOIDChanged();
  5112. }
  5113. }
  5114. }
  5115. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PODetailID", DbType="NVarChar(50)")]
  5116. public string PODetailID
  5117. {
  5118. get
  5119. {
  5120. return this._PODetailID;
  5121. }
  5122. set
  5123. {
  5124. if ((this._PODetailID != value))
  5125. {
  5126. this.OnPODetailIDChanging(value);
  5127. this.SendPropertyChanging();
  5128. this._PODetailID = value;
  5129. this.SendPropertyChanged("PODetailID");
  5130. this.OnPODetailIDChanged();
  5131. }
  5132. }
  5133. }
  5134. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DNID", DbType="NVarChar(50)")]
  5135. public string DNID
  5136. {
  5137. get
  5138. {
  5139. return this._DNID;
  5140. }
  5141. set
  5142. {
  5143. if ((this._DNID != value))
  5144. {
  5145. this.OnDNIDChanging(value);
  5146. this.SendPropertyChanging();
  5147. this._DNID = value;
  5148. this.SendPropertyChanged("DNID");
  5149. this.OnDNIDChanged();
  5150. }
  5151. }
  5152. }
  5153. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DNDetailID", DbType="NVarChar(50)")]
  5154. public string DNDetailID
  5155. {
  5156. get
  5157. {
  5158. return this._DNDetailID;
  5159. }
  5160. set
  5161. {
  5162. if ((this._DNDetailID != value))
  5163. {
  5164. this.OnDNDetailIDChanging(value);
  5165. this.SendPropertyChanging();
  5166. this._DNDetailID = value;
  5167. this.SendPropertyChanged("DNDetailID");
  5168. this.OnDNDetailIDChanged();
  5169. }
  5170. }
  5171. }
  5172. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5173. public string ExtensionID
  5174. {
  5175. get
  5176. {
  5177. return this._ExtensionID;
  5178. }
  5179. set
  5180. {
  5181. if ((this._ExtensionID != value))
  5182. {
  5183. this.OnExtensionIDChanging(value);
  5184. this.SendPropertyChanging();
  5185. this._ExtensionID = value;
  5186. this.SendPropertyChanged("ExtensionID");
  5187. this.OnExtensionIDChanged();
  5188. }
  5189. }
  5190. }
  5191. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5192. public string MUSER
  5193. {
  5194. get
  5195. {
  5196. return this._MUSER;
  5197. }
  5198. set
  5199. {
  5200. if ((this._MUSER != value))
  5201. {
  5202. this.OnMUSERChanging(value);
  5203. this.SendPropertyChanging();
  5204. this._MUSER = value;
  5205. this.SendPropertyChanged("MUSER");
  5206. this.OnMUSERChanged();
  5207. }
  5208. }
  5209. }
  5210. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5211. public string MUSERName
  5212. {
  5213. get
  5214. {
  5215. return this._MUSERName;
  5216. }
  5217. set
  5218. {
  5219. if ((this._MUSERName != value))
  5220. {
  5221. this.OnMUSERNameChanging(value);
  5222. this.SendPropertyChanging();
  5223. this._MUSERName = value;
  5224. this.SendPropertyChanged("MUSERName");
  5225. this.OnMUSERNameChanged();
  5226. }
  5227. }
  5228. }
  5229. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  5230. public System.DateTime MTIME
  5231. {
  5232. get
  5233. {
  5234. return this._MTIME;
  5235. }
  5236. set
  5237. {
  5238. if ((this._MTIME != value))
  5239. {
  5240. this.OnMTIMEChanging(value);
  5241. this.SendPropertyChanging();
  5242. this._MTIME = value;
  5243. this.SendPropertyChanged("MTIME");
  5244. this.OnMTIMEChanged();
  5245. }
  5246. }
  5247. }
  5248. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5249. public string WorkPoint
  5250. {
  5251. get
  5252. {
  5253. return this._WorkPoint;
  5254. }
  5255. set
  5256. {
  5257. if ((this._WorkPoint != value))
  5258. {
  5259. this.OnWorkPointChanging(value);
  5260. this.SendPropertyChanging();
  5261. this._WorkPoint = value;
  5262. this.SendPropertyChanged("WorkPoint");
  5263. this.OnWorkPointChanged();
  5264. }
  5265. }
  5266. }
  5267. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5268. public string EATTRIBUTE1
  5269. {
  5270. get
  5271. {
  5272. return this._EATTRIBUTE1;
  5273. }
  5274. set
  5275. {
  5276. if ((this._EATTRIBUTE1 != value))
  5277. {
  5278. this.OnEATTRIBUTE1Changing(value);
  5279. this.SendPropertyChanging();
  5280. this._EATTRIBUTE1 = value;
  5281. this.SendPropertyChanged("EATTRIBUTE1");
  5282. this.OnEATTRIBUTE1Changed();
  5283. }
  5284. }
  5285. }
  5286. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ASNCode", DbType="NVarChar(50)")]
  5287. public string ASNCode
  5288. {
  5289. get
  5290. {
  5291. return this._ASNCode;
  5292. }
  5293. set
  5294. {
  5295. if ((this._ASNCode != value))
  5296. {
  5297. this.OnASNCodeChanging(value);
  5298. this.SendPropertyChanging();
  5299. this._ASNCode = value;
  5300. this.SendPropertyChanged("ASNCode");
  5301. this.OnASNCodeChanged();
  5302. }
  5303. }
  5304. }
  5305. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="VarChar(50)")]
  5306. public string WHCode
  5307. {
  5308. get
  5309. {
  5310. return this._WHCode;
  5311. }
  5312. set
  5313. {
  5314. if ((this._WHCode != value))
  5315. {
  5316. this.OnWHCodeChanging(value);
  5317. this.SendPropertyChanging();
  5318. this._WHCode = value;
  5319. this.SendPropertyChanged("WHCode");
  5320. this.OnWHCodeChanged();
  5321. }
  5322. }
  5323. }
  5324. public event PropertyChangingEventHandler PropertyChanging;
  5325. public event PropertyChangedEventHandler PropertyChanged;
  5326. protected virtual void SendPropertyChanging()
  5327. {
  5328. if ((this.PropertyChanging != null))
  5329. {
  5330. this.PropertyChanging(this, emptyChangingEventArgs);
  5331. }
  5332. }
  5333. protected virtual void SendPropertyChanged(String propertyName)
  5334. {
  5335. if ((this.PropertyChanged != null))
  5336. {
  5337. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  5338. }
  5339. }
  5340. }
  5341. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSSDN")]
  5342. public partial class ICSSDN : INotifyPropertyChanging, INotifyPropertyChanged
  5343. {
  5344. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  5345. private string _ID;
  5346. private string _SDNCode;
  5347. private string _Sequence;
  5348. private string _SOCode;
  5349. private string _SOSequence;
  5350. private string _CusCode;
  5351. private string _CusName;
  5352. private string _Type;
  5353. private System.DateTime _ArriveDate;
  5354. private string _WHCode;
  5355. private string _InvCode;
  5356. private decimal _Quantity;
  5357. private System.Nullable<decimal> _Amount;
  5358. private System.Nullable<decimal> _SDNQuantity;
  5359. private string _CreatePerson;
  5360. private System.DateTime _CreateDateTime;
  5361. private string _Status;
  5362. private string _SDNID;
  5363. private string _SDNDetailID;
  5364. private string _ExtensionID;
  5365. private string _MUSER;
  5366. private string _MUSERName;
  5367. private System.DateTime _MTIME;
  5368. private string _WorkPoint;
  5369. private string _EATTRIBUTE1;
  5370. #region 可扩展性方法定义
  5371. partial void OnLoaded();
  5372. partial void OnValidate(System.Data.Linq.ChangeAction action);
  5373. partial void OnCreated();
  5374. partial void OnIDChanging(string value);
  5375. partial void OnIDChanged();
  5376. partial void OnSDNCodeChanging(string value);
  5377. partial void OnSDNCodeChanged();
  5378. partial void OnSequenceChanging(string value);
  5379. partial void OnSequenceChanged();
  5380. partial void OnSOCodeChanging(string value);
  5381. partial void OnSOCodeChanged();
  5382. partial void OnSOSequenceChanging(string value);
  5383. partial void OnSOSequenceChanged();
  5384. partial void OnCusCodeChanging(string value);
  5385. partial void OnCusCodeChanged();
  5386. partial void OnCusNameChanging(string value);
  5387. partial void OnCusNameChanged();
  5388. partial void OnTypeChanging(string value);
  5389. partial void OnTypeChanged();
  5390. partial void OnArriveDateChanging(System.DateTime value);
  5391. partial void OnArriveDateChanged();
  5392. partial void OnWHCodeChanging(string value);
  5393. partial void OnWHCodeChanged();
  5394. partial void OnInvCodeChanging(string value);
  5395. partial void OnInvCodeChanged();
  5396. partial void OnQuantityChanging(decimal value);
  5397. partial void OnQuantityChanged();
  5398. partial void OnAmountChanging(System.Nullable<decimal> value);
  5399. partial void OnAmountChanged();
  5400. partial void OnSDNQuantityChanging(System.Nullable<decimal> value);
  5401. partial void OnSDNQuantityChanged();
  5402. partial void OnCreatePersonChanging(string value);
  5403. partial void OnCreatePersonChanged();
  5404. partial void OnCreateDateTimeChanging(System.DateTime value);
  5405. partial void OnCreateDateTimeChanged();
  5406. partial void OnStatusChanging(string value);
  5407. partial void OnStatusChanged();
  5408. partial void OnSDNIDChanging(string value);
  5409. partial void OnSDNIDChanged();
  5410. partial void OnSDNDetailIDChanging(string value);
  5411. partial void OnSDNDetailIDChanged();
  5412. partial void OnExtensionIDChanging(string value);
  5413. partial void OnExtensionIDChanged();
  5414. partial void OnMUSERChanging(string value);
  5415. partial void OnMUSERChanged();
  5416. partial void OnMUSERNameChanging(string value);
  5417. partial void OnMUSERNameChanged();
  5418. partial void OnMTIMEChanging(System.DateTime value);
  5419. partial void OnMTIMEChanged();
  5420. partial void OnWorkPointChanging(string value);
  5421. partial void OnWorkPointChanged();
  5422. partial void OnEATTRIBUTE1Changing(string value);
  5423. partial void OnEATTRIBUTE1Changed();
  5424. #endregion
  5425. public ICSSDN()
  5426. {
  5427. OnCreated();
  5428. }
  5429. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  5430. public string ID
  5431. {
  5432. get
  5433. {
  5434. return this._ID;
  5435. }
  5436. set
  5437. {
  5438. if ((this._ID != value))
  5439. {
  5440. this.OnIDChanging(value);
  5441. this.SendPropertyChanging();
  5442. this._ID = value;
  5443. this.SendPropertyChanged("ID");
  5444. this.OnIDChanged();
  5445. }
  5446. }
  5447. }
  5448. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SDNCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5449. public string SDNCode
  5450. {
  5451. get
  5452. {
  5453. return this._SDNCode;
  5454. }
  5455. set
  5456. {
  5457. if ((this._SDNCode != value))
  5458. {
  5459. this.OnSDNCodeChanging(value);
  5460. this.SendPropertyChanging();
  5461. this._SDNCode = value;
  5462. this.SendPropertyChanged("SDNCode");
  5463. this.OnSDNCodeChanged();
  5464. }
  5465. }
  5466. }
  5467. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5468. public string Sequence
  5469. {
  5470. get
  5471. {
  5472. return this._Sequence;
  5473. }
  5474. set
  5475. {
  5476. if ((this._Sequence != value))
  5477. {
  5478. this.OnSequenceChanging(value);
  5479. this.SendPropertyChanging();
  5480. this._Sequence = value;
  5481. this.SendPropertyChanged("Sequence");
  5482. this.OnSequenceChanged();
  5483. }
  5484. }
  5485. }
  5486. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SOCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5487. public string SOCode
  5488. {
  5489. get
  5490. {
  5491. return this._SOCode;
  5492. }
  5493. set
  5494. {
  5495. if ((this._SOCode != value))
  5496. {
  5497. this.OnSOCodeChanging(value);
  5498. this.SendPropertyChanging();
  5499. this._SOCode = value;
  5500. this.SendPropertyChanged("SOCode");
  5501. this.OnSOCodeChanged();
  5502. }
  5503. }
  5504. }
  5505. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SOSequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5506. public string SOSequence
  5507. {
  5508. get
  5509. {
  5510. return this._SOSequence;
  5511. }
  5512. set
  5513. {
  5514. if ((this._SOSequence != value))
  5515. {
  5516. this.OnSOSequenceChanging(value);
  5517. this.SendPropertyChanging();
  5518. this._SOSequence = value;
  5519. this.SendPropertyChanged("SOSequence");
  5520. this.OnSOSequenceChanged();
  5521. }
  5522. }
  5523. }
  5524. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CusCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5525. public string CusCode
  5526. {
  5527. get
  5528. {
  5529. return this._CusCode;
  5530. }
  5531. set
  5532. {
  5533. if ((this._CusCode != value))
  5534. {
  5535. this.OnCusCodeChanging(value);
  5536. this.SendPropertyChanging();
  5537. this._CusCode = value;
  5538. this.SendPropertyChanged("CusCode");
  5539. this.OnCusCodeChanged();
  5540. }
  5541. }
  5542. }
  5543. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CusName", DbType="NVarChar(500) NOT NULL", CanBeNull=false)]
  5544. public string CusName
  5545. {
  5546. get
  5547. {
  5548. return this._CusName;
  5549. }
  5550. set
  5551. {
  5552. if ((this._CusName != value))
  5553. {
  5554. this.OnCusNameChanging(value);
  5555. this.SendPropertyChanging();
  5556. this._CusName = value;
  5557. this.SendPropertyChanged("CusName");
  5558. this.OnCusNameChanged();
  5559. }
  5560. }
  5561. }
  5562. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5563. public string Type
  5564. {
  5565. get
  5566. {
  5567. return this._Type;
  5568. }
  5569. set
  5570. {
  5571. if ((this._Type != value))
  5572. {
  5573. this.OnTypeChanging(value);
  5574. this.SendPropertyChanging();
  5575. this._Type = value;
  5576. this.SendPropertyChanged("Type");
  5577. this.OnTypeChanged();
  5578. }
  5579. }
  5580. }
  5581. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ArriveDate", DbType="DateTime NOT NULL")]
  5582. public System.DateTime ArriveDate
  5583. {
  5584. get
  5585. {
  5586. return this._ArriveDate;
  5587. }
  5588. set
  5589. {
  5590. if ((this._ArriveDate != value))
  5591. {
  5592. this.OnArriveDateChanging(value);
  5593. this.SendPropertyChanging();
  5594. this._ArriveDate = value;
  5595. this.SendPropertyChanged("ArriveDate");
  5596. this.OnArriveDateChanged();
  5597. }
  5598. }
  5599. }
  5600. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5601. public string WHCode
  5602. {
  5603. get
  5604. {
  5605. return this._WHCode;
  5606. }
  5607. set
  5608. {
  5609. if ((this._WHCode != value))
  5610. {
  5611. this.OnWHCodeChanging(value);
  5612. this.SendPropertyChanging();
  5613. this._WHCode = value;
  5614. this.SendPropertyChanged("WHCode");
  5615. this.OnWHCodeChanged();
  5616. }
  5617. }
  5618. }
  5619. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5620. public string InvCode
  5621. {
  5622. get
  5623. {
  5624. return this._InvCode;
  5625. }
  5626. set
  5627. {
  5628. if ((this._InvCode != value))
  5629. {
  5630. this.OnInvCodeChanging(value);
  5631. this.SendPropertyChanging();
  5632. this._InvCode = value;
  5633. this.SendPropertyChanged("InvCode");
  5634. this.OnInvCodeChanged();
  5635. }
  5636. }
  5637. }
  5638. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
  5639. public decimal Quantity
  5640. {
  5641. get
  5642. {
  5643. return this._Quantity;
  5644. }
  5645. set
  5646. {
  5647. if ((this._Quantity != value))
  5648. {
  5649. this.OnQuantityChanging(value);
  5650. this.SendPropertyChanging();
  5651. this._Quantity = value;
  5652. this.SendPropertyChanged("Quantity");
  5653. this.OnQuantityChanged();
  5654. }
  5655. }
  5656. }
  5657. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  5658. public System.Nullable<decimal> Amount
  5659. {
  5660. get
  5661. {
  5662. return this._Amount;
  5663. }
  5664. set
  5665. {
  5666. if ((this._Amount != value))
  5667. {
  5668. this.OnAmountChanging(value);
  5669. this.SendPropertyChanging();
  5670. this._Amount = value;
  5671. this.SendPropertyChanged("Amount");
  5672. this.OnAmountChanged();
  5673. }
  5674. }
  5675. }
  5676. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SDNQuantity", DbType="Decimal(18,6)")]
  5677. public System.Nullable<decimal> SDNQuantity
  5678. {
  5679. get
  5680. {
  5681. return this._SDNQuantity;
  5682. }
  5683. set
  5684. {
  5685. if ((this._SDNQuantity != value))
  5686. {
  5687. this.OnSDNQuantityChanging(value);
  5688. this.SendPropertyChanging();
  5689. this._SDNQuantity = value;
  5690. this.SendPropertyChanged("SDNQuantity");
  5691. this.OnSDNQuantityChanged();
  5692. }
  5693. }
  5694. }
  5695. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5696. public string CreatePerson
  5697. {
  5698. get
  5699. {
  5700. return this._CreatePerson;
  5701. }
  5702. set
  5703. {
  5704. if ((this._CreatePerson != value))
  5705. {
  5706. this.OnCreatePersonChanging(value);
  5707. this.SendPropertyChanging();
  5708. this._CreatePerson = value;
  5709. this.SendPropertyChanged("CreatePerson");
  5710. this.OnCreatePersonChanged();
  5711. }
  5712. }
  5713. }
  5714. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
  5715. public System.DateTime CreateDateTime
  5716. {
  5717. get
  5718. {
  5719. return this._CreateDateTime;
  5720. }
  5721. set
  5722. {
  5723. if ((this._CreateDateTime != value))
  5724. {
  5725. this.OnCreateDateTimeChanging(value);
  5726. this.SendPropertyChanging();
  5727. this._CreateDateTime = value;
  5728. this.SendPropertyChanged("CreateDateTime");
  5729. this.OnCreateDateTimeChanged();
  5730. }
  5731. }
  5732. }
  5733. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5734. public string Status
  5735. {
  5736. get
  5737. {
  5738. return this._Status;
  5739. }
  5740. set
  5741. {
  5742. if ((this._Status != value))
  5743. {
  5744. this.OnStatusChanging(value);
  5745. this.SendPropertyChanging();
  5746. this._Status = value;
  5747. this.SendPropertyChanged("Status");
  5748. this.OnStatusChanged();
  5749. }
  5750. }
  5751. }
  5752. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SDNID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5753. public string SDNID
  5754. {
  5755. get
  5756. {
  5757. return this._SDNID;
  5758. }
  5759. set
  5760. {
  5761. if ((this._SDNID != value))
  5762. {
  5763. this.OnSDNIDChanging(value);
  5764. this.SendPropertyChanging();
  5765. this._SDNID = value;
  5766. this.SendPropertyChanged("SDNID");
  5767. this.OnSDNIDChanged();
  5768. }
  5769. }
  5770. }
  5771. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SDNDetailID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5772. public string SDNDetailID
  5773. {
  5774. get
  5775. {
  5776. return this._SDNDetailID;
  5777. }
  5778. set
  5779. {
  5780. if ((this._SDNDetailID != value))
  5781. {
  5782. this.OnSDNDetailIDChanging(value);
  5783. this.SendPropertyChanging();
  5784. this._SDNDetailID = value;
  5785. this.SendPropertyChanged("SDNDetailID");
  5786. this.OnSDNDetailIDChanged();
  5787. }
  5788. }
  5789. }
  5790. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5791. public string ExtensionID
  5792. {
  5793. get
  5794. {
  5795. return this._ExtensionID;
  5796. }
  5797. set
  5798. {
  5799. if ((this._ExtensionID != value))
  5800. {
  5801. this.OnExtensionIDChanging(value);
  5802. this.SendPropertyChanging();
  5803. this._ExtensionID = value;
  5804. this.SendPropertyChanged("ExtensionID");
  5805. this.OnExtensionIDChanged();
  5806. }
  5807. }
  5808. }
  5809. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5810. public string MUSER
  5811. {
  5812. get
  5813. {
  5814. return this._MUSER;
  5815. }
  5816. set
  5817. {
  5818. if ((this._MUSER != value))
  5819. {
  5820. this.OnMUSERChanging(value);
  5821. this.SendPropertyChanging();
  5822. this._MUSER = value;
  5823. this.SendPropertyChanged("MUSER");
  5824. this.OnMUSERChanged();
  5825. }
  5826. }
  5827. }
  5828. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5829. public string MUSERName
  5830. {
  5831. get
  5832. {
  5833. return this._MUSERName;
  5834. }
  5835. set
  5836. {
  5837. if ((this._MUSERName != value))
  5838. {
  5839. this.OnMUSERNameChanging(value);
  5840. this.SendPropertyChanging();
  5841. this._MUSERName = value;
  5842. this.SendPropertyChanged("MUSERName");
  5843. this.OnMUSERNameChanged();
  5844. }
  5845. }
  5846. }
  5847. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  5848. public System.DateTime MTIME
  5849. {
  5850. get
  5851. {
  5852. return this._MTIME;
  5853. }
  5854. set
  5855. {
  5856. if ((this._MTIME != value))
  5857. {
  5858. this.OnMTIMEChanging(value);
  5859. this.SendPropertyChanging();
  5860. this._MTIME = value;
  5861. this.SendPropertyChanged("MTIME");
  5862. this.OnMTIMEChanged();
  5863. }
  5864. }
  5865. }
  5866. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  5867. public string WorkPoint
  5868. {
  5869. get
  5870. {
  5871. return this._WorkPoint;
  5872. }
  5873. set
  5874. {
  5875. if ((this._WorkPoint != value))
  5876. {
  5877. this.OnWorkPointChanging(value);
  5878. this.SendPropertyChanging();
  5879. this._WorkPoint = value;
  5880. this.SendPropertyChanged("WorkPoint");
  5881. this.OnWorkPointChanged();
  5882. }
  5883. }
  5884. }
  5885. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  5886. public string EATTRIBUTE1
  5887. {
  5888. get
  5889. {
  5890. return this._EATTRIBUTE1;
  5891. }
  5892. set
  5893. {
  5894. if ((this._EATTRIBUTE1 != value))
  5895. {
  5896. this.OnEATTRIBUTE1Changing(value);
  5897. this.SendPropertyChanging();
  5898. this._EATTRIBUTE1 = value;
  5899. this.SendPropertyChanged("EATTRIBUTE1");
  5900. this.OnEATTRIBUTE1Changed();
  5901. }
  5902. }
  5903. }
  5904. public event PropertyChangingEventHandler PropertyChanging;
  5905. public event PropertyChangedEventHandler PropertyChanged;
  5906. protected virtual void SendPropertyChanging()
  5907. {
  5908. if ((this.PropertyChanging != null))
  5909. {
  5910. this.PropertyChanging(this, emptyChangingEventArgs);
  5911. }
  5912. }
  5913. protected virtual void SendPropertyChanged(String propertyName)
  5914. {
  5915. if ((this.PropertyChanged != null))
  5916. {
  5917. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  5918. }
  5919. }
  5920. }
  5921. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSInventoryLotDetail")]
  5922. public partial class ICSInventoryLotDetail : INotifyPropertyChanging, INotifyPropertyChanged
  5923. {
  5924. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  5925. private string _LotNo;
  5926. private string _TransCode;
  5927. private string _TransSequence;
  5928. private string _MUSER;
  5929. private string _MUSERName;
  5930. private System.DateTime _MTIME;
  5931. private string _WorkPoint;
  5932. private string _EATTRIBUTE1;
  5933. #region 可扩展性方法定义
  5934. partial void OnLoaded();
  5935. partial void OnValidate(System.Data.Linq.ChangeAction action);
  5936. partial void OnCreated();
  5937. partial void OnLotNoChanging(string value);
  5938. partial void OnLotNoChanged();
  5939. partial void OnTransCodeChanging(string value);
  5940. partial void OnTransCodeChanged();
  5941. partial void OnTransSequenceChanging(string value);
  5942. partial void OnTransSequenceChanged();
  5943. partial void OnMUSERChanging(string value);
  5944. partial void OnMUSERChanged();
  5945. partial void OnMUSERNameChanging(string value);
  5946. partial void OnMUSERNameChanged();
  5947. partial void OnMTIMEChanging(System.DateTime value);
  5948. partial void OnMTIMEChanged();
  5949. partial void OnWorkPointChanging(string value);
  5950. partial void OnWorkPointChanged();
  5951. partial void OnEATTRIBUTE1Changing(string value);
  5952. partial void OnEATTRIBUTE1Changed();
  5953. #endregion
  5954. public ICSInventoryLotDetail()
  5955. {
  5956. OnCreated();
  5957. }
  5958. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LotNo", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  5959. public string LotNo
  5960. {
  5961. get
  5962. {
  5963. return this._LotNo;
  5964. }
  5965. set
  5966. {
  5967. if ((this._LotNo != value))
  5968. {
  5969. this.OnLotNoChanging(value);
  5970. this.SendPropertyChanging();
  5971. this._LotNo = value;
  5972. this.SendPropertyChanged("LotNo");
  5973. this.OnLotNoChanged();
  5974. }
  5975. }
  5976. }
  5977. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  5978. public string TransCode
  5979. {
  5980. get
  5981. {
  5982. return this._TransCode;
  5983. }
  5984. set
  5985. {
  5986. if ((this._TransCode != value))
  5987. {
  5988. this.OnTransCodeChanging(value);
  5989. this.SendPropertyChanging();
  5990. this._TransCode = value;
  5991. this.SendPropertyChanged("TransCode");
  5992. this.OnTransCodeChanged();
  5993. }
  5994. }
  5995. }
  5996. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransSequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  5997. public string TransSequence
  5998. {
  5999. get
  6000. {
  6001. return this._TransSequence;
  6002. }
  6003. set
  6004. {
  6005. if ((this._TransSequence != value))
  6006. {
  6007. this.OnTransSequenceChanging(value);
  6008. this.SendPropertyChanging();
  6009. this._TransSequence = value;
  6010. this.SendPropertyChanged("TransSequence");
  6011. this.OnTransSequenceChanged();
  6012. }
  6013. }
  6014. }
  6015. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6016. public string MUSER
  6017. {
  6018. get
  6019. {
  6020. return this._MUSER;
  6021. }
  6022. set
  6023. {
  6024. if ((this._MUSER != value))
  6025. {
  6026. this.OnMUSERChanging(value);
  6027. this.SendPropertyChanging();
  6028. this._MUSER = value;
  6029. this.SendPropertyChanged("MUSER");
  6030. this.OnMUSERChanged();
  6031. }
  6032. }
  6033. }
  6034. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6035. public string MUSERName
  6036. {
  6037. get
  6038. {
  6039. return this._MUSERName;
  6040. }
  6041. set
  6042. {
  6043. if ((this._MUSERName != value))
  6044. {
  6045. this.OnMUSERNameChanging(value);
  6046. this.SendPropertyChanging();
  6047. this._MUSERName = value;
  6048. this.SendPropertyChanged("MUSERName");
  6049. this.OnMUSERNameChanged();
  6050. }
  6051. }
  6052. }
  6053. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  6054. public System.DateTime MTIME
  6055. {
  6056. get
  6057. {
  6058. return this._MTIME;
  6059. }
  6060. set
  6061. {
  6062. if ((this._MTIME != value))
  6063. {
  6064. this.OnMTIMEChanging(value);
  6065. this.SendPropertyChanging();
  6066. this._MTIME = value;
  6067. this.SendPropertyChanged("MTIME");
  6068. this.OnMTIMEChanged();
  6069. }
  6070. }
  6071. }
  6072. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6073. public string WorkPoint
  6074. {
  6075. get
  6076. {
  6077. return this._WorkPoint;
  6078. }
  6079. set
  6080. {
  6081. if ((this._WorkPoint != value))
  6082. {
  6083. this.OnWorkPointChanging(value);
  6084. this.SendPropertyChanging();
  6085. this._WorkPoint = value;
  6086. this.SendPropertyChanged("WorkPoint");
  6087. this.OnWorkPointChanged();
  6088. }
  6089. }
  6090. }
  6091. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  6092. public string EATTRIBUTE1
  6093. {
  6094. get
  6095. {
  6096. return this._EATTRIBUTE1;
  6097. }
  6098. set
  6099. {
  6100. if ((this._EATTRIBUTE1 != value))
  6101. {
  6102. this.OnEATTRIBUTE1Changing(value);
  6103. this.SendPropertyChanging();
  6104. this._EATTRIBUTE1 = value;
  6105. this.SendPropertyChanged("EATTRIBUTE1");
  6106. this.OnEATTRIBUTE1Changed();
  6107. }
  6108. }
  6109. }
  6110. public event PropertyChangingEventHandler PropertyChanging;
  6111. public event PropertyChangedEventHandler PropertyChanged;
  6112. protected virtual void SendPropertyChanging()
  6113. {
  6114. if ((this.PropertyChanging != null))
  6115. {
  6116. this.PropertyChanging(this, emptyChangingEventArgs);
  6117. }
  6118. }
  6119. protected virtual void SendPropertyChanged(String propertyName)
  6120. {
  6121. if ((this.PropertyChanged != null))
  6122. {
  6123. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  6124. }
  6125. }
  6126. }
  6127. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSWareHouseLotInfoLog")]
  6128. public partial class ICSWareHouseLotInfoLog : INotifyPropertyChanging, INotifyPropertyChanged
  6129. {
  6130. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  6131. private string _ID;
  6132. private string _Identification;
  6133. private string _TransCode;
  6134. private string _TransSequence;
  6135. private string _LotNo;
  6136. private string _InvCode;
  6137. private string _FromWarehouseCode;
  6138. private string _FromLocationCode;
  6139. private string _ToWarehouseCode;
  6140. private string _ToLocationCode;
  6141. private decimal _Quantity;
  6142. private string _Memo;
  6143. private bool _Lock;
  6144. private string _TransType;
  6145. private string _BusinessCode;
  6146. private System.Nullable<bool> _ERPUpload;
  6147. private string _ERPID;
  6148. private string _ERPDetailID;
  6149. private string _ERPCode;
  6150. private string _ERPSequence;
  6151. private string _LogID;
  6152. private string _MergeID;
  6153. private string _MUSER;
  6154. private string _MUSERName;
  6155. private System.Nullable<System.DateTime> _MTIME;
  6156. private string _WorkPoint;
  6157. private string _EATTRIBUTE1;
  6158. private string _EATTRIBUTE2;
  6159. private string _EATTRIBUTE3;
  6160. #region 可扩展性方法定义
  6161. partial void OnLoaded();
  6162. partial void OnValidate(System.Data.Linq.ChangeAction action);
  6163. partial void OnCreated();
  6164. partial void OnIDChanging(string value);
  6165. partial void OnIDChanged();
  6166. partial void OnIdentificationChanging(string value);
  6167. partial void OnIdentificationChanged();
  6168. partial void OnTransCodeChanging(string value);
  6169. partial void OnTransCodeChanged();
  6170. partial void OnTransSequenceChanging(string value);
  6171. partial void OnTransSequenceChanged();
  6172. partial void OnLotNoChanging(string value);
  6173. partial void OnLotNoChanged();
  6174. partial void OnInvCodeChanging(string value);
  6175. partial void OnInvCodeChanged();
  6176. partial void OnFromWarehouseCodeChanging(string value);
  6177. partial void OnFromWarehouseCodeChanged();
  6178. partial void OnFromLocationCodeChanging(string value);
  6179. partial void OnFromLocationCodeChanged();
  6180. partial void OnToWarehouseCodeChanging(string value);
  6181. partial void OnToWarehouseCodeChanged();
  6182. partial void OnToLocationCodeChanging(string value);
  6183. partial void OnToLocationCodeChanged();
  6184. partial void OnQuantityChanging(decimal value);
  6185. partial void OnQuantityChanged();
  6186. partial void OnMemoChanging(string value);
  6187. partial void OnMemoChanged();
  6188. partial void OnLockChanging(bool value);
  6189. partial void OnLockChanged();
  6190. partial void OnTransTypeChanging(string value);
  6191. partial void OnTransTypeChanged();
  6192. partial void OnBusinessCodeChanging(string value);
  6193. partial void OnBusinessCodeChanged();
  6194. partial void OnERPUploadChanging(System.Nullable<bool> value);
  6195. partial void OnERPUploadChanged();
  6196. partial void OnERPIDChanging(string value);
  6197. partial void OnERPIDChanged();
  6198. partial void OnERPDetailIDChanging(string value);
  6199. partial void OnERPDetailIDChanged();
  6200. partial void OnERPCodeChanging(string value);
  6201. partial void OnERPCodeChanged();
  6202. partial void OnERPSequenceChanging(string value);
  6203. partial void OnERPSequenceChanged();
  6204. partial void OnLogIDChanging(string value);
  6205. partial void OnLogIDChanged();
  6206. partial void OnMergeIDChanging(string value);
  6207. partial void OnMergeIDChanged();
  6208. partial void OnMUSERChanging(string value);
  6209. partial void OnMUSERChanged();
  6210. partial void OnMUSERNameChanging(string value);
  6211. partial void OnMUSERNameChanged();
  6212. partial void OnMTIMEChanging(System.Nullable<System.DateTime> value);
  6213. partial void OnMTIMEChanged();
  6214. partial void OnWorkPointChanging(string value);
  6215. partial void OnWorkPointChanged();
  6216. partial void OnEATTRIBUTE1Changing(string value);
  6217. partial void OnEATTRIBUTE1Changed();
  6218. partial void OnEATTRIBUTE2Changing(string value);
  6219. partial void OnEATTRIBUTE2Changed();
  6220. partial void OnEATTRIBUTE3Changing(string value);
  6221. partial void OnEATTRIBUTE3Changed();
  6222. #endregion
  6223. public ICSWareHouseLotInfoLog()
  6224. {
  6225. OnCreated();
  6226. }
  6227. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  6228. public string ID
  6229. {
  6230. get
  6231. {
  6232. return this._ID;
  6233. }
  6234. set
  6235. {
  6236. if ((this._ID != value))
  6237. {
  6238. this.OnIDChanging(value);
  6239. this.SendPropertyChanging();
  6240. this._ID = value;
  6241. this.SendPropertyChanged("ID");
  6242. this.OnIDChanged();
  6243. }
  6244. }
  6245. }
  6246. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Identification", DbType="NVarChar(50)")]
  6247. public string Identification
  6248. {
  6249. get
  6250. {
  6251. return this._Identification;
  6252. }
  6253. set
  6254. {
  6255. if ((this._Identification != value))
  6256. {
  6257. this.OnIdentificationChanging(value);
  6258. this.SendPropertyChanging();
  6259. this._Identification = value;
  6260. this.SendPropertyChanged("Identification");
  6261. this.OnIdentificationChanged();
  6262. }
  6263. }
  6264. }
  6265. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransCode", DbType="NVarChar(100)")]
  6266. public string TransCode
  6267. {
  6268. get
  6269. {
  6270. return this._TransCode;
  6271. }
  6272. set
  6273. {
  6274. if ((this._TransCode != value))
  6275. {
  6276. this.OnTransCodeChanging(value);
  6277. this.SendPropertyChanging();
  6278. this._TransCode = value;
  6279. this.SendPropertyChanged("TransCode");
  6280. this.OnTransCodeChanged();
  6281. }
  6282. }
  6283. }
  6284. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransSequence", DbType="NVarChar(50)")]
  6285. public string TransSequence
  6286. {
  6287. get
  6288. {
  6289. return this._TransSequence;
  6290. }
  6291. set
  6292. {
  6293. if ((this._TransSequence != value))
  6294. {
  6295. this.OnTransSequenceChanging(value);
  6296. this.SendPropertyChanging();
  6297. this._TransSequence = value;
  6298. this.SendPropertyChanged("TransSequence");
  6299. this.OnTransSequenceChanged();
  6300. }
  6301. }
  6302. }
  6303. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LotNo", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6304. public string LotNo
  6305. {
  6306. get
  6307. {
  6308. return this._LotNo;
  6309. }
  6310. set
  6311. {
  6312. if ((this._LotNo != value))
  6313. {
  6314. this.OnLotNoChanging(value);
  6315. this.SendPropertyChanging();
  6316. this._LotNo = value;
  6317. this.SendPropertyChanged("LotNo");
  6318. this.OnLotNoChanged();
  6319. }
  6320. }
  6321. }
  6322. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6323. public string InvCode
  6324. {
  6325. get
  6326. {
  6327. return this._InvCode;
  6328. }
  6329. set
  6330. {
  6331. if ((this._InvCode != value))
  6332. {
  6333. this.OnInvCodeChanging(value);
  6334. this.SendPropertyChanging();
  6335. this._InvCode = value;
  6336. this.SendPropertyChanged("InvCode");
  6337. this.OnInvCodeChanged();
  6338. }
  6339. }
  6340. }
  6341. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FromWarehouseCode", DbType="NVarChar(50)")]
  6342. public string FromWarehouseCode
  6343. {
  6344. get
  6345. {
  6346. return this._FromWarehouseCode;
  6347. }
  6348. set
  6349. {
  6350. if ((this._FromWarehouseCode != value))
  6351. {
  6352. this.OnFromWarehouseCodeChanging(value);
  6353. this.SendPropertyChanging();
  6354. this._FromWarehouseCode = value;
  6355. this.SendPropertyChanged("FromWarehouseCode");
  6356. this.OnFromWarehouseCodeChanged();
  6357. }
  6358. }
  6359. }
  6360. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FromLocationCode", DbType="NVarChar(50)")]
  6361. public string FromLocationCode
  6362. {
  6363. get
  6364. {
  6365. return this._FromLocationCode;
  6366. }
  6367. set
  6368. {
  6369. if ((this._FromLocationCode != value))
  6370. {
  6371. this.OnFromLocationCodeChanging(value);
  6372. this.SendPropertyChanging();
  6373. this._FromLocationCode = value;
  6374. this.SendPropertyChanged("FromLocationCode");
  6375. this.OnFromLocationCodeChanged();
  6376. }
  6377. }
  6378. }
  6379. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToWarehouseCode", DbType="NVarChar(50)")]
  6380. public string ToWarehouseCode
  6381. {
  6382. get
  6383. {
  6384. return this._ToWarehouseCode;
  6385. }
  6386. set
  6387. {
  6388. if ((this._ToWarehouseCode != value))
  6389. {
  6390. this.OnToWarehouseCodeChanging(value);
  6391. this.SendPropertyChanging();
  6392. this._ToWarehouseCode = value;
  6393. this.SendPropertyChanged("ToWarehouseCode");
  6394. this.OnToWarehouseCodeChanged();
  6395. }
  6396. }
  6397. }
  6398. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToLocationCode", DbType="NVarChar(50)")]
  6399. public string ToLocationCode
  6400. {
  6401. get
  6402. {
  6403. return this._ToLocationCode;
  6404. }
  6405. set
  6406. {
  6407. if ((this._ToLocationCode != value))
  6408. {
  6409. this.OnToLocationCodeChanging(value);
  6410. this.SendPropertyChanging();
  6411. this._ToLocationCode = value;
  6412. this.SendPropertyChanged("ToLocationCode");
  6413. this.OnToLocationCodeChanged();
  6414. }
  6415. }
  6416. }
  6417. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
  6418. public decimal Quantity
  6419. {
  6420. get
  6421. {
  6422. return this._Quantity;
  6423. }
  6424. set
  6425. {
  6426. if ((this._Quantity != value))
  6427. {
  6428. this.OnQuantityChanging(value);
  6429. this.SendPropertyChanging();
  6430. this._Quantity = value;
  6431. this.SendPropertyChanged("Quantity");
  6432. this.OnQuantityChanged();
  6433. }
  6434. }
  6435. }
  6436. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Memo", DbType="NVarChar(1000)")]
  6437. public string Memo
  6438. {
  6439. get
  6440. {
  6441. return this._Memo;
  6442. }
  6443. set
  6444. {
  6445. if ((this._Memo != value))
  6446. {
  6447. this.OnMemoChanging(value);
  6448. this.SendPropertyChanging();
  6449. this._Memo = value;
  6450. this.SendPropertyChanged("Memo");
  6451. this.OnMemoChanged();
  6452. }
  6453. }
  6454. }
  6455. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Lock", DbType="Bit NOT NULL")]
  6456. public bool Lock
  6457. {
  6458. get
  6459. {
  6460. return this._Lock;
  6461. }
  6462. set
  6463. {
  6464. if ((this._Lock != value))
  6465. {
  6466. this.OnLockChanging(value);
  6467. this.SendPropertyChanging();
  6468. this._Lock = value;
  6469. this.SendPropertyChanged("Lock");
  6470. this.OnLockChanged();
  6471. }
  6472. }
  6473. }
  6474. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransType", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6475. public string TransType
  6476. {
  6477. get
  6478. {
  6479. return this._TransType;
  6480. }
  6481. set
  6482. {
  6483. if ((this._TransType != value))
  6484. {
  6485. this.OnTransTypeChanging(value);
  6486. this.SendPropertyChanging();
  6487. this._TransType = value;
  6488. this.SendPropertyChanged("TransType");
  6489. this.OnTransTypeChanged();
  6490. }
  6491. }
  6492. }
  6493. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BusinessCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6494. public string BusinessCode
  6495. {
  6496. get
  6497. {
  6498. return this._BusinessCode;
  6499. }
  6500. set
  6501. {
  6502. if ((this._BusinessCode != value))
  6503. {
  6504. this.OnBusinessCodeChanging(value);
  6505. this.SendPropertyChanging();
  6506. this._BusinessCode = value;
  6507. this.SendPropertyChanged("BusinessCode");
  6508. this.OnBusinessCodeChanged();
  6509. }
  6510. }
  6511. }
  6512. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ERPUpload", DbType="Bit")]
  6513. public System.Nullable<bool> ERPUpload
  6514. {
  6515. get
  6516. {
  6517. return this._ERPUpload;
  6518. }
  6519. set
  6520. {
  6521. if ((this._ERPUpload != value))
  6522. {
  6523. this.OnERPUploadChanging(value);
  6524. this.SendPropertyChanging();
  6525. this._ERPUpload = value;
  6526. this.SendPropertyChanged("ERPUpload");
  6527. this.OnERPUploadChanged();
  6528. }
  6529. }
  6530. }
  6531. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ERPID", DbType="NVarChar(50)")]
  6532. public string ERPID
  6533. {
  6534. get
  6535. {
  6536. return this._ERPID;
  6537. }
  6538. set
  6539. {
  6540. if ((this._ERPID != value))
  6541. {
  6542. this.OnERPIDChanging(value);
  6543. this.SendPropertyChanging();
  6544. this._ERPID = value;
  6545. this.SendPropertyChanged("ERPID");
  6546. this.OnERPIDChanged();
  6547. }
  6548. }
  6549. }
  6550. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ERPDetailID", DbType="NVarChar(50)")]
  6551. public string ERPDetailID
  6552. {
  6553. get
  6554. {
  6555. return this._ERPDetailID;
  6556. }
  6557. set
  6558. {
  6559. if ((this._ERPDetailID != value))
  6560. {
  6561. this.OnERPDetailIDChanging(value);
  6562. this.SendPropertyChanging();
  6563. this._ERPDetailID = value;
  6564. this.SendPropertyChanged("ERPDetailID");
  6565. this.OnERPDetailIDChanged();
  6566. }
  6567. }
  6568. }
  6569. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ERPCode", DbType="NVarChar(50)")]
  6570. public string ERPCode
  6571. {
  6572. get
  6573. {
  6574. return this._ERPCode;
  6575. }
  6576. set
  6577. {
  6578. if ((this._ERPCode != value))
  6579. {
  6580. this.OnERPCodeChanging(value);
  6581. this.SendPropertyChanging();
  6582. this._ERPCode = value;
  6583. this.SendPropertyChanged("ERPCode");
  6584. this.OnERPCodeChanged();
  6585. }
  6586. }
  6587. }
  6588. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ERPSequence", DbType="NVarChar(50)")]
  6589. public string ERPSequence
  6590. {
  6591. get
  6592. {
  6593. return this._ERPSequence;
  6594. }
  6595. set
  6596. {
  6597. if ((this._ERPSequence != value))
  6598. {
  6599. this.OnERPSequenceChanging(value);
  6600. this.SendPropertyChanging();
  6601. this._ERPSequence = value;
  6602. this.SendPropertyChanged("ERPSequence");
  6603. this.OnERPSequenceChanged();
  6604. }
  6605. }
  6606. }
  6607. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LogID", DbType="NVarChar(50)")]
  6608. public string LogID
  6609. {
  6610. get
  6611. {
  6612. return this._LogID;
  6613. }
  6614. set
  6615. {
  6616. if ((this._LogID != value))
  6617. {
  6618. this.OnLogIDChanging(value);
  6619. this.SendPropertyChanging();
  6620. this._LogID = value;
  6621. this.SendPropertyChanged("LogID");
  6622. this.OnLogIDChanged();
  6623. }
  6624. }
  6625. }
  6626. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MergeID", DbType="NVarChar(50)")]
  6627. public string MergeID
  6628. {
  6629. get
  6630. {
  6631. return this._MergeID;
  6632. }
  6633. set
  6634. {
  6635. if ((this._MergeID != value))
  6636. {
  6637. this.OnMergeIDChanging(value);
  6638. this.SendPropertyChanging();
  6639. this._MergeID = value;
  6640. this.SendPropertyChanged("MergeID");
  6641. this.OnMergeIDChanged();
  6642. }
  6643. }
  6644. }
  6645. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6646. public string MUSER
  6647. {
  6648. get
  6649. {
  6650. return this._MUSER;
  6651. }
  6652. set
  6653. {
  6654. if ((this._MUSER != value))
  6655. {
  6656. this.OnMUSERChanging(value);
  6657. this.SendPropertyChanging();
  6658. this._MUSER = value;
  6659. this.SendPropertyChanged("MUSER");
  6660. this.OnMUSERChanged();
  6661. }
  6662. }
  6663. }
  6664. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6665. public string MUSERName
  6666. {
  6667. get
  6668. {
  6669. return this._MUSERName;
  6670. }
  6671. set
  6672. {
  6673. if ((this._MUSERName != value))
  6674. {
  6675. this.OnMUSERNameChanging(value);
  6676. this.SendPropertyChanging();
  6677. this._MUSERName = value;
  6678. this.SendPropertyChanged("MUSERName");
  6679. this.OnMUSERNameChanged();
  6680. }
  6681. }
  6682. }
  6683. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime2(7)")]
  6684. public System.Nullable<System.DateTime> MTIME
  6685. {
  6686. get
  6687. {
  6688. return this._MTIME;
  6689. }
  6690. set
  6691. {
  6692. if ((this._MTIME != value))
  6693. {
  6694. this.OnMTIMEChanging(value);
  6695. this.SendPropertyChanging();
  6696. this._MTIME = value;
  6697. this.SendPropertyChanged("MTIME");
  6698. this.OnMTIMEChanged();
  6699. }
  6700. }
  6701. }
  6702. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6703. public string WorkPoint
  6704. {
  6705. get
  6706. {
  6707. return this._WorkPoint;
  6708. }
  6709. set
  6710. {
  6711. if ((this._WorkPoint != value))
  6712. {
  6713. this.OnWorkPointChanging(value);
  6714. this.SendPropertyChanging();
  6715. this._WorkPoint = value;
  6716. this.SendPropertyChanged("WorkPoint");
  6717. this.OnWorkPointChanged();
  6718. }
  6719. }
  6720. }
  6721. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  6722. public string EATTRIBUTE1
  6723. {
  6724. get
  6725. {
  6726. return this._EATTRIBUTE1;
  6727. }
  6728. set
  6729. {
  6730. if ((this._EATTRIBUTE1 != value))
  6731. {
  6732. this.OnEATTRIBUTE1Changing(value);
  6733. this.SendPropertyChanging();
  6734. this._EATTRIBUTE1 = value;
  6735. this.SendPropertyChanged("EATTRIBUTE1");
  6736. this.OnEATTRIBUTE1Changed();
  6737. }
  6738. }
  6739. }
  6740. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE2", DbType="NVarChar(50)")]
  6741. public string EATTRIBUTE2
  6742. {
  6743. get
  6744. {
  6745. return this._EATTRIBUTE2;
  6746. }
  6747. set
  6748. {
  6749. if ((this._EATTRIBUTE2 != value))
  6750. {
  6751. this.OnEATTRIBUTE2Changing(value);
  6752. this.SendPropertyChanging();
  6753. this._EATTRIBUTE2 = value;
  6754. this.SendPropertyChanged("EATTRIBUTE2");
  6755. this.OnEATTRIBUTE2Changed();
  6756. }
  6757. }
  6758. }
  6759. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE3", DbType="NVarChar(50)")]
  6760. public string EATTRIBUTE3
  6761. {
  6762. get
  6763. {
  6764. return this._EATTRIBUTE3;
  6765. }
  6766. set
  6767. {
  6768. if ((this._EATTRIBUTE3 != value))
  6769. {
  6770. this.OnEATTRIBUTE3Changing(value);
  6771. this.SendPropertyChanging();
  6772. this._EATTRIBUTE3 = value;
  6773. this.SendPropertyChanged("EATTRIBUTE3");
  6774. this.OnEATTRIBUTE3Changed();
  6775. }
  6776. }
  6777. }
  6778. public event PropertyChangingEventHandler PropertyChanging;
  6779. public event PropertyChangedEventHandler PropertyChanged;
  6780. protected virtual void SendPropertyChanging()
  6781. {
  6782. if ((this.PropertyChanging != null))
  6783. {
  6784. this.PropertyChanging(this, emptyChangingEventArgs);
  6785. }
  6786. }
  6787. protected virtual void SendPropertyChanged(String propertyName)
  6788. {
  6789. if ((this.PropertyChanged != null))
  6790. {
  6791. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  6792. }
  6793. }
  6794. }
  6795. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSInventoryLot")]
  6796. public partial class ICSInventoryLot : INotifyPropertyChanging, INotifyPropertyChanged
  6797. {
  6798. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  6799. private string _ID;
  6800. private string _LotNo;
  6801. private string _InvCode;
  6802. private System.DateTime _ProductDate;
  6803. private System.DateTime _ExpirationDate;
  6804. private decimal _Quantity;
  6805. private System.Nullable<decimal> _Amount;
  6806. private string _ExtensionID;
  6807. private string _Type;
  6808. private System.Nullable<int> _PrintTimes;
  6809. private string _LastPrintUser;
  6810. private System.Nullable<System.DateTime> _LastPrintTime;
  6811. private string _MUSER;
  6812. private string _MUSERName;
  6813. private System.DateTime _MTIME;
  6814. private string _WorkPoint;
  6815. private string _EATTRIBUTE1;
  6816. #region 可扩展性方法定义
  6817. partial void OnLoaded();
  6818. partial void OnValidate(System.Data.Linq.ChangeAction action);
  6819. partial void OnCreated();
  6820. partial void OnIDChanging(string value);
  6821. partial void OnIDChanged();
  6822. partial void OnLotNoChanging(string value);
  6823. partial void OnLotNoChanged();
  6824. partial void OnInvCodeChanging(string value);
  6825. partial void OnInvCodeChanged();
  6826. partial void OnProductDateChanging(System.DateTime value);
  6827. partial void OnProductDateChanged();
  6828. partial void OnExpirationDateChanging(System.DateTime value);
  6829. partial void OnExpirationDateChanged();
  6830. partial void OnQuantityChanging(decimal value);
  6831. partial void OnQuantityChanged();
  6832. partial void OnAmountChanging(System.Nullable<decimal> value);
  6833. partial void OnAmountChanged();
  6834. partial void OnExtensionIDChanging(string value);
  6835. partial void OnExtensionIDChanged();
  6836. partial void OnTypeChanging(string value);
  6837. partial void OnTypeChanged();
  6838. partial void OnPrintTimesChanging(System.Nullable<int> value);
  6839. partial void OnPrintTimesChanged();
  6840. partial void OnLastPrintUserChanging(string value);
  6841. partial void OnLastPrintUserChanged();
  6842. partial void OnLastPrintTimeChanging(System.Nullable<System.DateTime> value);
  6843. partial void OnLastPrintTimeChanged();
  6844. partial void OnMUSERChanging(string value);
  6845. partial void OnMUSERChanged();
  6846. partial void OnMUSERNameChanging(string value);
  6847. partial void OnMUSERNameChanged();
  6848. partial void OnMTIMEChanging(System.DateTime value);
  6849. partial void OnMTIMEChanged();
  6850. partial void OnWorkPointChanging(string value);
  6851. partial void OnWorkPointChanged();
  6852. partial void OnEATTRIBUTE1Changing(string value);
  6853. partial void OnEATTRIBUTE1Changed();
  6854. #endregion
  6855. public ICSInventoryLot()
  6856. {
  6857. OnCreated();
  6858. }
  6859. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6860. public string ID
  6861. {
  6862. get
  6863. {
  6864. return this._ID;
  6865. }
  6866. set
  6867. {
  6868. if ((this._ID != value))
  6869. {
  6870. this.OnIDChanging(value);
  6871. this.SendPropertyChanging();
  6872. this._ID = value;
  6873. this.SendPropertyChanged("ID");
  6874. this.OnIDChanged();
  6875. }
  6876. }
  6877. }
  6878. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LotNo", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  6879. public string LotNo
  6880. {
  6881. get
  6882. {
  6883. return this._LotNo;
  6884. }
  6885. set
  6886. {
  6887. if ((this._LotNo != value))
  6888. {
  6889. this.OnLotNoChanging(value);
  6890. this.SendPropertyChanging();
  6891. this._LotNo = value;
  6892. this.SendPropertyChanged("LotNo");
  6893. this.OnLotNoChanged();
  6894. }
  6895. }
  6896. }
  6897. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  6898. public string InvCode
  6899. {
  6900. get
  6901. {
  6902. return this._InvCode;
  6903. }
  6904. set
  6905. {
  6906. if ((this._InvCode != value))
  6907. {
  6908. this.OnInvCodeChanging(value);
  6909. this.SendPropertyChanging();
  6910. this._InvCode = value;
  6911. this.SendPropertyChanged("InvCode");
  6912. this.OnInvCodeChanged();
  6913. }
  6914. }
  6915. }
  6916. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProductDate", DbType="DateTime NOT NULL")]
  6917. public System.DateTime ProductDate
  6918. {
  6919. get
  6920. {
  6921. return this._ProductDate;
  6922. }
  6923. set
  6924. {
  6925. if ((this._ProductDate != value))
  6926. {
  6927. this.OnProductDateChanging(value);
  6928. this.SendPropertyChanging();
  6929. this._ProductDate = value;
  6930. this.SendPropertyChanged("ProductDate");
  6931. this.OnProductDateChanged();
  6932. }
  6933. }
  6934. }
  6935. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExpirationDate", DbType="DateTime NOT NULL")]
  6936. public System.DateTime ExpirationDate
  6937. {
  6938. get
  6939. {
  6940. return this._ExpirationDate;
  6941. }
  6942. set
  6943. {
  6944. if ((this._ExpirationDate != value))
  6945. {
  6946. this.OnExpirationDateChanging(value);
  6947. this.SendPropertyChanging();
  6948. this._ExpirationDate = value;
  6949. this.SendPropertyChanged("ExpirationDate");
  6950. this.OnExpirationDateChanged();
  6951. }
  6952. }
  6953. }
  6954. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
  6955. public decimal Quantity
  6956. {
  6957. get
  6958. {
  6959. return this._Quantity;
  6960. }
  6961. set
  6962. {
  6963. if ((this._Quantity != value))
  6964. {
  6965. this.OnQuantityChanging(value);
  6966. this.SendPropertyChanging();
  6967. this._Quantity = value;
  6968. this.SendPropertyChanged("Quantity");
  6969. this.OnQuantityChanged();
  6970. }
  6971. }
  6972. }
  6973. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  6974. public System.Nullable<decimal> Amount
  6975. {
  6976. get
  6977. {
  6978. return this._Amount;
  6979. }
  6980. set
  6981. {
  6982. if ((this._Amount != value))
  6983. {
  6984. this.OnAmountChanging(value);
  6985. this.SendPropertyChanging();
  6986. this._Amount = value;
  6987. this.SendPropertyChanged("Amount");
  6988. this.OnAmountChanged();
  6989. }
  6990. }
  6991. }
  6992. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(100)")]
  6993. public string ExtensionID
  6994. {
  6995. get
  6996. {
  6997. return this._ExtensionID;
  6998. }
  6999. set
  7000. {
  7001. if ((this._ExtensionID != value))
  7002. {
  7003. this.OnExtensionIDChanging(value);
  7004. this.SendPropertyChanging();
  7005. this._ExtensionID = value;
  7006. this.SendPropertyChanged("ExtensionID");
  7007. this.OnExtensionIDChanged();
  7008. }
  7009. }
  7010. }
  7011. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  7012. public string Type
  7013. {
  7014. get
  7015. {
  7016. return this._Type;
  7017. }
  7018. set
  7019. {
  7020. if ((this._Type != value))
  7021. {
  7022. this.OnTypeChanging(value);
  7023. this.SendPropertyChanging();
  7024. this._Type = value;
  7025. this.SendPropertyChanged("Type");
  7026. this.OnTypeChanged();
  7027. }
  7028. }
  7029. }
  7030. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PrintTimes", DbType="Int")]
  7031. public System.Nullable<int> PrintTimes
  7032. {
  7033. get
  7034. {
  7035. return this._PrintTimes;
  7036. }
  7037. set
  7038. {
  7039. if ((this._PrintTimes != value))
  7040. {
  7041. this.OnPrintTimesChanging(value);
  7042. this.SendPropertyChanging();
  7043. this._PrintTimes = value;
  7044. this.SendPropertyChanged("PrintTimes");
  7045. this.OnPrintTimesChanged();
  7046. }
  7047. }
  7048. }
  7049. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastPrintUser", DbType="NVarChar(50)")]
  7050. public string LastPrintUser
  7051. {
  7052. get
  7053. {
  7054. return this._LastPrintUser;
  7055. }
  7056. set
  7057. {
  7058. if ((this._LastPrintUser != value))
  7059. {
  7060. this.OnLastPrintUserChanging(value);
  7061. this.SendPropertyChanging();
  7062. this._LastPrintUser = value;
  7063. this.SendPropertyChanged("LastPrintUser");
  7064. this.OnLastPrintUserChanged();
  7065. }
  7066. }
  7067. }
  7068. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastPrintTime", DbType="DateTime")]
  7069. public System.Nullable<System.DateTime> LastPrintTime
  7070. {
  7071. get
  7072. {
  7073. return this._LastPrintTime;
  7074. }
  7075. set
  7076. {
  7077. if ((this._LastPrintTime != value))
  7078. {
  7079. this.OnLastPrintTimeChanging(value);
  7080. this.SendPropertyChanging();
  7081. this._LastPrintTime = value;
  7082. this.SendPropertyChanged("LastPrintTime");
  7083. this.OnLastPrintTimeChanged();
  7084. }
  7085. }
  7086. }
  7087. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  7088. public string MUSER
  7089. {
  7090. get
  7091. {
  7092. return this._MUSER;
  7093. }
  7094. set
  7095. {
  7096. if ((this._MUSER != value))
  7097. {
  7098. this.OnMUSERChanging(value);
  7099. this.SendPropertyChanging();
  7100. this._MUSER = value;
  7101. this.SendPropertyChanged("MUSER");
  7102. this.OnMUSERChanged();
  7103. }
  7104. }
  7105. }
  7106. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  7107. public string MUSERName
  7108. {
  7109. get
  7110. {
  7111. return this._MUSERName;
  7112. }
  7113. set
  7114. {
  7115. if ((this._MUSERName != value))
  7116. {
  7117. this.OnMUSERNameChanging(value);
  7118. this.SendPropertyChanging();
  7119. this._MUSERName = value;
  7120. this.SendPropertyChanged("MUSERName");
  7121. this.OnMUSERNameChanged();
  7122. }
  7123. }
  7124. }
  7125. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  7126. public System.DateTime MTIME
  7127. {
  7128. get
  7129. {
  7130. return this._MTIME;
  7131. }
  7132. set
  7133. {
  7134. if ((this._MTIME != value))
  7135. {
  7136. this.OnMTIMEChanging(value);
  7137. this.SendPropertyChanging();
  7138. this._MTIME = value;
  7139. this.SendPropertyChanged("MTIME");
  7140. this.OnMTIMEChanged();
  7141. }
  7142. }
  7143. }
  7144. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  7145. public string WorkPoint
  7146. {
  7147. get
  7148. {
  7149. return this._WorkPoint;
  7150. }
  7151. set
  7152. {
  7153. if ((this._WorkPoint != value))
  7154. {
  7155. this.OnWorkPointChanging(value);
  7156. this.SendPropertyChanging();
  7157. this._WorkPoint = value;
  7158. this.SendPropertyChanged("WorkPoint");
  7159. this.OnWorkPointChanged();
  7160. }
  7161. }
  7162. }
  7163. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  7164. public string EATTRIBUTE1
  7165. {
  7166. get
  7167. {
  7168. return this._EATTRIBUTE1;
  7169. }
  7170. set
  7171. {
  7172. if ((this._EATTRIBUTE1 != value))
  7173. {
  7174. this.OnEATTRIBUTE1Changing(value);
  7175. this.SendPropertyChanging();
  7176. this._EATTRIBUTE1 = value;
  7177. this.SendPropertyChanged("EATTRIBUTE1");
  7178. this.OnEATTRIBUTE1Changed();
  7179. }
  7180. }
  7181. }
  7182. public event PropertyChangingEventHandler PropertyChanging;
  7183. public event PropertyChangedEventHandler PropertyChanged;
  7184. protected virtual void SendPropertyChanging()
  7185. {
  7186. if ((this.PropertyChanging != null))
  7187. {
  7188. this.PropertyChanging(this, emptyChangingEventArgs);
  7189. }
  7190. }
  7191. protected virtual void SendPropertyChanged(String propertyName)
  7192. {
  7193. if ((this.PropertyChanged != null))
  7194. {
  7195. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  7196. }
  7197. }
  7198. }
  7199. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSWareHouseLotInfo")]
  7200. public partial class ICSWareHouseLotInfo : INotifyPropertyChanging, INotifyPropertyChanged
  7201. {
  7202. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  7203. private string _ID;
  7204. private string _LotNo;
  7205. private string _WarehouseCode;
  7206. private string _LocationCode;
  7207. private string _InvCode;
  7208. private decimal _Quantity;
  7209. private System.Nullable<System.DateTime> _InDate;
  7210. private decimal _LockQuantity;
  7211. private string _MUSER;
  7212. private string _MUSERName;
  7213. private System.Nullable<System.DateTime> _MTIME;
  7214. private string _WorkPoint;
  7215. private string _EATTRIBUTE1;
  7216. #region 可扩展性方法定义
  7217. partial void OnLoaded();
  7218. partial void OnValidate(System.Data.Linq.ChangeAction action);
  7219. partial void OnCreated();
  7220. partial void OnIDChanging(string value);
  7221. partial void OnIDChanged();
  7222. partial void OnLotNoChanging(string value);
  7223. partial void OnLotNoChanged();
  7224. partial void OnWarehouseCodeChanging(string value);
  7225. partial void OnWarehouseCodeChanged();
  7226. partial void OnLocationCodeChanging(string value);
  7227. partial void OnLocationCodeChanged();
  7228. partial void OnInvCodeChanging(string value);
  7229. partial void OnInvCodeChanged();
  7230. partial void OnQuantityChanging(decimal value);
  7231. partial void OnQuantityChanged();
  7232. partial void OnInDateChanging(System.Nullable<System.DateTime> value);
  7233. partial void OnInDateChanged();
  7234. partial void OnLockQuantityChanging(decimal value);
  7235. partial void OnLockQuantityChanged();
  7236. partial void OnMUSERChanging(string value);
  7237. partial void OnMUSERChanged();
  7238. partial void OnMUSERNameChanging(string value);
  7239. partial void OnMUSERNameChanged();
  7240. partial void OnMTIMEChanging(System.Nullable<System.DateTime> value);
  7241. partial void OnMTIMEChanged();
  7242. partial void OnWorkPointChanging(string value);
  7243. partial void OnWorkPointChanged();
  7244. partial void OnEATTRIBUTE1Changing(string value);
  7245. partial void OnEATTRIBUTE1Changed();
  7246. #endregion
  7247. public ICSWareHouseLotInfo()
  7248. {
  7249. OnCreated();
  7250. }
  7251. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  7252. public string ID
  7253. {
  7254. get
  7255. {
  7256. return this._ID;
  7257. }
  7258. set
  7259. {
  7260. if ((this._ID != value))
  7261. {
  7262. this.OnIDChanging(value);
  7263. this.SendPropertyChanging();
  7264. this._ID = value;
  7265. this.SendPropertyChanged("ID");
  7266. this.OnIDChanged();
  7267. }
  7268. }
  7269. }
  7270. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LotNo", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  7271. public string LotNo
  7272. {
  7273. get
  7274. {
  7275. return this._LotNo;
  7276. }
  7277. set
  7278. {
  7279. if ((this._LotNo != value))
  7280. {
  7281. this.OnLotNoChanging(value);
  7282. this.SendPropertyChanging();
  7283. this._LotNo = value;
  7284. this.SendPropertyChanged("LotNo");
  7285. this.OnLotNoChanged();
  7286. }
  7287. }
  7288. }
  7289. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WarehouseCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  7290. public string WarehouseCode
  7291. {
  7292. get
  7293. {
  7294. return this._WarehouseCode;
  7295. }
  7296. set
  7297. {
  7298. if ((this._WarehouseCode != value))
  7299. {
  7300. this.OnWarehouseCodeChanging(value);
  7301. this.SendPropertyChanging();
  7302. this._WarehouseCode = value;
  7303. this.SendPropertyChanged("WarehouseCode");
  7304. this.OnWarehouseCodeChanged();
  7305. }
  7306. }
  7307. }
  7308. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LocationCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  7309. public string LocationCode
  7310. {
  7311. get
  7312. {
  7313. return this._LocationCode;
  7314. }
  7315. set
  7316. {
  7317. if ((this._LocationCode != value))
  7318. {
  7319. this.OnLocationCodeChanging(value);
  7320. this.SendPropertyChanging();
  7321. this._LocationCode = value;
  7322. this.SendPropertyChanged("LocationCode");
  7323. this.OnLocationCodeChanged();
  7324. }
  7325. }
  7326. }
  7327. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  7328. public string InvCode
  7329. {
  7330. get
  7331. {
  7332. return this._InvCode;
  7333. }
  7334. set
  7335. {
  7336. if ((this._InvCode != value))
  7337. {
  7338. this.OnInvCodeChanging(value);
  7339. this.SendPropertyChanging();
  7340. this._InvCode = value;
  7341. this.SendPropertyChanged("InvCode");
  7342. this.OnInvCodeChanged();
  7343. }
  7344. }
  7345. }
  7346. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,6) NOT NULL")]
  7347. public decimal Quantity
  7348. {
  7349. get
  7350. {
  7351. return this._Quantity;
  7352. }
  7353. set
  7354. {
  7355. if ((this._Quantity != value))
  7356. {
  7357. this.OnQuantityChanging(value);
  7358. this.SendPropertyChanging();
  7359. this._Quantity = value;
  7360. this.SendPropertyChanged("Quantity");
  7361. this.OnQuantityChanged();
  7362. }
  7363. }
  7364. }
  7365. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InDate", DbType="DateTime2(7)")]
  7366. public System.Nullable<System.DateTime> InDate
  7367. {
  7368. get
  7369. {
  7370. return this._InDate;
  7371. }
  7372. set
  7373. {
  7374. if ((this._InDate != value))
  7375. {
  7376. this.OnInDateChanging(value);
  7377. this.SendPropertyChanging();
  7378. this._InDate = value;
  7379. this.SendPropertyChanged("InDate");
  7380. this.OnInDateChanged();
  7381. }
  7382. }
  7383. }
  7384. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LockQuantity", DbType="Decimal(18,6) NOT NULL")]
  7385. public decimal LockQuantity
  7386. {
  7387. get
  7388. {
  7389. return this._LockQuantity;
  7390. }
  7391. set
  7392. {
  7393. if ((this._LockQuantity != value))
  7394. {
  7395. this.OnLockQuantityChanging(value);
  7396. this.SendPropertyChanging();
  7397. this._LockQuantity = value;
  7398. this.SendPropertyChanged("LockQuantity");
  7399. this.OnLockQuantityChanged();
  7400. }
  7401. }
  7402. }
  7403. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  7404. public string MUSER
  7405. {
  7406. get
  7407. {
  7408. return this._MUSER;
  7409. }
  7410. set
  7411. {
  7412. if ((this._MUSER != value))
  7413. {
  7414. this.OnMUSERChanging(value);
  7415. this.SendPropertyChanging();
  7416. this._MUSER = value;
  7417. this.SendPropertyChanged("MUSER");
  7418. this.OnMUSERChanged();
  7419. }
  7420. }
  7421. }
  7422. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  7423. public string MUSERName
  7424. {
  7425. get
  7426. {
  7427. return this._MUSERName;
  7428. }
  7429. set
  7430. {
  7431. if ((this._MUSERName != value))
  7432. {
  7433. this.OnMUSERNameChanging(value);
  7434. this.SendPropertyChanging();
  7435. this._MUSERName = value;
  7436. this.SendPropertyChanged("MUSERName");
  7437. this.OnMUSERNameChanged();
  7438. }
  7439. }
  7440. }
  7441. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime2(7)")]
  7442. public System.Nullable<System.DateTime> MTIME
  7443. {
  7444. get
  7445. {
  7446. return this._MTIME;
  7447. }
  7448. set
  7449. {
  7450. if ((this._MTIME != value))
  7451. {
  7452. this.OnMTIMEChanging(value);
  7453. this.SendPropertyChanging();
  7454. this._MTIME = value;
  7455. this.SendPropertyChanged("MTIME");
  7456. this.OnMTIMEChanged();
  7457. }
  7458. }
  7459. }
  7460. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  7461. public string WorkPoint
  7462. {
  7463. get
  7464. {
  7465. return this._WorkPoint;
  7466. }
  7467. set
  7468. {
  7469. if ((this._WorkPoint != value))
  7470. {
  7471. this.OnWorkPointChanging(value);
  7472. this.SendPropertyChanging();
  7473. this._WorkPoint = value;
  7474. this.SendPropertyChanged("WorkPoint");
  7475. this.OnWorkPointChanged();
  7476. }
  7477. }
  7478. }
  7479. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  7480. public string EATTRIBUTE1
  7481. {
  7482. get
  7483. {
  7484. return this._EATTRIBUTE1;
  7485. }
  7486. set
  7487. {
  7488. if ((this._EATTRIBUTE1 != value))
  7489. {
  7490. this.OnEATTRIBUTE1Changing(value);
  7491. this.SendPropertyChanging();
  7492. this._EATTRIBUTE1 = value;
  7493. this.SendPropertyChanged("EATTRIBUTE1");
  7494. this.OnEATTRIBUTE1Changed();
  7495. }
  7496. }
  7497. }
  7498. public event PropertyChangingEventHandler PropertyChanging;
  7499. public event PropertyChangedEventHandler PropertyChanged;
  7500. protected virtual void SendPropertyChanging()
  7501. {
  7502. if ((this.PropertyChanging != null))
  7503. {
  7504. this.PropertyChanging(this, emptyChangingEventArgs);
  7505. }
  7506. }
  7507. protected virtual void SendPropertyChanged(String propertyName)
  7508. {
  7509. if ((this.PropertyChanged != null))
  7510. {
  7511. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  7512. }
  7513. }
  7514. }
  7515. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSLocation")]
  7516. public partial class ICSLocation : INotifyPropertyChanging, INotifyPropertyChanged
  7517. {
  7518. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  7519. private string _ID;
  7520. private string _LocationCode;
  7521. private string _LocationName;
  7522. private string _WHID;
  7523. private string _MUSER;
  7524. private string _MUSERName;
  7525. private System.DateTime _MTIME;
  7526. private string _WorkPoint;
  7527. private string _EATTRIBUTE1;
  7528. private string _Region;
  7529. private string _Row;
  7530. private string _GoodsShelf;
  7531. private string _Tier;
  7532. private string _Grid;
  7533. #region 可扩展性方法定义
  7534. partial void OnLoaded();
  7535. partial void OnValidate(System.Data.Linq.ChangeAction action);
  7536. partial void OnCreated();
  7537. partial void OnIDChanging(string value);
  7538. partial void OnIDChanged();
  7539. partial void OnLocationCodeChanging(string value);
  7540. partial void OnLocationCodeChanged();
  7541. partial void OnLocationNameChanging(string value);
  7542. partial void OnLocationNameChanged();
  7543. partial void OnWHIDChanging(string value);
  7544. partial void OnWHIDChanged();
  7545. partial void OnMUSERChanging(string value);
  7546. partial void OnMUSERChanged();
  7547. partial void OnMUSERNameChanging(string value);
  7548. partial void OnMUSERNameChanged();
  7549. partial void OnMTIMEChanging(System.DateTime value);
  7550. partial void OnMTIMEChanged();
  7551. partial void OnWorkPointChanging(string value);
  7552. partial void OnWorkPointChanged();
  7553. partial void OnEATTRIBUTE1Changing(string value);
  7554. partial void OnEATTRIBUTE1Changed();
  7555. partial void OnRegionChanging(string value);
  7556. partial void OnRegionChanged();
  7557. partial void OnRowChanging(string value);
  7558. partial void OnRowChanged();
  7559. partial void OnGoodsShelfChanging(string value);
  7560. partial void OnGoodsShelfChanged();
  7561. partial void OnTierChanging(string value);
  7562. partial void OnTierChanged();
  7563. partial void OnGridChanging(string value);
  7564. partial void OnGridChanged();
  7565. #endregion
  7566. public ICSLocation()
  7567. {
  7568. OnCreated();
  7569. }
  7570. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  7571. public string ID
  7572. {
  7573. get
  7574. {
  7575. return this._ID;
  7576. }
  7577. set
  7578. {
  7579. if ((this._ID != value))
  7580. {
  7581. this.OnIDChanging(value);
  7582. this.SendPropertyChanging();
  7583. this._ID = value;
  7584. this.SendPropertyChanged("ID");
  7585. this.OnIDChanged();
  7586. }
  7587. }
  7588. }
  7589. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LocationCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  7590. public string LocationCode
  7591. {
  7592. get
  7593. {
  7594. return this._LocationCode;
  7595. }
  7596. set
  7597. {
  7598. if ((this._LocationCode != value))
  7599. {
  7600. this.OnLocationCodeChanging(value);
  7601. this.SendPropertyChanging();
  7602. this._LocationCode = value;
  7603. this.SendPropertyChanged("LocationCode");
  7604. this.OnLocationCodeChanged();
  7605. }
  7606. }
  7607. }
  7608. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LocationName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  7609. public string LocationName
  7610. {
  7611. get
  7612. {
  7613. return this._LocationName;
  7614. }
  7615. set
  7616. {
  7617. if ((this._LocationName != value))
  7618. {
  7619. this.OnLocationNameChanging(value);
  7620. this.SendPropertyChanging();
  7621. this._LocationName = value;
  7622. this.SendPropertyChanged("LocationName");
  7623. this.OnLocationNameChanged();
  7624. }
  7625. }
  7626. }
  7627. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  7628. public string WHID
  7629. {
  7630. get
  7631. {
  7632. return this._WHID;
  7633. }
  7634. set
  7635. {
  7636. if ((this._WHID != value))
  7637. {
  7638. this.OnWHIDChanging(value);
  7639. this.SendPropertyChanging();
  7640. this._WHID = value;
  7641. this.SendPropertyChanged("WHID");
  7642. this.OnWHIDChanged();
  7643. }
  7644. }
  7645. }
  7646. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  7647. public string MUSER
  7648. {
  7649. get
  7650. {
  7651. return this._MUSER;
  7652. }
  7653. set
  7654. {
  7655. if ((this._MUSER != value))
  7656. {
  7657. this.OnMUSERChanging(value);
  7658. this.SendPropertyChanging();
  7659. this._MUSER = value;
  7660. this.SendPropertyChanged("MUSER");
  7661. this.OnMUSERChanged();
  7662. }
  7663. }
  7664. }
  7665. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50)")]
  7666. public string MUSERName
  7667. {
  7668. get
  7669. {
  7670. return this._MUSERName;
  7671. }
  7672. set
  7673. {
  7674. if ((this._MUSERName != value))
  7675. {
  7676. this.OnMUSERNameChanging(value);
  7677. this.SendPropertyChanging();
  7678. this._MUSERName = value;
  7679. this.SendPropertyChanged("MUSERName");
  7680. this.OnMUSERNameChanged();
  7681. }
  7682. }
  7683. }
  7684. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  7685. public System.DateTime MTIME
  7686. {
  7687. get
  7688. {
  7689. return this._MTIME;
  7690. }
  7691. set
  7692. {
  7693. if ((this._MTIME != value))
  7694. {
  7695. this.OnMTIMEChanging(value);
  7696. this.SendPropertyChanging();
  7697. this._MTIME = value;
  7698. this.SendPropertyChanged("MTIME");
  7699. this.OnMTIMEChanged();
  7700. }
  7701. }
  7702. }
  7703. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="VarChar(50) NOT NULL", CanBeNull=false)]
  7704. public string WorkPoint
  7705. {
  7706. get
  7707. {
  7708. return this._WorkPoint;
  7709. }
  7710. set
  7711. {
  7712. if ((this._WorkPoint != value))
  7713. {
  7714. this.OnWorkPointChanging(value);
  7715. this.SendPropertyChanging();
  7716. this._WorkPoint = value;
  7717. this.SendPropertyChanged("WorkPoint");
  7718. this.OnWorkPointChanged();
  7719. }
  7720. }
  7721. }
  7722. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  7723. public string EATTRIBUTE1
  7724. {
  7725. get
  7726. {
  7727. return this._EATTRIBUTE1;
  7728. }
  7729. set
  7730. {
  7731. if ((this._EATTRIBUTE1 != value))
  7732. {
  7733. this.OnEATTRIBUTE1Changing(value);
  7734. this.SendPropertyChanging();
  7735. this._EATTRIBUTE1 = value;
  7736. this.SendPropertyChanged("EATTRIBUTE1");
  7737. this.OnEATTRIBUTE1Changed();
  7738. }
  7739. }
  7740. }
  7741. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Region", DbType="NVarChar(50)")]
  7742. public string Region
  7743. {
  7744. get
  7745. {
  7746. return this._Region;
  7747. }
  7748. set
  7749. {
  7750. if ((this._Region != value))
  7751. {
  7752. this.OnRegionChanging(value);
  7753. this.SendPropertyChanging();
  7754. this._Region = value;
  7755. this.SendPropertyChanged("Region");
  7756. this.OnRegionChanged();
  7757. }
  7758. }
  7759. }
  7760. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Row", DbType="NVarChar(50)")]
  7761. public string Row
  7762. {
  7763. get
  7764. {
  7765. return this._Row;
  7766. }
  7767. set
  7768. {
  7769. if ((this._Row != value))
  7770. {
  7771. this.OnRowChanging(value);
  7772. this.SendPropertyChanging();
  7773. this._Row = value;
  7774. this.SendPropertyChanged("Row");
  7775. this.OnRowChanged();
  7776. }
  7777. }
  7778. }
  7779. [global::System.Data.Linq.Mapping.ColumnAttribute(Name="GoodsShelf ", Storage="_GoodsShelf", DbType="NVarChar(50)")]
  7780. public string GoodsShelf
  7781. {
  7782. get
  7783. {
  7784. return this._GoodsShelf;
  7785. }
  7786. set
  7787. {
  7788. if ((this._GoodsShelf != value))
  7789. {
  7790. this.OnGoodsShelfChanging(value);
  7791. this.SendPropertyChanging();
  7792. this._GoodsShelf = value;
  7793. this.SendPropertyChanged("GoodsShelf");
  7794. this.OnGoodsShelfChanged();
  7795. }
  7796. }
  7797. }
  7798. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Tier", DbType="NVarChar(50)")]
  7799. public string Tier
  7800. {
  7801. get
  7802. {
  7803. return this._Tier;
  7804. }
  7805. set
  7806. {
  7807. if ((this._Tier != value))
  7808. {
  7809. this.OnTierChanging(value);
  7810. this.SendPropertyChanging();
  7811. this._Tier = value;
  7812. this.SendPropertyChanged("Tier");
  7813. this.OnTierChanged();
  7814. }
  7815. }
  7816. }
  7817. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Grid", DbType="NVarChar(50)")]
  7818. public string Grid
  7819. {
  7820. get
  7821. {
  7822. return this._Grid;
  7823. }
  7824. set
  7825. {
  7826. if ((this._Grid != value))
  7827. {
  7828. this.OnGridChanging(value);
  7829. this.SendPropertyChanging();
  7830. this._Grid = value;
  7831. this.SendPropertyChanged("Grid");
  7832. this.OnGridChanged();
  7833. }
  7834. }
  7835. }
  7836. public event PropertyChangingEventHandler PropertyChanging;
  7837. public event PropertyChangedEventHandler PropertyChanged;
  7838. protected virtual void SendPropertyChanging()
  7839. {
  7840. if ((this.PropertyChanging != null))
  7841. {
  7842. this.PropertyChanging(this, emptyChangingEventArgs);
  7843. }
  7844. }
  7845. protected virtual void SendPropertyChanged(String propertyName)
  7846. {
  7847. if ((this.PropertyChanged != null))
  7848. {
  7849. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  7850. }
  7851. }
  7852. }
  7853. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSWarehouse")]
  7854. public partial class ICSWarehouse : INotifyPropertyChanging, INotifyPropertyChanged
  7855. {
  7856. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  7857. private string _ID;
  7858. private string _WarehouseCode;
  7859. private string _WarehouseName;
  7860. private bool _Enable;
  7861. private bool _BatchEnable;
  7862. private bool _Asset;
  7863. private bool _Proxy;
  7864. private bool _InCost;
  7865. private string _MUSER;
  7866. private string _MUSERName;
  7867. private System.DateTime _MTIME;
  7868. private string _WorkPoint;
  7869. private string _EATTRIBUTE1;
  7870. #region 可扩展性方法定义
  7871. partial void OnLoaded();
  7872. partial void OnValidate(System.Data.Linq.ChangeAction action);
  7873. partial void OnCreated();
  7874. partial void OnIDChanging(string value);
  7875. partial void OnIDChanged();
  7876. partial void OnWarehouseCodeChanging(string value);
  7877. partial void OnWarehouseCodeChanged();
  7878. partial void OnWarehouseNameChanging(string value);
  7879. partial void OnWarehouseNameChanged();
  7880. partial void OnEnableChanging(bool value);
  7881. partial void OnEnableChanged();
  7882. partial void OnBatchEnableChanging(bool value);
  7883. partial void OnBatchEnableChanged();
  7884. partial void OnAssetChanging(bool value);
  7885. partial void OnAssetChanged();
  7886. partial void OnProxyChanging(bool value);
  7887. partial void OnProxyChanged();
  7888. partial void OnInCostChanging(bool value);
  7889. partial void OnInCostChanged();
  7890. partial void OnMUSERChanging(string value);
  7891. partial void OnMUSERChanged();
  7892. partial void OnMUSERNameChanging(string value);
  7893. partial void OnMUSERNameChanged();
  7894. partial void OnMTIMEChanging(System.DateTime value);
  7895. partial void OnMTIMEChanged();
  7896. partial void OnWorkPointChanging(string value);
  7897. partial void OnWorkPointChanged();
  7898. partial void OnEATTRIBUTE1Changing(string value);
  7899. partial void OnEATTRIBUTE1Changed();
  7900. #endregion
  7901. public ICSWarehouse()
  7902. {
  7903. OnCreated();
  7904. }
  7905. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  7906. public string ID
  7907. {
  7908. get
  7909. {
  7910. return this._ID;
  7911. }
  7912. set
  7913. {
  7914. if ((this._ID != value))
  7915. {
  7916. this.OnIDChanging(value);
  7917. this.SendPropertyChanging();
  7918. this._ID = value;
  7919. this.SendPropertyChanged("ID");
  7920. this.OnIDChanged();
  7921. }
  7922. }
  7923. }
  7924. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WarehouseCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  7925. public string WarehouseCode
  7926. {
  7927. get
  7928. {
  7929. return this._WarehouseCode;
  7930. }
  7931. set
  7932. {
  7933. if ((this._WarehouseCode != value))
  7934. {
  7935. this.OnWarehouseCodeChanging(value);
  7936. this.SendPropertyChanging();
  7937. this._WarehouseCode = value;
  7938. this.SendPropertyChanged("WarehouseCode");
  7939. this.OnWarehouseCodeChanged();
  7940. }
  7941. }
  7942. }
  7943. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WarehouseName", DbType="NVarChar(100) NOT NULL", CanBeNull=false)]
  7944. public string WarehouseName
  7945. {
  7946. get
  7947. {
  7948. return this._WarehouseName;
  7949. }
  7950. set
  7951. {
  7952. if ((this._WarehouseName != value))
  7953. {
  7954. this.OnWarehouseNameChanging(value);
  7955. this.SendPropertyChanging();
  7956. this._WarehouseName = value;
  7957. this.SendPropertyChanged("WarehouseName");
  7958. this.OnWarehouseNameChanged();
  7959. }
  7960. }
  7961. }
  7962. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Enable", DbType="Bit NOT NULL")]
  7963. public bool Enable
  7964. {
  7965. get
  7966. {
  7967. return this._Enable;
  7968. }
  7969. set
  7970. {
  7971. if ((this._Enable != value))
  7972. {
  7973. this.OnEnableChanging(value);
  7974. this.SendPropertyChanging();
  7975. this._Enable = value;
  7976. this.SendPropertyChanged("Enable");
  7977. this.OnEnableChanged();
  7978. }
  7979. }
  7980. }
  7981. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchEnable", DbType="Bit NOT NULL")]
  7982. public bool BatchEnable
  7983. {
  7984. get
  7985. {
  7986. return this._BatchEnable;
  7987. }
  7988. set
  7989. {
  7990. if ((this._BatchEnable != value))
  7991. {
  7992. this.OnBatchEnableChanging(value);
  7993. this.SendPropertyChanging();
  7994. this._BatchEnable = value;
  7995. this.SendPropertyChanged("BatchEnable");
  7996. this.OnBatchEnableChanged();
  7997. }
  7998. }
  7999. }
  8000. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Asset", DbType="Bit NOT NULL")]
  8001. public bool Asset
  8002. {
  8003. get
  8004. {
  8005. return this._Asset;
  8006. }
  8007. set
  8008. {
  8009. if ((this._Asset != value))
  8010. {
  8011. this.OnAssetChanging(value);
  8012. this.SendPropertyChanging();
  8013. this._Asset = value;
  8014. this.SendPropertyChanged("Asset");
  8015. this.OnAssetChanged();
  8016. }
  8017. }
  8018. }
  8019. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Proxy", DbType="Bit NOT NULL")]
  8020. public bool Proxy
  8021. {
  8022. get
  8023. {
  8024. return this._Proxy;
  8025. }
  8026. set
  8027. {
  8028. if ((this._Proxy != value))
  8029. {
  8030. this.OnProxyChanging(value);
  8031. this.SendPropertyChanging();
  8032. this._Proxy = value;
  8033. this.SendPropertyChanged("Proxy");
  8034. this.OnProxyChanged();
  8035. }
  8036. }
  8037. }
  8038. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InCost", DbType="Bit NOT NULL")]
  8039. public bool InCost
  8040. {
  8041. get
  8042. {
  8043. return this._InCost;
  8044. }
  8045. set
  8046. {
  8047. if ((this._InCost != value))
  8048. {
  8049. this.OnInCostChanging(value);
  8050. this.SendPropertyChanging();
  8051. this._InCost = value;
  8052. this.SendPropertyChanged("InCost");
  8053. this.OnInCostChanged();
  8054. }
  8055. }
  8056. }
  8057. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8058. public string MUSER
  8059. {
  8060. get
  8061. {
  8062. return this._MUSER;
  8063. }
  8064. set
  8065. {
  8066. if ((this._MUSER != value))
  8067. {
  8068. this.OnMUSERChanging(value);
  8069. this.SendPropertyChanging();
  8070. this._MUSER = value;
  8071. this.SendPropertyChanged("MUSER");
  8072. this.OnMUSERChanged();
  8073. }
  8074. }
  8075. }
  8076. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50)")]
  8077. public string MUSERName
  8078. {
  8079. get
  8080. {
  8081. return this._MUSERName;
  8082. }
  8083. set
  8084. {
  8085. if ((this._MUSERName != value))
  8086. {
  8087. this.OnMUSERNameChanging(value);
  8088. this.SendPropertyChanging();
  8089. this._MUSERName = value;
  8090. this.SendPropertyChanged("MUSERName");
  8091. this.OnMUSERNameChanged();
  8092. }
  8093. }
  8094. }
  8095. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  8096. public System.DateTime MTIME
  8097. {
  8098. get
  8099. {
  8100. return this._MTIME;
  8101. }
  8102. set
  8103. {
  8104. if ((this._MTIME != value))
  8105. {
  8106. this.OnMTIMEChanging(value);
  8107. this.SendPropertyChanging();
  8108. this._MTIME = value;
  8109. this.SendPropertyChanged("MTIME");
  8110. this.OnMTIMEChanged();
  8111. }
  8112. }
  8113. }
  8114. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="VarChar(50) NOT NULL", CanBeNull=false)]
  8115. public string WorkPoint
  8116. {
  8117. get
  8118. {
  8119. return this._WorkPoint;
  8120. }
  8121. set
  8122. {
  8123. if ((this._WorkPoint != value))
  8124. {
  8125. this.OnWorkPointChanging(value);
  8126. this.SendPropertyChanging();
  8127. this._WorkPoint = value;
  8128. this.SendPropertyChanged("WorkPoint");
  8129. this.OnWorkPointChanged();
  8130. }
  8131. }
  8132. }
  8133. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  8134. public string EATTRIBUTE1
  8135. {
  8136. get
  8137. {
  8138. return this._EATTRIBUTE1;
  8139. }
  8140. set
  8141. {
  8142. if ((this._EATTRIBUTE1 != value))
  8143. {
  8144. this.OnEATTRIBUTE1Changing(value);
  8145. this.SendPropertyChanging();
  8146. this._EATTRIBUTE1 = value;
  8147. this.SendPropertyChanged("EATTRIBUTE1");
  8148. this.OnEATTRIBUTE1Changed();
  8149. }
  8150. }
  8151. }
  8152. public event PropertyChangingEventHandler PropertyChanging;
  8153. public event PropertyChangedEventHandler PropertyChanged;
  8154. protected virtual void SendPropertyChanging()
  8155. {
  8156. if ((this.PropertyChanging != null))
  8157. {
  8158. this.PropertyChanging(this, emptyChangingEventArgs);
  8159. }
  8160. }
  8161. protected virtual void SendPropertyChanged(String propertyName)
  8162. {
  8163. if ((this.PropertyChanged != null))
  8164. {
  8165. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  8166. }
  8167. }
  8168. }
  8169. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSOtherOut")]
  8170. public partial class ICSOtherOut : INotifyPropertyChanging, INotifyPropertyChanged
  8171. {
  8172. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  8173. private string _ID;
  8174. private string _OutCode;
  8175. private string _WHCode;
  8176. private string _Sequence;
  8177. private string _InvCode;
  8178. private decimal _Quantity;
  8179. private System.Nullable<decimal> _Amount;
  8180. private System.Nullable<decimal> _OutQuantity;
  8181. private string _Status;
  8182. private string _CreatePerson;
  8183. private System.DateTime _CreateDateTime;
  8184. private string _OutID;
  8185. private string _OutDetailID;
  8186. private string _TransferID;
  8187. private string _TransferDetailID;
  8188. private string _ExtensionID;
  8189. private string _MUSER;
  8190. private string _MUSERName;
  8191. private System.DateTime _MTIME;
  8192. private string _WorkPoint;
  8193. private string _EATTRIBUTE1;
  8194. #region 可扩展性方法定义
  8195. partial void OnLoaded();
  8196. partial void OnValidate(System.Data.Linq.ChangeAction action);
  8197. partial void OnCreated();
  8198. partial void OnIDChanging(string value);
  8199. partial void OnIDChanged();
  8200. partial void OnOutCodeChanging(string value);
  8201. partial void OnOutCodeChanged();
  8202. partial void OnWHCodeChanging(string value);
  8203. partial void OnWHCodeChanged();
  8204. partial void OnSequenceChanging(string value);
  8205. partial void OnSequenceChanged();
  8206. partial void OnInvCodeChanging(string value);
  8207. partial void OnInvCodeChanged();
  8208. partial void OnQuantityChanging(decimal value);
  8209. partial void OnQuantityChanged();
  8210. partial void OnAmountChanging(System.Nullable<decimal> value);
  8211. partial void OnAmountChanged();
  8212. partial void OnOutQuantityChanging(System.Nullable<decimal> value);
  8213. partial void OnOutQuantityChanged();
  8214. partial void OnStatusChanging(string value);
  8215. partial void OnStatusChanged();
  8216. partial void OnCreatePersonChanging(string value);
  8217. partial void OnCreatePersonChanged();
  8218. partial void OnCreateDateTimeChanging(System.DateTime value);
  8219. partial void OnCreateDateTimeChanged();
  8220. partial void OnOutIDChanging(string value);
  8221. partial void OnOutIDChanged();
  8222. partial void OnOutDetailIDChanging(string value);
  8223. partial void OnOutDetailIDChanged();
  8224. partial void OnTransferIDChanging(string value);
  8225. partial void OnTransferIDChanged();
  8226. partial void OnTransferDetailIDChanging(string value);
  8227. partial void OnTransferDetailIDChanged();
  8228. partial void OnExtensionIDChanging(string value);
  8229. partial void OnExtensionIDChanged();
  8230. partial void OnMUSERChanging(string value);
  8231. partial void OnMUSERChanged();
  8232. partial void OnMUSERNameChanging(string value);
  8233. partial void OnMUSERNameChanged();
  8234. partial void OnMTIMEChanging(System.DateTime value);
  8235. partial void OnMTIMEChanged();
  8236. partial void OnWorkPointChanging(string value);
  8237. partial void OnWorkPointChanged();
  8238. partial void OnEATTRIBUTE1Changing(string value);
  8239. partial void OnEATTRIBUTE1Changed();
  8240. #endregion
  8241. public ICSOtherOut()
  8242. {
  8243. OnCreated();
  8244. }
  8245. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  8246. public string ID
  8247. {
  8248. get
  8249. {
  8250. return this._ID;
  8251. }
  8252. set
  8253. {
  8254. if ((this._ID != value))
  8255. {
  8256. this.OnIDChanging(value);
  8257. this.SendPropertyChanging();
  8258. this._ID = value;
  8259. this.SendPropertyChanged("ID");
  8260. this.OnIDChanged();
  8261. }
  8262. }
  8263. }
  8264. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8265. public string OutCode
  8266. {
  8267. get
  8268. {
  8269. return this._OutCode;
  8270. }
  8271. set
  8272. {
  8273. if ((this._OutCode != value))
  8274. {
  8275. this.OnOutCodeChanging(value);
  8276. this.SendPropertyChanging();
  8277. this._OutCode = value;
  8278. this.SendPropertyChanged("OutCode");
  8279. this.OnOutCodeChanged();
  8280. }
  8281. }
  8282. }
  8283. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8284. public string WHCode
  8285. {
  8286. get
  8287. {
  8288. return this._WHCode;
  8289. }
  8290. set
  8291. {
  8292. if ((this._WHCode != value))
  8293. {
  8294. this.OnWHCodeChanging(value);
  8295. this.SendPropertyChanging();
  8296. this._WHCode = value;
  8297. this.SendPropertyChanged("WHCode");
  8298. this.OnWHCodeChanged();
  8299. }
  8300. }
  8301. }
  8302. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8303. public string Sequence
  8304. {
  8305. get
  8306. {
  8307. return this._Sequence;
  8308. }
  8309. set
  8310. {
  8311. if ((this._Sequence != value))
  8312. {
  8313. this.OnSequenceChanging(value);
  8314. this.SendPropertyChanging();
  8315. this._Sequence = value;
  8316. this.SendPropertyChanged("Sequence");
  8317. this.OnSequenceChanged();
  8318. }
  8319. }
  8320. }
  8321. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8322. public string InvCode
  8323. {
  8324. get
  8325. {
  8326. return this._InvCode;
  8327. }
  8328. set
  8329. {
  8330. if ((this._InvCode != value))
  8331. {
  8332. this.OnInvCodeChanging(value);
  8333. this.SendPropertyChanging();
  8334. this._InvCode = value;
  8335. this.SendPropertyChanged("InvCode");
  8336. this.OnInvCodeChanged();
  8337. }
  8338. }
  8339. }
  8340. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,3) NOT NULL")]
  8341. public decimal Quantity
  8342. {
  8343. get
  8344. {
  8345. return this._Quantity;
  8346. }
  8347. set
  8348. {
  8349. if ((this._Quantity != value))
  8350. {
  8351. this.OnQuantityChanging(value);
  8352. this.SendPropertyChanging();
  8353. this._Quantity = value;
  8354. this.SendPropertyChanged("Quantity");
  8355. this.OnQuantityChanged();
  8356. }
  8357. }
  8358. }
  8359. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  8360. public System.Nullable<decimal> Amount
  8361. {
  8362. get
  8363. {
  8364. return this._Amount;
  8365. }
  8366. set
  8367. {
  8368. if ((this._Amount != value))
  8369. {
  8370. this.OnAmountChanging(value);
  8371. this.SendPropertyChanging();
  8372. this._Amount = value;
  8373. this.SendPropertyChanged("Amount");
  8374. this.OnAmountChanged();
  8375. }
  8376. }
  8377. }
  8378. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutQuantity", DbType="Decimal(18,2)")]
  8379. public System.Nullable<decimal> OutQuantity
  8380. {
  8381. get
  8382. {
  8383. return this._OutQuantity;
  8384. }
  8385. set
  8386. {
  8387. if ((this._OutQuantity != value))
  8388. {
  8389. this.OnOutQuantityChanging(value);
  8390. this.SendPropertyChanging();
  8391. this._OutQuantity = value;
  8392. this.SendPropertyChanged("OutQuantity");
  8393. this.OnOutQuantityChanged();
  8394. }
  8395. }
  8396. }
  8397. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(10) NOT NULL", CanBeNull=false)]
  8398. public string Status
  8399. {
  8400. get
  8401. {
  8402. return this._Status;
  8403. }
  8404. set
  8405. {
  8406. if ((this._Status != value))
  8407. {
  8408. this.OnStatusChanging(value);
  8409. this.SendPropertyChanging();
  8410. this._Status = value;
  8411. this.SendPropertyChanged("Status");
  8412. this.OnStatusChanged();
  8413. }
  8414. }
  8415. }
  8416. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8417. public string CreatePerson
  8418. {
  8419. get
  8420. {
  8421. return this._CreatePerson;
  8422. }
  8423. set
  8424. {
  8425. if ((this._CreatePerson != value))
  8426. {
  8427. this.OnCreatePersonChanging(value);
  8428. this.SendPropertyChanging();
  8429. this._CreatePerson = value;
  8430. this.SendPropertyChanged("CreatePerson");
  8431. this.OnCreatePersonChanged();
  8432. }
  8433. }
  8434. }
  8435. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
  8436. public System.DateTime CreateDateTime
  8437. {
  8438. get
  8439. {
  8440. return this._CreateDateTime;
  8441. }
  8442. set
  8443. {
  8444. if ((this._CreateDateTime != value))
  8445. {
  8446. this.OnCreateDateTimeChanging(value);
  8447. this.SendPropertyChanging();
  8448. this._CreateDateTime = value;
  8449. this.SendPropertyChanged("CreateDateTime");
  8450. this.OnCreateDateTimeChanged();
  8451. }
  8452. }
  8453. }
  8454. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8455. public string OutID
  8456. {
  8457. get
  8458. {
  8459. return this._OutID;
  8460. }
  8461. set
  8462. {
  8463. if ((this._OutID != value))
  8464. {
  8465. this.OnOutIDChanging(value);
  8466. this.SendPropertyChanging();
  8467. this._OutID = value;
  8468. this.SendPropertyChanged("OutID");
  8469. this.OnOutIDChanged();
  8470. }
  8471. }
  8472. }
  8473. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutDetailID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8474. public string OutDetailID
  8475. {
  8476. get
  8477. {
  8478. return this._OutDetailID;
  8479. }
  8480. set
  8481. {
  8482. if ((this._OutDetailID != value))
  8483. {
  8484. this.OnOutDetailIDChanging(value);
  8485. this.SendPropertyChanging();
  8486. this._OutDetailID = value;
  8487. this.SendPropertyChanged("OutDetailID");
  8488. this.OnOutDetailIDChanged();
  8489. }
  8490. }
  8491. }
  8492. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferID", DbType="NVarChar(50)")]
  8493. public string TransferID
  8494. {
  8495. get
  8496. {
  8497. return this._TransferID;
  8498. }
  8499. set
  8500. {
  8501. if ((this._TransferID != value))
  8502. {
  8503. this.OnTransferIDChanging(value);
  8504. this.SendPropertyChanging();
  8505. this._TransferID = value;
  8506. this.SendPropertyChanged("TransferID");
  8507. this.OnTransferIDChanged();
  8508. }
  8509. }
  8510. }
  8511. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferDetailID", DbType="NVarChar(50)")]
  8512. public string TransferDetailID
  8513. {
  8514. get
  8515. {
  8516. return this._TransferDetailID;
  8517. }
  8518. set
  8519. {
  8520. if ((this._TransferDetailID != value))
  8521. {
  8522. this.OnTransferDetailIDChanging(value);
  8523. this.SendPropertyChanging();
  8524. this._TransferDetailID = value;
  8525. this.SendPropertyChanged("TransferDetailID");
  8526. this.OnTransferDetailIDChanged();
  8527. }
  8528. }
  8529. }
  8530. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8531. public string ExtensionID
  8532. {
  8533. get
  8534. {
  8535. return this._ExtensionID;
  8536. }
  8537. set
  8538. {
  8539. if ((this._ExtensionID != value))
  8540. {
  8541. this.OnExtensionIDChanging(value);
  8542. this.SendPropertyChanging();
  8543. this._ExtensionID = value;
  8544. this.SendPropertyChanged("ExtensionID");
  8545. this.OnExtensionIDChanged();
  8546. }
  8547. }
  8548. }
  8549. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8550. public string MUSER
  8551. {
  8552. get
  8553. {
  8554. return this._MUSER;
  8555. }
  8556. set
  8557. {
  8558. if ((this._MUSER != value))
  8559. {
  8560. this.OnMUSERChanging(value);
  8561. this.SendPropertyChanging();
  8562. this._MUSER = value;
  8563. this.SendPropertyChanged("MUSER");
  8564. this.OnMUSERChanged();
  8565. }
  8566. }
  8567. }
  8568. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8569. public string MUSERName
  8570. {
  8571. get
  8572. {
  8573. return this._MUSERName;
  8574. }
  8575. set
  8576. {
  8577. if ((this._MUSERName != value))
  8578. {
  8579. this.OnMUSERNameChanging(value);
  8580. this.SendPropertyChanging();
  8581. this._MUSERName = value;
  8582. this.SendPropertyChanged("MUSERName");
  8583. this.OnMUSERNameChanged();
  8584. }
  8585. }
  8586. }
  8587. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  8588. public System.DateTime MTIME
  8589. {
  8590. get
  8591. {
  8592. return this._MTIME;
  8593. }
  8594. set
  8595. {
  8596. if ((this._MTIME != value))
  8597. {
  8598. this.OnMTIMEChanging(value);
  8599. this.SendPropertyChanging();
  8600. this._MTIME = value;
  8601. this.SendPropertyChanged("MTIME");
  8602. this.OnMTIMEChanged();
  8603. }
  8604. }
  8605. }
  8606. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8607. public string WorkPoint
  8608. {
  8609. get
  8610. {
  8611. return this._WorkPoint;
  8612. }
  8613. set
  8614. {
  8615. if ((this._WorkPoint != value))
  8616. {
  8617. this.OnWorkPointChanging(value);
  8618. this.SendPropertyChanging();
  8619. this._WorkPoint = value;
  8620. this.SendPropertyChanged("WorkPoint");
  8621. this.OnWorkPointChanged();
  8622. }
  8623. }
  8624. }
  8625. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  8626. public string EATTRIBUTE1
  8627. {
  8628. get
  8629. {
  8630. return this._EATTRIBUTE1;
  8631. }
  8632. set
  8633. {
  8634. if ((this._EATTRIBUTE1 != value))
  8635. {
  8636. this.OnEATTRIBUTE1Changing(value);
  8637. this.SendPropertyChanging();
  8638. this._EATTRIBUTE1 = value;
  8639. this.SendPropertyChanged("EATTRIBUTE1");
  8640. this.OnEATTRIBUTE1Changed();
  8641. }
  8642. }
  8643. }
  8644. public event PropertyChangingEventHandler PropertyChanging;
  8645. public event PropertyChangedEventHandler PropertyChanged;
  8646. protected virtual void SendPropertyChanging()
  8647. {
  8648. if ((this.PropertyChanging != null))
  8649. {
  8650. this.PropertyChanging(this, emptyChangingEventArgs);
  8651. }
  8652. }
  8653. protected virtual void SendPropertyChanged(String propertyName)
  8654. {
  8655. if ((this.PropertyChanged != null))
  8656. {
  8657. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  8658. }
  8659. }
  8660. }
  8661. [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ICSOtherIn")]
  8662. public partial class ICSOtherIn : INotifyPropertyChanging, INotifyPropertyChanged
  8663. {
  8664. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  8665. private string _ID;
  8666. private string _InCode;
  8667. private string _WHCode;
  8668. private string _Sequence;
  8669. private string _InvCode;
  8670. private decimal _Quantity;
  8671. private System.Nullable<decimal> _Amount;
  8672. private System.Nullable<decimal> _InQuantity;
  8673. private string _Status;
  8674. private string _CreatePerson;
  8675. private System.DateTime _CreateDateTime;
  8676. private string _InID;
  8677. private string _InDetailID;
  8678. private string _TransferID;
  8679. private string _TransferDetailID;
  8680. private string _ExtensionID;
  8681. private string _MUSER;
  8682. private string _MUSERName;
  8683. private System.DateTime _MTIME;
  8684. private string _WorkPoint;
  8685. private string _EATTRIBUTE1;
  8686. #region 可扩展性方法定义
  8687. partial void OnLoaded();
  8688. partial void OnValidate(System.Data.Linq.ChangeAction action);
  8689. partial void OnCreated();
  8690. partial void OnIDChanging(string value);
  8691. partial void OnIDChanged();
  8692. partial void OnInCodeChanging(string value);
  8693. partial void OnInCodeChanged();
  8694. partial void OnWHCodeChanging(string value);
  8695. partial void OnWHCodeChanged();
  8696. partial void OnSequenceChanging(string value);
  8697. partial void OnSequenceChanged();
  8698. partial void OnInvCodeChanging(string value);
  8699. partial void OnInvCodeChanged();
  8700. partial void OnQuantityChanging(decimal value);
  8701. partial void OnQuantityChanged();
  8702. partial void OnAmountChanging(System.Nullable<decimal> value);
  8703. partial void OnAmountChanged();
  8704. partial void OnInQuantityChanging(System.Nullable<decimal> value);
  8705. partial void OnInQuantityChanged();
  8706. partial void OnStatusChanging(string value);
  8707. partial void OnStatusChanged();
  8708. partial void OnCreatePersonChanging(string value);
  8709. partial void OnCreatePersonChanged();
  8710. partial void OnCreateDateTimeChanging(System.DateTime value);
  8711. partial void OnCreateDateTimeChanged();
  8712. partial void OnInIDChanging(string value);
  8713. partial void OnInIDChanged();
  8714. partial void OnInDetailIDChanging(string value);
  8715. partial void OnInDetailIDChanged();
  8716. partial void OnTransferIDChanging(string value);
  8717. partial void OnTransferIDChanged();
  8718. partial void OnTransferDetailIDChanging(string value);
  8719. partial void OnTransferDetailIDChanged();
  8720. partial void OnExtensionIDChanging(string value);
  8721. partial void OnExtensionIDChanged();
  8722. partial void OnMUSERChanging(string value);
  8723. partial void OnMUSERChanged();
  8724. partial void OnMUSERNameChanging(string value);
  8725. partial void OnMUSERNameChanged();
  8726. partial void OnMTIMEChanging(System.DateTime value);
  8727. partial void OnMTIMEChanged();
  8728. partial void OnWorkPointChanging(string value);
  8729. partial void OnWorkPointChanged();
  8730. partial void OnEATTRIBUTE1Changing(string value);
  8731. partial void OnEATTRIBUTE1Changed();
  8732. #endregion
  8733. public ICSOtherIn()
  8734. {
  8735. OnCreated();
  8736. }
  8737. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
  8738. public string ID
  8739. {
  8740. get
  8741. {
  8742. return this._ID;
  8743. }
  8744. set
  8745. {
  8746. if ((this._ID != value))
  8747. {
  8748. this.OnIDChanging(value);
  8749. this.SendPropertyChanging();
  8750. this._ID = value;
  8751. this.SendPropertyChanged("ID");
  8752. this.OnIDChanged();
  8753. }
  8754. }
  8755. }
  8756. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8757. public string InCode
  8758. {
  8759. get
  8760. {
  8761. return this._InCode;
  8762. }
  8763. set
  8764. {
  8765. if ((this._InCode != value))
  8766. {
  8767. this.OnInCodeChanging(value);
  8768. this.SendPropertyChanging();
  8769. this._InCode = value;
  8770. this.SendPropertyChanged("InCode");
  8771. this.OnInCodeChanged();
  8772. }
  8773. }
  8774. }
  8775. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WHCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8776. public string WHCode
  8777. {
  8778. get
  8779. {
  8780. return this._WHCode;
  8781. }
  8782. set
  8783. {
  8784. if ((this._WHCode != value))
  8785. {
  8786. this.OnWHCodeChanging(value);
  8787. this.SendPropertyChanging();
  8788. this._WHCode = value;
  8789. this.SendPropertyChanged("WHCode");
  8790. this.OnWHCodeChanged();
  8791. }
  8792. }
  8793. }
  8794. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sequence", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8795. public string Sequence
  8796. {
  8797. get
  8798. {
  8799. return this._Sequence;
  8800. }
  8801. set
  8802. {
  8803. if ((this._Sequence != value))
  8804. {
  8805. this.OnSequenceChanging(value);
  8806. this.SendPropertyChanging();
  8807. this._Sequence = value;
  8808. this.SendPropertyChanged("Sequence");
  8809. this.OnSequenceChanged();
  8810. }
  8811. }
  8812. }
  8813. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8814. public string InvCode
  8815. {
  8816. get
  8817. {
  8818. return this._InvCode;
  8819. }
  8820. set
  8821. {
  8822. if ((this._InvCode != value))
  8823. {
  8824. this.OnInvCodeChanging(value);
  8825. this.SendPropertyChanging();
  8826. this._InvCode = value;
  8827. this.SendPropertyChanged("InvCode");
  8828. this.OnInvCodeChanged();
  8829. }
  8830. }
  8831. }
  8832. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,3) NOT NULL")]
  8833. public decimal Quantity
  8834. {
  8835. get
  8836. {
  8837. return this._Quantity;
  8838. }
  8839. set
  8840. {
  8841. if ((this._Quantity != value))
  8842. {
  8843. this.OnQuantityChanging(value);
  8844. this.SendPropertyChanging();
  8845. this._Quantity = value;
  8846. this.SendPropertyChanged("Quantity");
  8847. this.OnQuantityChanged();
  8848. }
  8849. }
  8850. }
  8851. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,6)")]
  8852. public System.Nullable<decimal> Amount
  8853. {
  8854. get
  8855. {
  8856. return this._Amount;
  8857. }
  8858. set
  8859. {
  8860. if ((this._Amount != value))
  8861. {
  8862. this.OnAmountChanging(value);
  8863. this.SendPropertyChanging();
  8864. this._Amount = value;
  8865. this.SendPropertyChanged("Amount");
  8866. this.OnAmountChanged();
  8867. }
  8868. }
  8869. }
  8870. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InQuantity", DbType="Decimal(18,2)")]
  8871. public System.Nullable<decimal> InQuantity
  8872. {
  8873. get
  8874. {
  8875. return this._InQuantity;
  8876. }
  8877. set
  8878. {
  8879. if ((this._InQuantity != value))
  8880. {
  8881. this.OnInQuantityChanging(value);
  8882. this.SendPropertyChanging();
  8883. this._InQuantity = value;
  8884. this.SendPropertyChanged("InQuantity");
  8885. this.OnInQuantityChanged();
  8886. }
  8887. }
  8888. }
  8889. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NVarChar(10) NOT NULL", CanBeNull=false)]
  8890. public string Status
  8891. {
  8892. get
  8893. {
  8894. return this._Status;
  8895. }
  8896. set
  8897. {
  8898. if ((this._Status != value))
  8899. {
  8900. this.OnStatusChanging(value);
  8901. this.SendPropertyChanging();
  8902. this._Status = value;
  8903. this.SendPropertyChanged("Status");
  8904. this.OnStatusChanged();
  8905. }
  8906. }
  8907. }
  8908. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatePerson", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8909. public string CreatePerson
  8910. {
  8911. get
  8912. {
  8913. return this._CreatePerson;
  8914. }
  8915. set
  8916. {
  8917. if ((this._CreatePerson != value))
  8918. {
  8919. this.OnCreatePersonChanging(value);
  8920. this.SendPropertyChanging();
  8921. this._CreatePerson = value;
  8922. this.SendPropertyChanged("CreatePerson");
  8923. this.OnCreatePersonChanged();
  8924. }
  8925. }
  8926. }
  8927. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDateTime", DbType="DateTime NOT NULL")]
  8928. public System.DateTime CreateDateTime
  8929. {
  8930. get
  8931. {
  8932. return this._CreateDateTime;
  8933. }
  8934. set
  8935. {
  8936. if ((this._CreateDateTime != value))
  8937. {
  8938. this.OnCreateDateTimeChanging(value);
  8939. this.SendPropertyChanging();
  8940. this._CreateDateTime = value;
  8941. this.SendPropertyChanged("CreateDateTime");
  8942. this.OnCreateDateTimeChanged();
  8943. }
  8944. }
  8945. }
  8946. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8947. public string InID
  8948. {
  8949. get
  8950. {
  8951. return this._InID;
  8952. }
  8953. set
  8954. {
  8955. if ((this._InID != value))
  8956. {
  8957. this.OnInIDChanging(value);
  8958. this.SendPropertyChanging();
  8959. this._InID = value;
  8960. this.SendPropertyChanged("InID");
  8961. this.OnInIDChanged();
  8962. }
  8963. }
  8964. }
  8965. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InDetailID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  8966. public string InDetailID
  8967. {
  8968. get
  8969. {
  8970. return this._InDetailID;
  8971. }
  8972. set
  8973. {
  8974. if ((this._InDetailID != value))
  8975. {
  8976. this.OnInDetailIDChanging(value);
  8977. this.SendPropertyChanging();
  8978. this._InDetailID = value;
  8979. this.SendPropertyChanged("InDetailID");
  8980. this.OnInDetailIDChanged();
  8981. }
  8982. }
  8983. }
  8984. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferID", DbType="NVarChar(50)")]
  8985. public string TransferID
  8986. {
  8987. get
  8988. {
  8989. return this._TransferID;
  8990. }
  8991. set
  8992. {
  8993. if ((this._TransferID != value))
  8994. {
  8995. this.OnTransferIDChanging(value);
  8996. this.SendPropertyChanging();
  8997. this._TransferID = value;
  8998. this.SendPropertyChanged("TransferID");
  8999. this.OnTransferIDChanged();
  9000. }
  9001. }
  9002. }
  9003. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransferDetailID", DbType="NVarChar(50)")]
  9004. public string TransferDetailID
  9005. {
  9006. get
  9007. {
  9008. return this._TransferDetailID;
  9009. }
  9010. set
  9011. {
  9012. if ((this._TransferDetailID != value))
  9013. {
  9014. this.OnTransferDetailIDChanging(value);
  9015. this.SendPropertyChanging();
  9016. this._TransferDetailID = value;
  9017. this.SendPropertyChanged("TransferDetailID");
  9018. this.OnTransferDetailIDChanged();
  9019. }
  9020. }
  9021. }
  9022. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtensionID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  9023. public string ExtensionID
  9024. {
  9025. get
  9026. {
  9027. return this._ExtensionID;
  9028. }
  9029. set
  9030. {
  9031. if ((this._ExtensionID != value))
  9032. {
  9033. this.OnExtensionIDChanging(value);
  9034. this.SendPropertyChanging();
  9035. this._ExtensionID = value;
  9036. this.SendPropertyChanged("ExtensionID");
  9037. this.OnExtensionIDChanged();
  9038. }
  9039. }
  9040. }
  9041. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSER", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  9042. public string MUSER
  9043. {
  9044. get
  9045. {
  9046. return this._MUSER;
  9047. }
  9048. set
  9049. {
  9050. if ((this._MUSER != value))
  9051. {
  9052. this.OnMUSERChanging(value);
  9053. this.SendPropertyChanging();
  9054. this._MUSER = value;
  9055. this.SendPropertyChanged("MUSER");
  9056. this.OnMUSERChanged();
  9057. }
  9058. }
  9059. }
  9060. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MUSERName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  9061. public string MUSERName
  9062. {
  9063. get
  9064. {
  9065. return this._MUSERName;
  9066. }
  9067. set
  9068. {
  9069. if ((this._MUSERName != value))
  9070. {
  9071. this.OnMUSERNameChanging(value);
  9072. this.SendPropertyChanging();
  9073. this._MUSERName = value;
  9074. this.SendPropertyChanged("MUSERName");
  9075. this.OnMUSERNameChanged();
  9076. }
  9077. }
  9078. }
  9079. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIME", DbType="DateTime NOT NULL")]
  9080. public System.DateTime MTIME
  9081. {
  9082. get
  9083. {
  9084. return this._MTIME;
  9085. }
  9086. set
  9087. {
  9088. if ((this._MTIME != value))
  9089. {
  9090. this.OnMTIMEChanging(value);
  9091. this.SendPropertyChanging();
  9092. this._MTIME = value;
  9093. this.SendPropertyChanged("MTIME");
  9094. this.OnMTIMEChanged();
  9095. }
  9096. }
  9097. }
  9098. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPoint", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
  9099. public string WorkPoint
  9100. {
  9101. get
  9102. {
  9103. return this._WorkPoint;
  9104. }
  9105. set
  9106. {
  9107. if ((this._WorkPoint != value))
  9108. {
  9109. this.OnWorkPointChanging(value);
  9110. this.SendPropertyChanging();
  9111. this._WorkPoint = value;
  9112. this.SendPropertyChanged("WorkPoint");
  9113. this.OnWorkPointChanged();
  9114. }
  9115. }
  9116. }
  9117. [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EATTRIBUTE1", DbType="NVarChar(50)")]
  9118. public string EATTRIBUTE1
  9119. {
  9120. get
  9121. {
  9122. return this._EATTRIBUTE1;
  9123. }
  9124. set
  9125. {
  9126. if ((this._EATTRIBUTE1 != value))
  9127. {
  9128. this.OnEATTRIBUTE1Changing(value);
  9129. this.SendPropertyChanging();
  9130. this._EATTRIBUTE1 = value;
  9131. this.SendPropertyChanged("EATTRIBUTE1");
  9132. this.OnEATTRIBUTE1Changed();
  9133. }
  9134. }
  9135. }
  9136. public event PropertyChangingEventHandler PropertyChanging;
  9137. public event PropertyChangedEventHandler PropertyChanged;
  9138. protected virtual void SendPropertyChanging()
  9139. {
  9140. if ((this.PropertyChanging != null))
  9141. {
  9142. this.PropertyChanging(this, emptyChangingEventArgs);
  9143. }
  9144. }
  9145. protected virtual void SendPropertyChanged(String propertyName)
  9146. {
  9147. if ((this.PropertyChanged != null))
  9148. {
  9149. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  9150. }
  9151. }
  9152. }
  9153. }
  9154. #pragma warning restore 1591