建投企业安全数据统计月报用重机的模式
This commit is contained in:
parent
96ec082e6f
commit
15558bd1e5
|
|
@ -3,11 +3,11 @@
|
|||
|
||||
|
||||
|
||||
【注意】
|
||||
项目现场亮菜单位置根据客户环境放置。修改菜单脚本的MenuType和SortIndex
|
||||
示例:
|
||||
公司级菜单五环放在 综合管理模块下面
|
||||
项目级菜单五环放在 质量管理模块下面
|
||||
--【注意】
|
||||
--项目现场亮菜单位置根据客户环境放置。修改菜单脚本的MenuType和SortIndex
|
||||
--示例:
|
||||
--公司级菜单五环放在 综合管理模块下面
|
||||
--项目级菜单五环放在 质量管理模块下面
|
||||
|
||||
/***********************************************************************************
|
||||
|
||||
|
|
|
|||
|
|
@ -7,15 +7,15 @@ where MenuId='8B9C0F42-D36F-4798-94AB-F56723E8B714' and MenuName='
|
|||
|
||||
*****/
|
||||
|
||||
菜单放在集团督查检查下面
|
||||
即:菜单MenuType值需要修改为集团督查检查菜单的MenuType
|
||||
--菜单放在集团督查检查下面
|
||||
--即:菜单MenuType值需要修改为集团督查检查菜单的MenuType
|
||||
|
||||
|
||||
--菜单:重点工程项目质量专项整治行动开展情况台账
|
||||
IF NOT EXISTS (SELECT * FROM Sys_Menu WHERE MenuId = '35BA8E89-4575-4A3F-9C22-98B323E67DA1')
|
||||
BEGIN
|
||||
INSERT INTO dbo.Sys_Menu (MenuId, MenuName,Url, SortIndex, SuperMenu, MenuType, IsOffice, IsEnd, IsUsed)
|
||||
VALUES (N'35BA8E89-4575-4A3F-9C22-98B323E67DA1', N'重点工程项目质量专项整治行动开展情况台账', N'ZHGL/Information/DCGLKeyProjectRectificationSituationLedger.aspx', 40, N'8B9C0F42-D36F-4798-94AB-F56723E8B714', MenuType, 1,1, 1);
|
||||
VALUES (N'35BA8E89-4575-4A3F-9C22-98B323E67DA1', N'重点工程项目质量专项整治行动开展情况台账', N'ZHGL/Information/DCGLKeyProjectRectificationSituationLedger.aspx', 40, N'8B9C0F42-D36F-4798-94AB-F56723E8B714', 'Menu_SJTB', 1,1, 1);
|
||||
END
|
||||
GO
|
||||
IF NOT EXISTS (SELECT * FROM Sys_ButtonToMenu WHERE MenuId = '35BA8E89-4575-4A3F-9C22-98B323E67DA1')
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ go
|
|||
--delete Sys_Menu where MenuName ='质量月' and MenuType ='Menu_System_Qwms_S_Cqms'
|
||||
--go
|
||||
|
||||
奖罚管理菜单放在【HSE奖惩】里面
|
||||
--奖罚管理菜单放在【HSE奖惩】里面
|
||||
|
||||
|
||||
--select*from Sys_Menu WHERE MenuId='288C955A-E379-4F24-85F9-585343B33D46'
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ where MenuId='E527C7EE-3720-4ADA-B07C-AF9370AF1745' or SuperMenu='E527C7EE-3720-
|
|||
GO
|
||||
|
||||
|
||||
!!!结合定制客户实际情况处理,可能菜单位置不一样
|
||||
--!!!结合定制客户实际情况处理,可能菜单位置不一样
|
||||
update Sys_Menu
|
||||
set MenuName='安全活动',SortIndex=115
|
||||
where MenuName='信息管理' and MenuId='66DFD649-FBC2-463F-BD1A-04095D713C8E'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
-- 自动获取总包检查数据
|
||||
alter table Base_Project add IsAutoFetch bit NULL;
|
||||
|
||||
|
||||
GO
|
||||
|
||||
--定制版放到公司级的【报表管理/数据管理】下的【项目数据分析】,父级菜单id和菜单类型根据实际情况进行替换
|
||||
UPDATE [dbo].[Sys_Menu] SET [MenuName] = N'项目数据分析', [Icon] = NULL, [Url] = '', [SortIndex] = 125, [SuperMenu] = N'0', [MenuType] = N'Menu_SJTB', [IsOffice] = '1', [IsEnd] = '0', [IsUsed] = '1' WHERE CONVERT(NVARCHAR(MAX), [MenuId]) = N'96763EC0-6AFF-4FA2-BFA1-63CCF1FF65A9';
|
||||
|
|
@ -27,9 +26,11 @@ VALUES
|
|||
alter table QCManage_QCGroupRegistration add AwardYear datetime
|
||||
go
|
||||
|
||||
【注意】
|
||||
--【注意】
|
||||
-----根据实际情况吧原本填写在过程字段(Process)上的年份数据移到新的新的字段(AwardYear)上
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'颁奖年份' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'QCManage_QCGroupRegistration', @level2type=N'COLUMN',@level2name=N'AwardYear'
|
||||
GO
|
||||
--把原来的数据替换到新的字段上
|
||||
update QCManage_QCGroupRegistration set AwardYear = Process where AwardYear is null and LEN(Process) = 4
|
||||
|
||||
GO
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
|
||||
|
||||
alter table Information_MillionsMonthlyReportItem add UnitId nvarchar(50) NULL;
|
||||
|
||||
GO
|
||||
alter table Information_MillionsMonthlyReportItem add ProjectId nvarchar(50) NULL;
|
||||
|
||||
GO
|
||||
|
||||
update Sys_Menu
|
||||
set Url='ZHGL/Information/MillionsMonthlyReportZJ.aspx'
|
||||
where url like '%ZHGL/Information/MillionsMonthlyReport.aspx%'
|
||||
|
||||
Go
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -12523,9 +12523,13 @@
|
|||
<Compile Include="HSSE\Hazard\ShowWBS.aspx.designer.cs">
|
||||
<DependentUpon>ShowWBS.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="HSSE\HiddenInspection\CheckStatisticsAnalysis.aspx.cs" />
|
||||
<Compile Include="HSSE\HiddenInspection\CheckStatisticsAnalysis.aspx.cs">
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="HSSE\HiddenInspection\CheckStatisticsAnalysis.aspx.designer.cs" />
|
||||
<Compile Include="HSSE\HiddenInspection\CheckStatisticsAnalysisProject.aspx.cs" />
|
||||
<Compile Include="HSSE\HiddenInspection\CheckStatisticsAnalysisProject.aspx.cs">
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="HSSE\HiddenInspection\CheckStatisticsAnalysisProject.aspx.designer.cs" />
|
||||
<Compile Include="HSSE\Meeting\MeetingManage.aspx.cs">
|
||||
<DependentUpon>MeetingManage.aspx</DependentUpon>
|
||||
|
|
@ -18404,7 +18408,9 @@
|
|||
<Compile Include="ZHGL\Supervise\UnitHazardRegister.aspx.designer.cs">
|
||||
<DependentUpon>UnitHazardRegister.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ZHGL\Supervise\UnitHazardRegisterDetailIn.aspx.cs" />
|
||||
<Compile Include="ZHGL\Supervise\UnitHazardRegisterDetailIn.aspx.cs">
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ZHGL\Supervise\UnitHazardRegisterDetailIn.aspx.designer.cs" />
|
||||
<Compile Include="ZHGL\Supervise\UnitHazardRegisterEdit.aspx.cs">
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
|
@ -18496,7 +18502,7 @@
|
|||
</FlavorProperties>
|
||||
</VisualStudio>
|
||||
</ProjectExtensions>
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v17.0\WebApplications\Microsoft.WebApplication.targets" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v18.0\WebApplications\Microsoft.WebApplication.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
|
|
|
|||
|
|
@ -16,10 +16,11 @@ namespace FineUIPro.Web.ZHGL.Information
|
|||
if (!IsPostBack)
|
||||
{
|
||||
string loginform = ConfigurationManager.AppSettings["LoginForm"];
|
||||
if (!string.IsNullOrWhiteSpace(loginform) &&loginform == "Login_ZJ.aspx")
|
||||
{//判断是否是重机客户,如果是重定向页面
|
||||
Response.Redirect("MillionsMonthlyReportZJ.aspx");
|
||||
}
|
||||
//if (!string.IsNullOrWhiteSpace(loginform) &&loginform == "Login_ZJ.aspx")
|
||||
//{//判断是否是重机客户,如果是重定向页面
|
||||
//2026.04.30 xiaj 建投企业安全数据统计月报用重机的模式
|
||||
Response.Redirect("MillionsMonthlyReportZJ.aspx");
|
||||
//}
|
||||
|
||||
BLL.ConstValue.InitConstValueDropDownList(this.drpMonth, ConstValue.Group_0009, false);
|
||||
BLL.ConstValue.InitConstValueDropDownList(this.drpYear, ConstValue.Group_0008, false);
|
||||
|
|
|
|||
|
|
@ -80,6 +80,9 @@
|
|||
<f:Button ID="btnPrint" ToolTip="打印" Text="打印" Icon="Printer" Hidden="true" runat="server"
|
||||
OnClick="btnPrint_Click">
|
||||
</f:Button>
|
||||
<f:Button ID="btnViewUnit" ToolTip="查看未报公司" Text="查看未报公司" Icon="MagifierZoomOut" runat="server"
|
||||
OnClick="btnViewUnit_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
|
|
|
|||
|
|
@ -797,5 +797,78 @@ namespace FineUIPro.Web.ZHGL.Information
|
|||
|
||||
}
|
||||
#endregion
|
||||
#region 查看未上报的公司
|
||||
/// <summary>
|
||||
/// 查看未上报的项目
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnViewUnit_Click(object sender, EventArgs e)
|
||||
{
|
||||
string info = string.Empty;
|
||||
DateTime date = Convert.ToDateTime(this.drpYear.SelectedValue + "-" + this.drpMonth.SelectedValue + "-01").AddDays(-1).AddMonths(1);
|
||||
//var projects = (from x in Funs.DB.Base_Project
|
||||
// where (x.ProjectState == BLL.Const.ProjectState_1 || x.ProjectState == null)
|
||||
// && (x.IsDelete == null || x.IsDelete == false)
|
||||
// && x.StartDate <= date
|
||||
// select x).ToList();
|
||||
|
||||
List<Model.Base_Project> projects = new List<Model.Base_Project>();
|
||||
if (this.CurrUser.Base_Unit == null || (bool)this.CurrUser.Base_Unit.IsThisUnit)
|
||||
{
|
||||
projects = (from x in Funs.DB.Base_Project
|
||||
where (x.ProjectState == BLL.Const.ProjectState_1 || x.ProjectState == null)
|
||||
&& (x.IsDelete == null || x.IsDelete == false)
|
||||
&& x.StartDate <= date
|
||||
orderby x.UnitId
|
||||
select x).ToList();
|
||||
}
|
||||
else
|
||||
{
|
||||
projects = (from x in Funs.DB.Base_Project
|
||||
where (x.ProjectState == BLL.Const.ProjectState_1 || x.ProjectState == null)
|
||||
&& (x.IsDelete == null || x.IsDelete == false) && x.UnitId == this.CurrUser.UnitId
|
||||
&& x.StartDate <= date
|
||||
select x).ToList();
|
||||
}
|
||||
Dictionary<string, string> infoMap = new Dictionary<string, string>();
|
||||
foreach (var item in projects)
|
||||
{
|
||||
var unitName = Funs.DB.Base_Unit.Where(x => x.UnitId == item.UnitId).Select(x=>x.UnitName).FirstOrDefault();
|
||||
|
||||
var millionsMonthlyReport = Funs.DB.InformationProject_MillionsMonthlyReport.FirstOrDefault(x => x.ProjectId == item.ProjectId && x.Year == date.Year && x.Month == date.Month);
|
||||
if (millionsMonthlyReport == null)
|
||||
{
|
||||
info += unitName + ":" + item.ProjectName + ",未填写报表;</br>";
|
||||
}
|
||||
else
|
||||
{
|
||||
if (millionsMonthlyReport.States != BLL.Const.State_2)
|
||||
{
|
||||
info += unitName + ":" + item.ProjectName + "报表未报;";
|
||||
var flows = (from x in Funs.DB.Sys_FlowOperate
|
||||
join y in Funs.DB.Sys_User on x.OperaterId equals y.UserId
|
||||
where x.DataId == millionsMonthlyReport.MillionsMonthlyReportId && x.IsClosed != false
|
||||
select y).FirstOrDefault();
|
||||
if (flows != null)
|
||||
{
|
||||
info += "待" + flows.UserName + "处理;";
|
||||
}
|
||||
info += "</br>";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(info))
|
||||
{
|
||||
Alert.ShowInTop(info + "公司报表未上报。", MessageBoxIcon.Warning);
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowNotify("公司报表已上报", MessageBoxIcon.Success);
|
||||
}
|
||||
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
|
@ -221,6 +221,15 @@ namespace FineUIPro.Web.ZHGL.Information
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnPrint;
|
||||
|
||||
/// <summary>
|
||||
/// btnViewUnit 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnViewUnit;
|
||||
|
||||
/// <summary>
|
||||
/// lbUnitName 控件。
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -210320,6 +210320,8 @@ namespace Model
|
|||
|
||||
private EntityRef<Base_Unit> _Base_Unit;
|
||||
|
||||
private EntityRef<HSSE_Hazard_HazardRegisterTypes> _HSSE_Hazard_HazardRegisterTypes;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
|
|
@ -210423,6 +210425,7 @@ namespace Model
|
|||
public HSSE_Hazard_HazardRegister()
|
||||
{
|
||||
this._Base_Unit = default(EntityRef<Base_Unit>);
|
||||
this._HSSE_Hazard_HazardRegisterTypes = default(EntityRef<HSSE_Hazard_HazardRegisterTypes>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
|
|
@ -210941,6 +210944,10 @@ namespace Model
|
|||
{
|
||||
if ((this._RegisterTypesId != value))
|
||||
{
|
||||
if (this._HSSE_Hazard_HazardRegisterTypes.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnRegisterTypesIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._RegisterTypesId = value;
|
||||
|
|
@ -211404,6 +211411,40 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HSSE_Hazard_HazardRegister_HSSE_Hazard_HazardRegisterTypes", Storage="_HSSE_Hazard_HazardRegisterTypes", ThisKey="RegisterTypesId", OtherKey="RegisterTypesId", IsForeignKey=true)]
|
||||
public HSSE_Hazard_HazardRegisterTypes HSSE_Hazard_HazardRegisterTypes
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._HSSE_Hazard_HazardRegisterTypes.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
HSSE_Hazard_HazardRegisterTypes previousValue = this._HSSE_Hazard_HazardRegisterTypes.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._HSSE_Hazard_HazardRegisterTypes.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._HSSE_Hazard_HazardRegisterTypes.Entity = null;
|
||||
previousValue.HSSE_Hazard_HazardRegister.Remove(this);
|
||||
}
|
||||
this._HSSE_Hazard_HazardRegisterTypes.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.HSSE_Hazard_HazardRegister.Add(this);
|
||||
this._RegisterTypesId = value.RegisterTypesId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._RegisterTypesId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("HSSE_Hazard_HazardRegisterTypes");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
|
@ -211521,6 +211562,8 @@ namespace Model
|
|||
|
||||
private EntityRef<Base_Unit> _Base_Unit;
|
||||
|
||||
private EntityRef<HSSE_Hazard_HazardRegisterTypes> _HSSE_Hazard_HazardRegisterTypes;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
|
|
@ -211618,6 +211661,7 @@ namespace Model
|
|||
public HSSE_Hazard_HazardRegister_Unit()
|
||||
{
|
||||
this._Base_Unit = default(EntityRef<Base_Unit>);
|
||||
this._HSSE_Hazard_HazardRegisterTypes = default(EntityRef<HSSE_Hazard_HazardRegisterTypes>);
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
|
|
@ -212065,7 +212109,7 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleIdea", DbType="NVarChar(2000)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleIdea", DbType="NVarChar(500)")]
|
||||
public string HandleIdea
|
||||
{
|
||||
get
|
||||
|
|
@ -212136,6 +212180,10 @@ namespace Model
|
|||
{
|
||||
if ((this._RegisterTypesId != value))
|
||||
{
|
||||
if (this._HSSE_Hazard_HazardRegisterTypes.HasLoadedOrAssignedValue)
|
||||
{
|
||||
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
||||
}
|
||||
this.OnRegisterTypesIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._RegisterTypesId = value;
|
||||
|
|
@ -212445,7 +212493,7 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Requirements", DbType="NVarChar(2000)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Requirements", DbType="NVarChar(400)")]
|
||||
public string Requirements
|
||||
{
|
||||
get
|
||||
|
|
@ -212539,6 +212587,40 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HSSE_Hazard_HazardRegister_Unit_HSSE_Hazard_HazardRegister_UnitTypes", Storage="_HSSE_Hazard_HazardRegisterTypes", ThisKey="RegisterTypesId", OtherKey="RegisterTypesId", IsForeignKey=true)]
|
||||
public HSSE_Hazard_HazardRegisterTypes HSSE_Hazard_HazardRegisterTypes
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._HSSE_Hazard_HazardRegisterTypes.Entity;
|
||||
}
|
||||
set
|
||||
{
|
||||
HSSE_Hazard_HazardRegisterTypes previousValue = this._HSSE_Hazard_HazardRegisterTypes.Entity;
|
||||
if (((previousValue != value)
|
||||
|| (this._HSSE_Hazard_HazardRegisterTypes.HasLoadedOrAssignedValue == false)))
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
if ((previousValue != null))
|
||||
{
|
||||
this._HSSE_Hazard_HazardRegisterTypes.Entity = null;
|
||||
previousValue.HSSE_Hazard_HazardRegister_Unit.Remove(this);
|
||||
}
|
||||
this._HSSE_Hazard_HazardRegisterTypes.Entity = value;
|
||||
if ((value != null))
|
||||
{
|
||||
value.HSSE_Hazard_HazardRegister_Unit.Add(this);
|
||||
this._RegisterTypesId = value.RegisterTypesId;
|
||||
}
|
||||
else
|
||||
{
|
||||
this._RegisterTypesId = default(string);
|
||||
}
|
||||
this.SendPropertyChanged("HSSE_Hazard_HazardRegisterTypes");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
|
@ -212580,6 +212662,10 @@ namespace Model
|
|||
|
||||
private System.Nullable<bool> _IsPunished;
|
||||
|
||||
private EntitySet<HSSE_Hazard_HazardRegister> _HSSE_Hazard_HazardRegister;
|
||||
|
||||
private EntitySet<HSSE_Hazard_HazardRegister_Unit> _HSSE_Hazard_HazardRegister_Unit;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
|
|
@ -212602,6 +212688,8 @@ namespace Model
|
|||
|
||||
public HSSE_Hazard_HazardRegisterTypes()
|
||||
{
|
||||
this._HSSE_Hazard_HazardRegister = new EntitySet<HSSE_Hazard_HazardRegister>(new Action<HSSE_Hazard_HazardRegister>(this.attach_HSSE_Hazard_HazardRegister), new Action<HSSE_Hazard_HazardRegister>(this.detach_HSSE_Hazard_HazardRegister));
|
||||
this._HSSE_Hazard_HazardRegister_Unit = new EntitySet<HSSE_Hazard_HazardRegister_Unit>(new Action<HSSE_Hazard_HazardRegister_Unit>(this.attach_HSSE_Hazard_HazardRegister_Unit), new Action<HSSE_Hazard_HazardRegister_Unit>(this.detach_HSSE_Hazard_HazardRegister_Unit));
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
|
|
@ -212745,6 +212833,32 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HSSE_Hazard_HazardRegister_HSSE_Hazard_HazardRegisterTypes", Storage="_HSSE_Hazard_HazardRegister", ThisKey="RegisterTypesId", OtherKey="RegisterTypesId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<HSSE_Hazard_HazardRegister> HSSE_Hazard_HazardRegister
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._HSSE_Hazard_HazardRegister;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._HSSE_Hazard_HazardRegister.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HSSE_Hazard_HazardRegister_Unit_HSSE_Hazard_HazardRegister_UnitTypes", Storage="_HSSE_Hazard_HazardRegister_Unit", ThisKey="RegisterTypesId", OtherKey="RegisterTypesId", DeleteRule="NO ACTION")]
|
||||
public EntitySet<HSSE_Hazard_HazardRegister_Unit> HSSE_Hazard_HazardRegister_Unit
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._HSSE_Hazard_HazardRegister_Unit;
|
||||
}
|
||||
set
|
||||
{
|
||||
this._HSSE_Hazard_HazardRegister_Unit.Assign(value);
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
|
@ -212764,6 +212878,30 @@ namespace Model
|
|||
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
|
||||
private void attach_HSSE_Hazard_HazardRegister(HSSE_Hazard_HazardRegister entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.HSSE_Hazard_HazardRegisterTypes = this;
|
||||
}
|
||||
|
||||
private void detach_HSSE_Hazard_HazardRegister(HSSE_Hazard_HazardRegister entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.HSSE_Hazard_HazardRegisterTypes = null;
|
||||
}
|
||||
|
||||
private void attach_HSSE_Hazard_HazardRegister_Unit(HSSE_Hazard_HazardRegister_Unit entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.HSSE_Hazard_HazardRegisterTypes = this;
|
||||
}
|
||||
|
||||
private void detach_HSSE_Hazard_HazardRegister_Unit(HSSE_Hazard_HazardRegister_Unit entity)
|
||||
{
|
||||
this.SendPropertyChanging();
|
||||
entity.HSSE_Hazard_HazardRegisterTypes = null;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HSSE_MajorSecurityRisk")]
|
||||
|
|
@ -480358,8 +480496,6 @@ namespace Model
|
|||
|
||||
private string _States;
|
||||
|
||||
private string _ReviewedManId;
|
||||
|
||||
private string _IsEffective;
|
||||
|
||||
private string _ResponsibleMan;
|
||||
|
|
@ -480730,22 +480866,6 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReviewedManId", DbType="NVarChar(2000)")]
|
||||
public string ReviewedManId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ReviewedManId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ReviewedManId != value))
|
||||
{
|
||||
this._ReviewedManId = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsEffective", DbType="Char(1)")]
|
||||
public string IsEffective
|
||||
{
|
||||
|
|
@ -480906,7 +481026,7 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleIdea", DbType="NVarChar(2000)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleIdea", DbType="NVarChar(500)")]
|
||||
public string HandleIdea
|
||||
{
|
||||
get
|
||||
|
|
@ -481290,7 +481410,7 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RegisterTypesName", DbType="NVarChar(50)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RegisterTypesName", DbType="NVarChar(200)")]
|
||||
public string RegisterTypesName
|
||||
{
|
||||
get
|
||||
|
|
@ -481354,7 +481474,7 @@ namespace Model
|
|||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Requirements", DbType="NVarChar(2000)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Requirements", DbType="NVarChar(400)")]
|
||||
public string Requirements
|
||||
{
|
||||
get
|
||||
|
|
|
|||
Loading…
Reference in New Issue