移交尾项,修改列

This commit is contained in:
2024-07-27 17:34:57 +08:00
parent 2c1cd6b767
commit 49dfe083bd
10 changed files with 195 additions and 194 deletions
+78 -147
View File
@@ -62027,8 +62027,6 @@ namespace Model
private EntityRef<Base_Project> _Base_Project;
private EntityRef<Technique_CheckItemSet> _Technique_CheckItemSet;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -62080,7 +62078,6 @@ namespace Model
public Check_CheckSpecial()
{
this._Base_Project = default(EntityRef<Base_Project>);
this._Technique_CheckItemSet = default(EntityRef<Technique_CheckItemSet>);
OnCreated();
}
@@ -62399,10 +62396,6 @@ namespace Model
{
if ((this._CheckItemSetId != value))
{
if (this._Technique_CheckItemSet.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnCheckItemSetIdChanging(value);
this.SendPropertyChanging();
this._CheckItemSetId = value;
@@ -62546,40 +62539,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Check_CheckSpecial_Technique_CheckItemSet", Storage="_Technique_CheckItemSet", ThisKey="CheckItemSetId", OtherKey="CheckItemSetId", IsForeignKey=true)]
public Technique_CheckItemSet Technique_CheckItemSet
{
get
{
return this._Technique_CheckItemSet.Entity;
}
set
{
Technique_CheckItemSet previousValue = this._Technique_CheckItemSet.Entity;
if (((previousValue != value)
|| (this._Technique_CheckItemSet.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Technique_CheckItemSet.Entity = null;
previousValue.Check_CheckSpecial.Remove(this);
}
this._Technique_CheckItemSet.Entity = value;
if ((value != null))
{
value.Check_CheckSpecial.Add(this);
this._CheckItemSetId = value.CheckItemSetId;
}
else
{
this._CheckItemSetId = default(string);
}
this.SendPropertyChanged("Technique_CheckItemSet");
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -353474,7 +353433,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuName", DbType="NVarChar(50)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuName", DbType="NVarChar(200)")]
public string MenuName
{
get
@@ -370540,8 +370499,6 @@ namespace Model
private System.Nullable<bool> _IsBuiltIn;
private EntitySet<Check_CheckSpecial> _Check_CheckSpecial;
private EntitySet<Technique_CheckItemDetail> _Technique_CheckItemDetail;
#region
@@ -370568,7 +370525,6 @@ namespace Model
public Technique_CheckItemSet()
{
this._Check_CheckSpecial = new EntitySet<Check_CheckSpecial>(new Action<Check_CheckSpecial>(this.attach_Check_CheckSpecial), new Action<Check_CheckSpecial>(this.detach_Check_CheckSpecial));
this._Technique_CheckItemDetail = new EntitySet<Technique_CheckItemDetail>(new Action<Technique_CheckItemDetail>(this.attach_Technique_CheckItemDetail), new Action<Technique_CheckItemDetail>(this.detach_Technique_CheckItemDetail));
OnCreated();
}
@@ -370733,19 +370689,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Check_CheckSpecial_Technique_CheckItemSet", Storage="_Check_CheckSpecial", ThisKey="CheckItemSetId", OtherKey="CheckItemSetId", DeleteRule="NO ACTION")]
public EntitySet<Check_CheckSpecial> Check_CheckSpecial
{
get
{
return this._Check_CheckSpecial;
}
set
{
this._Check_CheckSpecial.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Technique_CheckItemDetail_Technique_CheckItemSet", Storage="_Technique_CheckItemDetail", ThisKey="CheckItemSetId", OtherKey="CheckItemSetId", DeleteRule="NO ACTION")]
public EntitySet<Technique_CheckItemDetail> Technique_CheckItemDetail
{
@@ -370779,18 +370722,6 @@ namespace Model
}
}
private void attach_Check_CheckSpecial(Check_CheckSpecial entity)
{
this.SendPropertyChanging();
entity.Technique_CheckItemSet = this;
}
private void detach_Check_CheckSpecial(Check_CheckSpecial entity)
{
this.SendPropertyChanging();
entity.Technique_CheckItemSet = null;
}
private void attach_Technique_CheckItemDetail(Technique_CheckItemDetail entity)
{
this.SendPropertyChanging();
@@ -394352,12 +394283,8 @@ namespace Model
private string _Comments;
private System.Nullable<long> _Num_NO;
private string _System_No;
private string _Sub_Sys_No;
private string _Cat;
private string _Raised_By;
@@ -394368,7 +394295,7 @@ namespace Model
private System.Nullable<bool> _IsEng;
private System.Nullable<bool> _IsMatI;
private string _IsMatI;
private string _Punch_Type;
@@ -394378,8 +394305,6 @@ namespace Model
private string _PIC_WUH;
private string _Correction_Action;
private System.Nullable<System.DateTime> _Actual_Date;
private string _Cleared_By;
@@ -394398,6 +394323,12 @@ namespace Model
private string _Remark;
private string _Sub_Sys_No;
private string _Num_NO;
private string _Correction_Action;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -394434,12 +394365,8 @@ namespace Model
partial void OnPUNCH_ITEM_STATUSChanged();
partial void OnCommentsChanging(string value);
partial void OnCommentsChanged();
partial void OnNum_NOChanging(System.Nullable<long> value);
partial void OnNum_NOChanged();
partial void OnSystem_NoChanging(string value);
partial void OnSystem_NoChanged();
partial void OnSub_Sys_NoChanging(string value);
partial void OnSub_Sys_NoChanged();
partial void OnCatChanging(string value);
partial void OnCatChanged();
partial void OnRaised_ByChanging(string value);
@@ -394450,7 +394377,7 @@ namespace Model
partial void OnDiscChanged();
partial void OnIsEngChanging(System.Nullable<bool> value);
partial void OnIsEngChanged();
partial void OnIsMatIChanging(System.Nullable<bool> value);
partial void OnIsMatIChanging(string value);
partial void OnIsMatIChanged();
partial void OnPunch_TypeChanging(string value);
partial void OnPunch_TypeChanged();
@@ -394460,8 +394387,6 @@ namespace Model
partial void OnPICChanged();
partial void OnPIC_WUHChanging(string value);
partial void OnPIC_WUHChanged();
partial void OnCorrection_ActionChanging(string value);
partial void OnCorrection_ActionChanged();
partial void OnActual_DateChanging(System.Nullable<System.DateTime> value);
partial void OnActual_DateChanged();
partial void OnCleared_ByChanging(string value);
@@ -394480,6 +394405,12 @@ namespace Model
partial void OnStatusChanged();
partial void OnRemarkChanging(string value);
partial void OnRemarkChanged();
partial void OnSub_Sys_NoChanging(string value);
partial void OnSub_Sys_NoChanged();
partial void OnNum_NOChanging(string value);
partial void OnNum_NOChanged();
partial void OnCorrection_ActionChanging(string value);
partial void OnCorrection_ActionChanged();
#endregion
public Transfer_PunchlistFrom()
@@ -394807,26 +394738,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Num_NO", DbType="BigInt")]
public System.Nullable<long> Num_NO
{
get
{
return this._Num_NO;
}
set
{
if ((this._Num_NO != value))
{
this.OnNum_NOChanging(value);
this.SendPropertyChanging();
this._Num_NO = value;
this.SendPropertyChanged("Num_NO");
this.OnNum_NOChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_System_No", DbType="NVarChar(50)")]
public string System_No
{
@@ -394847,26 +394758,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sub_Sys_No", DbType="NVarChar(50)")]
public string Sub_Sys_No
{
get
{
return this._Sub_Sys_No;
}
set
{
if ((this._Sub_Sys_No != value))
{
this.OnSub_Sys_NoChanging(value);
this.SendPropertyChanging();
this._Sub_Sys_No = value;
this.SendPropertyChanged("Sub_Sys_No");
this.OnSub_Sys_NoChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Cat", DbType="NVarChar(50)")]
public string Cat
{
@@ -394967,8 +394858,8 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsMatI", DbType="Bit")]
public System.Nullable<bool> IsMatI
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsMatI", DbType="NVarChar(50)")]
public string IsMatI
{
get
{
@@ -395067,26 +394958,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Correction_Action", DbType="NVarChar(500)")]
public string Correction_Action
{
get
{
return this._Correction_Action;
}
set
{
if ((this._Correction_Action != value))
{
this.OnCorrection_ActionChanging(value);
this.SendPropertyChanging();
this._Correction_Action = value;
this.SendPropertyChanged("Correction_Action");
this.OnCorrection_ActionChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Actual_Date", DbType="DateTime")]
public System.Nullable<System.DateTime> Actual_Date
{
@@ -395267,6 +395138,66 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sub_Sys_No", DbType="NVarChar(50)")]
public string Sub_Sys_No
{
get
{
return this._Sub_Sys_No;
}
set
{
if ((this._Sub_Sys_No != value))
{
this.OnSub_Sys_NoChanging(value);
this.SendPropertyChanging();
this._Sub_Sys_No = value;
this.SendPropertyChanged("Sub_Sys_No");
this.OnSub_Sys_NoChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Num_NO", DbType="NVarChar(50)")]
public string Num_NO
{
get
{
return this._Num_NO;
}
set
{
if ((this._Num_NO != value))
{
this.OnNum_NOChanging(value);
this.SendPropertyChanging();
this._Num_NO = value;
this.SendPropertyChanged("Num_NO");
this.OnNum_NOChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Correction_Action", DbType="NVarChar(500)")]
public string Correction_Action
{
get
{
return this._Correction_Action;
}
set
{
if ((this._Correction_Action != value))
{
this.OnCorrection_ActionChanging(value);
this.SendPropertyChanging();
this._Correction_Action = value;
this.SendPropertyChanged("Correction_Action");
this.OnCorrection_ActionChanged();
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -430890,7 +430821,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuName", DbType="NVarChar(50)")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuName", DbType="NVarChar(200)")]
public string MenuName
{
get