Switch warehouse matching to use IDs
This commit is contained in:
@@ -0,0 +1,85 @@
|
||||
using System;
|
||||
using System.Data.Linq.Mapping;
|
||||
|
||||
namespace Model
|
||||
{
|
||||
public partial class Tw_InOutPlanMaster
|
||||
{
|
||||
private string _WarehouseId;
|
||||
|
||||
[Column(Storage = "_WarehouseId", DbType = "NVarChar(50)")]
|
||||
public string WarehouseId
|
||||
{
|
||||
get { return this._WarehouseId; }
|
||||
set
|
||||
{
|
||||
if (this._WarehouseId != value)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
this._WarehouseId = value;
|
||||
this.SendPropertyChanged("WarehouseId");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public partial class Tw_InputMaster
|
||||
{
|
||||
private string _WarehouseId;
|
||||
|
||||
[Column(Storage = "_WarehouseId", DbType = "NVarChar(50)")]
|
||||
public string WarehouseId
|
||||
{
|
||||
get { return this._WarehouseId; }
|
||||
set
|
||||
{
|
||||
if (this._WarehouseId != value)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
this._WarehouseId = value;
|
||||
this.SendPropertyChanged("WarehouseId");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public partial class Tw_OutputMaster
|
||||
{
|
||||
private string _WarehouseId;
|
||||
|
||||
[Column(Storage = "_WarehouseId", DbType = "NVarChar(50)")]
|
||||
public string WarehouseId
|
||||
{
|
||||
get { return this._WarehouseId; }
|
||||
set
|
||||
{
|
||||
if (this._WarehouseId != value)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
this._WarehouseId = value;
|
||||
this.SendPropertyChanged("WarehouseId");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public partial class Tw_MaterialStock
|
||||
{
|
||||
private string _WarehouseId;
|
||||
|
||||
[Column(Storage = "_WarehouseId", DbType = "NVarChar(50)")]
|
||||
public string WarehouseId
|
||||
{
|
||||
get { return this._WarehouseId; }
|
||||
set
|
||||
{
|
||||
if (this._WarehouseId != value)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
this._WarehouseId = value;
|
||||
this.SendPropertyChanged("WarehouseId");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user