20240410 开车会议管理

This commit is contained in:
2024-04-10 14:37:59 +08:00
parent 00a325ba3a
commit 9bb7f02b83
135 changed files with 5027 additions and 552 deletions
+286
View File
@@ -734,6 +734,9 @@ namespace Model
partial void InsertDriver_MeetingItem(Driver_MeetingItem instance);
partial void UpdateDriver_MeetingItem(Driver_MeetingItem instance);
partial void DeleteDriver_MeetingItem(Driver_MeetingItem instance);
partial void InsertDriver_MeetingMinutes(Driver_MeetingMinutes instance);
partial void UpdateDriver_MeetingMinutes(Driver_MeetingMinutes instance);
partial void DeleteDriver_MeetingMinutes(Driver_MeetingMinutes instance);
partial void InsertDriver_TestRun(Driver_TestRun instance);
partial void UpdateDriver_TestRun(Driver_TestRun instance);
partial void DeleteDriver_TestRun(Driver_TestRun instance);
@@ -4551,6 +4554,14 @@ namespace Model
}
}
public System.Data.Linq.Table<Driver_MeetingMinutes> Driver_MeetingMinutes
{
get
{
return this.GetTable<Driver_MeetingMinutes>();
}
}
public System.Data.Linq.Table<Driver_TestRun> Driver_TestRun
{
get
@@ -26055,6 +26066,8 @@ namespace Model
private EntitySet<Driver_Meeting> _Driver_Meeting;
private EntitySet<Driver_MeetingMinutes> _Driver_MeetingMinutes;
private EntitySet<Driver_TestRun> _Driver_TestRun;
private EntitySet<DriverGoods_GoodsBuy> _DriverGoods_GoodsBuy;
@@ -26654,6 +26667,7 @@ namespace Model
this._Driver_DriverSummary = new EntitySet<Driver_DriverSummary>(new Action<Driver_DriverSummary>(this.attach_Driver_DriverSummary), new Action<Driver_DriverSummary>(this.detach_Driver_DriverSummary));
this._Driver_FeedingTestRun = new EntitySet<Driver_FeedingTestRun>(new Action<Driver_FeedingTestRun>(this.attach_Driver_FeedingTestRun), new Action<Driver_FeedingTestRun>(this.detach_Driver_FeedingTestRun));
this._Driver_Meeting = new EntitySet<Driver_Meeting>(new Action<Driver_Meeting>(this.attach_Driver_Meeting), new Action<Driver_Meeting>(this.detach_Driver_Meeting));
this._Driver_MeetingMinutes = new EntitySet<Driver_MeetingMinutes>(new Action<Driver_MeetingMinutes>(this.attach_Driver_MeetingMinutes), new Action<Driver_MeetingMinutes>(this.detach_Driver_MeetingMinutes));
this._Driver_TestRun = new EntitySet<Driver_TestRun>(new Action<Driver_TestRun>(this.attach_Driver_TestRun), new Action<Driver_TestRun>(this.detach_Driver_TestRun));
this._DriverGoods_GoodsBuy = new EntitySet<DriverGoods_GoodsBuy>(new Action<DriverGoods_GoodsBuy>(this.attach_DriverGoods_GoodsBuy), new Action<DriverGoods_GoodsBuy>(this.detach_DriverGoods_GoodsBuy));
this._DriverGoods_GoodsModel = new EntitySet<DriverGoods_GoodsModel>(new Action<DriverGoods_GoodsModel>(this.attach_DriverGoods_GoodsModel), new Action<DriverGoods_GoodsModel>(this.detach_DriverGoods_GoodsModel));
@@ -28800,6 +28814,19 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Driver_MeetingMinutes_Base_Project", Storage="_Driver_MeetingMinutes", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
public EntitySet<Driver_MeetingMinutes> Driver_MeetingMinutes
{
get
{
return this._Driver_MeetingMinutes;
}
set
{
this._Driver_MeetingMinutes.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Driver_TestRun_Base_Project", Storage="_Driver_TestRun", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
public EntitySet<Driver_TestRun> Driver_TestRun
{
@@ -32574,6 +32601,18 @@ namespace Model
entity.Base_Project = null;
}
private void attach_Driver_MeetingMinutes(Driver_MeetingMinutes entity)
{
this.SendPropertyChanging();
entity.Base_Project = this;
}
private void detach_Driver_MeetingMinutes(Driver_MeetingMinutes entity)
{
this.SendPropertyChanging();
entity.Base_Project = null;
}
private void attach_Driver_TestRun(Driver_TestRun entity)
{
this.SendPropertyChanging();
@@ -123717,6 +123756,253 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Driver_MeetingMinutes")]
public partial class Driver_MeetingMinutes : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _MeetingMinutesId;
private string _ProjectId;
private string _MinutesCode;
private string _MeetingType;
private string _CompileMan;
private System.Nullable<System.DateTime> _CompileDate;
private string _Statues;
private EntityRef<Base_Project> _Base_Project;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnMeetingMinutesIdChanging(string value);
partial void OnMeetingMinutesIdChanged();
partial void OnProjectIdChanging(string value);
partial void OnProjectIdChanged();
partial void OnMinutesCodeChanging(string value);
partial void OnMinutesCodeChanged();
partial void OnMeetingTypeChanging(string value);
partial void OnMeetingTypeChanged();
partial void OnCompileManChanging(string value);
partial void OnCompileManChanged();
partial void OnCompileDateChanging(System.Nullable<System.DateTime> value);
partial void OnCompileDateChanged();
partial void OnStatuesChanging(string value);
partial void OnStatuesChanged();
#endregion
public Driver_MeetingMinutes()
{
this._Base_Project = default(EntityRef<Base_Project>);
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MeetingMinutesId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string MeetingMinutesId
{
get
{
return this._MeetingMinutesId;
}
set
{
if ((this._MeetingMinutesId != value))
{
this.OnMeetingMinutesIdChanging(value);
this.SendPropertyChanging();
this._MeetingMinutesId = value;
this.SendPropertyChanged("MeetingMinutesId");
this.OnMeetingMinutesIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
public string ProjectId
{
get
{
return this._ProjectId;
}
set
{
if ((this._ProjectId != value))
{
if (this._Base_Project.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnProjectIdChanging(value);
this.SendPropertyChanging();
this._ProjectId = value;
this.SendPropertyChanged("ProjectId");
this.OnProjectIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MinutesCode", DbType="NVarChar(50)")]
public string MinutesCode
{
get
{
return this._MinutesCode;
}
set
{
if ((this._MinutesCode != value))
{
this.OnMinutesCodeChanging(value);
this.SendPropertyChanging();
this._MinutesCode = value;
this.SendPropertyChanged("MinutesCode");
this.OnMinutesCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MeetingType", DbType="NChar(10)")]
public string MeetingType
{
get
{
return this._MeetingType;
}
set
{
if ((this._MeetingType != value))
{
this.OnMeetingTypeChanging(value);
this.SendPropertyChanging();
this._MeetingType = value;
this.SendPropertyChanged("MeetingType");
this.OnMeetingTypeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")]
public string CompileMan
{
get
{
return this._CompileMan;
}
set
{
if ((this._CompileMan != value))
{
this.OnCompileManChanging(value);
this.SendPropertyChanging();
this._CompileMan = value;
this.SendPropertyChanged("CompileMan");
this.OnCompileManChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")]
public System.Nullable<System.DateTime> CompileDate
{
get
{
return this._CompileDate;
}
set
{
if ((this._CompileDate != value))
{
this.OnCompileDateChanging(value);
this.SendPropertyChanging();
this._CompileDate = value;
this.SendPropertyChanged("CompileDate");
this.OnCompileDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Statues", DbType="NVarChar(50)")]
public string Statues
{
get
{
return this._Statues;
}
set
{
if ((this._Statues != value))
{
this.OnStatuesChanging(value);
this.SendPropertyChanging();
this._Statues = value;
this.SendPropertyChanged("Statues");
this.OnStatuesChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Driver_MeetingMinutes_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project
{
get
{
return this._Base_Project.Entity;
}
set
{
Base_Project previousValue = this._Base_Project.Entity;
if (((previousValue != value)
|| (this._Base_Project.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Base_Project.Entity = null;
previousValue.Driver_MeetingMinutes.Remove(this);
}
this._Base_Project.Entity = value;
if ((value != null))
{
value.Driver_MeetingMinutes.Add(this);
this._ProjectId = value.ProjectId;
}
else
{
this._ProjectId = default(string);
}
this.SendPropertyChanged("Base_Project");
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void SendPropertyChanging()
{
if ((this.PropertyChanging != null))
{
this.PropertyChanging(this, emptyChangingEventArgs);
}
}
protected virtual void SendPropertyChanged(String propertyName)
{
if ((this.PropertyChanged != null))
{
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Driver_TestRun")]
public partial class Driver_TestRun : INotifyPropertyChanging, INotifyPropertyChanged
{