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

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