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

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