纽威

14177 lines
329 KiB

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