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

11893 lines
275 KiB

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