提交代码
This commit is contained in:
@@ -61968,6 +61968,8 @@ 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);
|
||||
@@ -62019,6 +62021,7 @@ namespace Model
|
||||
public Check_CheckSpecial()
|
||||
{
|
||||
this._Base_Project = default(EntityRef<Base_Project>);
|
||||
this._Technique_CheckItemSet = default(EntityRef<Technique_CheckItemSet>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
@@ -62337,6 +62340,10 @@ 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;
|
||||
@@ -62480,6 +62487,40 @@ 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;
|
||||
@@ -103492,6 +103533,8 @@ namespace Model
|
||||
|
||||
private System.Nullable<int> _States;
|
||||
|
||||
private System.Nullable<int> _MaxLevel;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
@@ -103540,6 +103583,8 @@ namespace Model
|
||||
partial void OnSortChanged();
|
||||
partial void OnStatesChanging(System.Nullable<int> value);
|
||||
partial void OnStatesChanged();
|
||||
partial void OnMaxLevelChanging(System.Nullable<int> value);
|
||||
partial void OnMaxLevelChanged();
|
||||
#endregion
|
||||
|
||||
public Control_PointCropping()
|
||||
@@ -103987,6 +104032,26 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaxLevel", DbType="Int")]
|
||||
public System.Nullable<int> MaxLevel
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MaxLevel;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MaxLevel != value))
|
||||
{
|
||||
this.OnMaxLevelChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MaxLevel = value;
|
||||
this.SendPropertyChanged("MaxLevel");
|
||||
this.OnMaxLevelChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
@@ -370320,6 +370385,8 @@ namespace Model
|
||||
|
||||
private System.Nullable<bool> _IsBuiltIn;
|
||||
|
||||
private EntitySet<Check_CheckSpecial> _Check_CheckSpecial;
|
||||
|
||||
private EntitySet<Technique_CheckItemDetail> _Technique_CheckItemDetail;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
@@ -370346,6 +370413,7 @@ 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();
|
||||
}
|
||||
@@ -370510,6 +370578,19 @@ 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
|
||||
{
|
||||
@@ -370543,6 +370624,18 @@ 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();
|
||||
|
||||
Reference in New Issue
Block a user