纽威
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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