纽威

14418 lines
335 KiB

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