纽威

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