You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
404 lines
26 KiB
404 lines
26 KiB
5 months ago
|
//------------------------------------------------------------------------------
|
||
|
// <auto-generated>
|
||
|
// 此代码已从模板生成。
|
||
|
//
|
||
|
// 手动更改此文件可能导致应用程序出现意外的行为。
|
||
|
// 如果重新生成代码,将覆盖对此文件的手动更改。
|
||
|
// </auto-generated>
|
||
|
//------------------------------------------------------------------------------
|
||
|
|
||
|
namespace MESClassLibrary.EFModel
|
||
|
{
|
||
|
using System;
|
||
|
using System.Data.Entity;
|
||
|
using System.Data.Entity.Infrastructure;
|
||
|
//using System.Data.Entity.Core.Objects;
|
||
|
using System.Linq;
|
||
|
|
||
|
public partial class BBMPTEntities : DbContext
|
||
|
{
|
||
|
public BBMPTEntities()
|
||
|
: base("name=BBMPTEntities")
|
||
|
{
|
||
|
}
|
||
|
|
||
|
protected override void OnModelCreating(DbModelBuilder modelBuilder)
|
||
|
{
|
||
|
throw new UnintentionalCodeFirstException();
|
||
|
}
|
||
|
|
||
|
public virtual DbSet<fine_authority> fine_authority { get; set; }
|
||
|
public virtual DbSet<fine_authority_object> fine_authority_object { get; set; }
|
||
|
public virtual DbSet<fine_backup_node> fine_backup_node { get; set; }
|
||
|
public virtual DbSet<fine_base_message> fine_base_message { get; set; }
|
||
|
public virtual DbSet<fine_base_output> fine_base_output { get; set; }
|
||
|
public virtual DbSet<fine_block_ip> fine_block_ip { get; set; }
|
||
|
public virtual DbSet<fine_conf_classname> fine_conf_classname { get; set; }
|
||
|
public virtual DbSet<fine_conf_entity> fine_conf_entity { get; set; }
|
||
|
public virtual DbSet<fine_conf_xmlentity> fine_conf_xmlentity { get; set; }
|
||
|
public virtual DbSet<fine_custom_role> fine_custom_role { get; set; }
|
||
|
public virtual DbSet<fine_dep_role> fine_dep_role { get; set; }
|
||
|
public virtual DbSet<fine_department> fine_department { get; set; }
|
||
|
public virtual DbSet<fine_extra_property> fine_extra_property { get; set; }
|
||
|
public virtual DbSet<fine_favorite_entry> fine_favorite_entry { get; set; }
|
||
|
public virtual DbSet<fine_homepage_expand> fine_homepage_expand { get; set; }
|
||
|
public virtual DbSet<fine_international> fine_international { get; set; }
|
||
|
public virtual DbSet<fine_last_login> fine_last_login { get; set; }
|
||
|
public virtual DbSet<fine_login_lock> fine_login_lock { get; set; }
|
||
|
public virtual DbSet<fine_mobile_device> fine_mobile_device { get; set; }
|
||
|
public virtual DbSet<fine_mobile_push_message> fine_mobile_push_message { get; set; }
|
||
|
public virtual DbSet<fine_output_class> fine_output_class { get; set; }
|
||
|
public virtual DbSet<fine_output_client_notice> fine_output_client_notice { get; set; }
|
||
|
public virtual DbSet<fine_output_email> fine_output_email { get; set; }
|
||
|
public virtual DbSet<fine_output_ftp> fine_output_ftp { get; set; }
|
||
|
public virtual DbSet<fine_output_mount> fine_output_mount { get; set; }
|
||
|
public virtual DbSet<fine_output_platform_msg> fine_output_platform_msg { get; set; }
|
||
|
public virtual DbSet<fine_output_print> fine_output_print { get; set; }
|
||
|
public virtual DbSet<fine_output_sftp> fine_output_sftp { get; set; }
|
||
|
public virtual DbSet<fine_output_sms> fine_output_sms { get; set; }
|
||
|
public virtual DbSet<fine_param_template> fine_param_template { get; set; }
|
||
|
public virtual DbSet<fine_post> fine_post { get; set; }
|
||
|
public virtual DbSet<fine_print_offset> fine_print_offset { get; set; }
|
||
|
public virtual DbSet<fine_print_offset_ip_relate> fine_print_offset_ip_relate { get; set; }
|
||
|
public virtual DbSet<fine_process_expand> fine_process_expand { get; set; }
|
||
|
public virtual DbSet<fine_process_message> fine_process_message { get; set; }
|
||
|
public virtual DbSet<fine_remote_design_auth> fine_remote_design_auth { get; set; }
|
||
|
public virtual DbSet<fine_report_expand> fine_report_expand { get; set; }
|
||
|
public virtual DbSet<fine_schedule_output> fine_schedule_output { get; set; }
|
||
|
public virtual DbSet<fine_schedule_record> fine_schedule_record { get; set; }
|
||
|
public virtual DbSet<fine_schedule_task> fine_schedule_task { get; set; }
|
||
|
public virtual DbSet<fine_schedule_task_param> fine_schedule_task_param { get; set; }
|
||
|
public virtual DbSet<fine_swift_cluster_size> fine_swift_cluster_size { get; set; }
|
||
|
public virtual DbSet<fine_swift_col_idx_conf> fine_swift_col_idx_conf { get; set; }
|
||
|
public virtual DbSet<fine_swift_config_entity> fine_swift_config_entity { get; set; }
|
||
|
public virtual DbSet<fine_swift_metadata> fine_swift_metadata { get; set; }
|
||
|
public virtual DbSet<fine_swift_seg_location> fine_swift_seg_location { get; set; }
|
||
|
public virtual DbSet<fine_swift_segments> fine_swift_segments { get; set; }
|
||
|
public virtual DbSet<fine_swift_service_info> fine_swift_service_info { get; set; }
|
||
|
public virtual DbSet<fine_swift_tab_idx_conf> fine_swift_tab_idx_conf { get; set; }
|
||
|
public virtual DbSet<fine_swift_table_path> fine_swift_table_path { get; set; }
|
||
|
public virtual DbSet<fine_system_message> fine_system_message { get; set; }
|
||
|
public virtual DbSet<fine_user> fine_user { get; set; }
|
||
|
public virtual DbSet<fine_user_role_middle> fine_user_role_middle { get; set; }
|
||
|
public virtual DbSet<fine_vcs> fine_vcs { get; set; }
|
||
|
public virtual DbSet<fine_workflow> fine_workflow { get; set; }
|
||
|
public virtual DbSet<fine_workflow_log> fine_workflow_log { get; set; }
|
||
|
public virtual DbSet<fine_workflow_node> fine_workflow_node { get; set; }
|
||
|
public virtual DbSet<fine_workflow_stash_data> fine_workflow_stash_data { get; set; }
|
||
|
public virtual DbSet<fine_workflow_task> fine_workflow_task { get; set; }
|
||
|
public virtual DbSet<fine_workflow_task_impl> fine_workflow_task_impl { get; set; }
|
||
|
public virtual DbSet<fine_write_stash> fine_write_stash { get; set; }
|
||
|
public virtual DbSet<LogErr> LogErr { get; set; }
|
||
|
public virtual DbSet<LogSys> LogSys { get; set; }
|
||
|
public virtual DbSet<LogSys_202008> LogSys_202008 { get; set; }
|
||
|
public virtual DbSet<QRTZ_BLOB_TRIGGERS> QRTZ_BLOB_TRIGGERS { get; set; }
|
||
|
public virtual DbSet<QRTZ_CALENDARS> QRTZ_CALENDARS { get; set; }
|
||
|
public virtual DbSet<QRTZ_CRON_TRIGGERS> QRTZ_CRON_TRIGGERS { get; set; }
|
||
|
public virtual DbSet<QRTZ_FIRED_TRIGGERS> QRTZ_FIRED_TRIGGERS { get; set; }
|
||
|
public virtual DbSet<QRTZ_JOB_DETAILS> QRTZ_JOB_DETAILS { get; set; }
|
||
|
public virtual DbSet<QRTZ_LOCKS> QRTZ_LOCKS { get; set; }
|
||
|
public virtual DbSet<QRTZ_PAUSED_TRIGGER_GRPS> QRTZ_PAUSED_TRIGGER_GRPS { get; set; }
|
||
|
public virtual DbSet<QRTZ_SCHEDULER_STATE> QRTZ_SCHEDULER_STATE { get; set; }
|
||
|
public virtual DbSet<QRTZ_SIMPLE_TRIGGERS> QRTZ_SIMPLE_TRIGGERS { get; set; }
|
||
|
public virtual DbSet<QRTZ_SIMPROP_TRIGGERS> QRTZ_SIMPROP_TRIGGERS { get; set; }
|
||
|
public virtual DbSet<QRTZ_TRIGGERS> QRTZ_TRIGGERS { get; set; }
|
||
|
public virtual DbSet<T_PaintInfo> T_PaintInfo { get; set; }
|
||
|
public virtual DbSet<T_Sys_Buttons> T_Sys_Buttons { get; set; }
|
||
|
public virtual DbSet<T_Sys_NavMenu> T_Sys_NavMenu { get; set; }
|
||
|
public virtual DbSet<T_Sys_Power> T_Sys_Power { get; set; }
|
||
|
public virtual DbSet<T_Sys_Role> T_Sys_Role { get; set; }
|
||
|
public virtual DbSet<T_Sys_UserRole> T_Sys_UserRole { get; set; }
|
||
|
public virtual DbSet<T_Sys_Users> T_Sys_Users { get; set; }
|
||
|
public virtual DbSet<T_Sys_Users_NavMenu> T_Sys_Users_NavMenu { get; set; }
|
||
|
public virtual DbSet<TA_DEPT> TA_DEPT { get; set; }
|
||
|
public virtual DbSet<tb_aa> tb_aa { get; set; }
|
||
|
public virtual DbSet<tb_AndonButtonType> tb_AndonButtonType { get; set; }
|
||
|
public virtual DbSet<tb_AndonRecord> tb_AndonRecord { get; set; }
|
||
|
public virtual DbSet<tb_Bad_Injection> tb_Bad_Injection { get; set; }
|
||
|
public virtual DbSet<tb_BarCode> tb_BarCode { get; set; }
|
||
|
public virtual DbSet<tb_Bom> tb_Bom { get; set; }
|
||
|
public virtual DbSet<tb_Box_243> tb_Box_243 { get; set; }
|
||
|
public virtual DbSet<tb_Box_Record> tb_Box_Record { get; set; }
|
||
|
public virtual DbSet<tb_Box_WheelBrow> tb_Box_WheelBrow { get; set; }
|
||
|
public virtual DbSet<tb_BucketInfo> tb_BucketInfo { get; set; }
|
||
|
public virtual DbSet<tb_CheckItem> tb_CheckItem { get; set; }
|
||
|
public virtual DbSet<tb_Color> tb_Color { get; set; }
|
||
|
public virtual DbSet<tb_CommonlyInspection> tb_CommonlyInspection { get; set; }
|
||
|
public virtual DbSet<tb_CommonlyInspectionRecord> tb_CommonlyInspectionRecord { get; set; }
|
||
|
public virtual DbSet<tb_CommonlyInspectionVersion> tb_CommonlyInspectionVersion { get; set; }
|
||
|
public virtual DbSet<tb_Config> tb_Config { get; set; }
|
||
|
public virtual DbSet<tb_Cylinder> tb_Cylinder { get; set; }
|
||
|
public virtual DbSet<tb_CylinderAndRaw> tb_CylinderAndRaw { get; set; }
|
||
|
public virtual DbSet<tb_Defect> tb_Defect { get; set; }
|
||
|
public virtual DbSet<tb_Device> tb_Device { get; set; }
|
||
|
public virtual DbSet<tb_Factory> tb_Factory { get; set; }
|
||
|
public virtual DbSet<tb_FinishProduct> tb_FinishProduct { get; set; }
|
||
|
public virtual DbSet<tb_HybridPlan> tb_HybridPlan { get; set; }
|
||
|
public virtual DbSet<tb_HybridScanRecord> tb_HybridScanRecord { get; set; }
|
||
|
public virtual DbSet<tb_ImgVideo> tb_ImgVideo { get; set; }
|
||
|
public virtual DbSet<tb_Inhection_DownReason> tb_Inhection_DownReason { get; set; }
|
||
|
public virtual DbSet<tb_Injection_DownRecord> tb_Injection_DownRecord { get; set; }
|
||
|
public virtual DbSet<tb_Injection_DownTime> tb_Injection_DownTime { get; set; }
|
||
|
public virtual DbSet<tb_Injection_DownType> tb_Injection_DownType { get; set; }
|
||
|
public virtual DbSet<tb_Injection_Record> tb_Injection_Record { get; set; }
|
||
|
public virtual DbSet<tb_InjectionPlan> tb_InjectionPlan { get; set; }
|
||
|
public virtual DbSet<tb_InspectResult> tb_InspectResult { get; set; }
|
||
|
public virtual DbSet<tb_LayerAndBC> tb_LayerAndBC { get; set; }
|
||
|
public virtual DbSet<tb_Line> tb_Line { get; set; }
|
||
|
public virtual DbSet<tb_Location> tb_Location { get; set; }
|
||
|
public virtual DbSet<tb_Machine> tb_Machine { get; set; }
|
||
|
public virtual DbSet<tb_Mistake_243> tb_Mistake_243 { get; set; }
|
||
|
public virtual DbSet<tb_Mistake_247> tb_Mistake_247 { get; set; }
|
||
|
public virtual DbSet<tb_Model_Product> tb_Model_Product { get; set; }
|
||
|
public virtual DbSet<tb_Model_Update> tb_Model_Update { get; set; }
|
||
|
public virtual DbSet<tb_ModelCount> tb_ModelCount { get; set; }
|
||
|
public virtual DbSet<tb_ModelInfo> tb_ModelInfo { get; set; }
|
||
|
public virtual DbSet<tb_Operator> tb_Operator { get; set; }
|
||
|
public virtual DbSet<tb_Paint_Bucket> tb_Paint_Bucket { get; set; }
|
||
|
public virtual DbSet<tb_PaintBarCode> tb_PaintBarCode { get; set; }
|
||
|
public virtual DbSet<tb_PaintInfo> tb_PaintInfo { get; set; }
|
||
|
public virtual DbSet<tb_PaintPerson> tb_PaintPerson { get; set; }
|
||
|
public virtual DbSet<tb_PaintReason> tb_PaintReason { get; set; }
|
||
|
public virtual DbSet<tb_PaintScanRecord> tb_PaintScanRecord { get; set; }
|
||
|
public virtual DbSet<tb_PartRecord> tb_PartRecord { get; set; }
|
||
|
public virtual DbSet<tb_Place> tb_Place { get; set; }
|
||
|
public virtual DbSet<tb_Plan_243> tb_Plan_243 { get; set; }
|
||
|
public virtual DbSet<tb_Plan_247> tb_Plan_247 { get; set; }
|
||
|
public virtual DbSet<tb_Plan_Punch> tb_Plan_Punch { get; set; }
|
||
|
public virtual DbSet<tb_PlanScreenConfig> tb_PlanScreenConfig { get; set; }
|
||
|
public virtual DbSet<tb_Plastic> tb_Plastic { get; set; }
|
||
|
public virtual DbSet<tb_PrintConfig> tb_PrintConfig { get; set; }
|
||
|
public virtual DbSet<tb_Product> tb_Product { get; set; }
|
||
|
public virtual DbSet<tb_Product_Injection> tb_Product_Injection { get; set; }
|
||
|
public virtual DbSet<tb_Product_Injection_w> tb_Product_Injection_w { get; set; }
|
||
|
public virtual DbSet<tb_ProductSotckIn> tb_ProductSotckIn { get; set; }
|
||
|
public virtual DbSet<tb_ProductType> tb_ProductType { get; set; }
|
||
|
public virtual DbSet<tb_Project> tb_Project { get; set; }
|
||
|
public virtual DbSet<tb_Punch_Code_Record> tb_Punch_Code_Record { get; set; }
|
||
|
public virtual DbSet<tb_Punch_Code_Record2> tb_Punch_Code_Record2 { get; set; }
|
||
|
public virtual DbSet<tb_Punch_Proucting> tb_Punch_Proucting { get; set; }
|
||
|
public virtual DbSet<tb_PunchAddress> tb_PunchAddress { get; set; }
|
||
|
public virtual DbSet<tb_PunchAndStation> tb_PunchAndStation { get; set; }
|
||
|
public virtual DbSet<tb_PunchDevice> tb_PunchDevice { get; set; }
|
||
|
public virtual DbSet<tb_PunchMFAPlan> tb_PunchMFAPlan { get; set; }
|
||
|
public virtual DbSet<tb_PunchNGCCPlan> tb_PunchNGCCPlan { get; set; }
|
||
|
public virtual DbSet<tb_PunchPlan> tb_PunchPlan { get; set; }
|
||
|
public virtual DbSet<tb_PunchRecord> tb_PunchRecord { get; set; }
|
||
|
public virtual DbSet<tb_PunchResult> tb_PunchResult { get; set; }
|
||
|
public virtual DbSet<tb_PunchValueRecord> tb_PunchValueRecord { get; set; }
|
||
|
public virtual DbSet<tb_Record_243> tb_Record_243 { get; set; }
|
||
|
public virtual DbSet<tb_Record_243_20220517> tb_Record_243_20220517 { get; set; }
|
||
|
public virtual DbSet<tb_Report_FiveScreen> tb_Report_FiveScreen { get; set; }
|
||
|
public virtual DbSet<tb_Report_FiveScreenConfig> tb_Report_FiveScreenConfig { get; set; }
|
||
|
public virtual DbSet<tb_Report_FiveScreenLast> tb_Report_FiveScreenLast { get; set; }
|
||
|
public virtual DbSet<tb_Report_FiveScreenStandard> tb_Report_FiveScreenStandard { get; set; }
|
||
|
public virtual DbSet<tb_ReportA1> tb_ReportA1 { get; set; }
|
||
|
public virtual DbSet<tb_reportA2> tb_reportA2 { get; set; }
|
||
|
public virtual DbSet<tb_ReportF1> tb_ReportF1 { get; set; }
|
||
|
public virtual DbSet<tb_ReportF3> tb_ReportF3 { get; set; }
|
||
|
public virtual DbSet<tb_ReportG1> tb_ReportG1 { get; set; }
|
||
|
public virtual DbSet<tb_ReportH1> tb_ReportH1 { get; set; }
|
||
|
public virtual DbSet<tb_ReportTest> tb_ReportTest { get; set; }
|
||
|
public virtual DbSet<tb_ScanAnalysis> tb_ScanAnalysis { get; set; }
|
||
|
public virtual DbSet<tb_ScanRecord_Laser> tb_ScanRecord_Laser { get; set; }
|
||
|
public virtual DbSet<tb_SkidInfo> tb_SkidInfo { get; set; }
|
||
|
public virtual DbSet<tb_SpcialNotFacStockNo> tb_SpcialNotFacStockNo { get; set; }
|
||
|
public virtual DbSet<tb_SpcialStockNo> tb_SpcialStockNo { get; set; }
|
||
|
public virtual DbSet<tb_Station> tb_Station { get; set; }
|
||
|
public virtual DbSet<tb_StationAndCylinder> tb_StationAndCylinder { get; set; }
|
||
|
public virtual DbSet<tb_StockIn_beif> tb_StockIn_beif { get; set; }
|
||
|
public virtual DbSet<tb_StockInColor> tb_StockInColor { get; set; }
|
||
|
public virtual DbSet<tb_test> tb_test { get; set; }
|
||
|
public virtual DbSet<tb_ToVisual_WheelBrow_243> tb_ToVisual_WheelBrow_243 { get; set; }
|
||
|
public virtual DbSet<tb_ToVisual_WheelBrow_247> tb_ToVisual_WheelBrow_247 { get; set; }
|
||
|
public virtual DbSet<TES_BOM> TES_BOM { get; set; }
|
||
|
public virtual DbSet<TES_PART_MSTR> TES_PART_MSTR { get; set; }
|
||
|
public virtual DbSet<test2> test2 { get; set; }
|
||
|
public virtual DbSet<LogSys_202001_04> LogSys_202001_04 { get; set; }
|
||
|
public virtual DbSet<LogSys_202003> LogSys_202003 { get; set; }
|
||
|
public virtual DbSet<LogSys_202004> LogSys_202004 { get; set; }
|
||
|
public virtual DbSet<LogSys_202005> LogSys_202005 { get; set; }
|
||
|
public virtual DbSet<LogSys_20200605> LogSys_20200605 { get; set; }
|
||
|
public virtual DbSet<LogSys_20200610> LogSys_20200610 { get; set; }
|
||
|
public virtual DbSet<LogSys_20210322> LogSys_20210322 { get; set; }
|
||
|
public virtual DbSet<T_Sys_RoleLinkPower> T_Sys_RoleLinkPower { get; set; }
|
||
|
public virtual DbSet<tb_Assembly_243> tb_Assembly_243 { get; set; }
|
||
|
public virtual DbSet<tb_Assembly_247> tb_Assembly_247 { get; set; }
|
||
|
public virtual DbSet<tb_Bom_20190726> tb_Bom_20190726 { get; set; }
|
||
|
public virtual DbSet<tb_Box_247> tb_Box_247 { get; set; }
|
||
|
public virtual DbSet<tb_Color_20191008> tb_Color_20191008 { get; set; }
|
||
|
public virtual DbSet<tb_Color_20201101> tb_Color_20201101 { get; set; }
|
||
|
public virtual DbSet<tb_InjectPlanReport> tb_InjectPlanReport { get; set; }
|
||
|
public virtual DbSet<tb_InspectResult_20190902> tb_InspectResult_20190902 { get; set; }
|
||
|
public virtual DbSet<tb_InspectResult_20200717> tb_InspectResult_20200717 { get; set; }
|
||
|
public virtual DbSet<tb_InspectResult_20201021> tb_InspectResult_20201021 { get; set; }
|
||
|
public virtual DbSet<tb_InspectResult_20210322> tb_InspectResult_20210322 { get; set; }
|
||
|
public virtual DbSet<tb_Mistake_243_bak> tb_Mistake_243_bak { get; set; }
|
||
|
public virtual DbSet<tb_Plan_Punch_20200509> tb_Plan_Punch_20200509 { get; set; }
|
||
|
public virtual DbSet<tb_PrintRecord> tb_PrintRecord { get; set; }
|
||
|
public virtual DbSet<tb_Product_20200513> tb_Product_20200513 { get; set; }
|
||
|
public virtual DbSet<tb_Product_20201110> tb_Product_20201110 { get; set; }
|
||
|
public virtual DbSet<tb_Product_Injection_20190726> tb_Product_Injection_20190726 { get; set; }
|
||
|
public virtual DbSet<tb_Product0912> tb_Product0912 { get; set; }
|
||
|
public virtual DbSet<tb_Product20200802> tb_Product20200802 { get; set; }
|
||
|
public virtual DbSet<tb_Product20201016> tb_Product20201016 { get; set; }
|
||
|
public virtual DbSet<tb_Punch_Code_Record_20200721> tb_Punch_Code_Record_20200721 { get; set; }
|
||
|
public virtual DbSet<tb_Punch_Code_Record_20200907> tb_Punch_Code_Record_20200907 { get; set; }
|
||
|
public virtual DbSet<tb_Punch_Code_Record_BF> tb_Punch_Code_Record_BF { get; set; }
|
||
|
public virtual DbSet<tb_Record_247> tb_Record_247 { get; set; }
|
||
|
public virtual DbSet<tb_Report_FiveScreen_20191011> tb_Report_FiveScreen_20191011 { get; set; }
|
||
|
public virtual DbSet<tb_Report_FiveScreen_20191014> tb_Report_FiveScreen_20191014 { get; set; }
|
||
|
public virtual DbSet<tb_ReportPaintingScreen> tb_ReportPaintingScreen { get; set; }
|
||
|
public virtual DbSet<tb_ReportPaintingScreen_bak> tb_ReportPaintingScreen_bak { get; set; }
|
||
|
public virtual DbSet<tb_ReportPaintingScreen_pg> tb_ReportPaintingScreen_pg { get; set; }
|
||
|
public virtual DbSet<tb_ReportPaintingScreen_pg_bak> tb_ReportPaintingScreen_pg_bak { get; set; }
|
||
|
public virtual DbSet<tb_SkidInfo_20200904> tb_SkidInfo_20200904 { get; set; }
|
||
|
public virtual DbSet<tb_StockIn> tb_StockIn { get; set; }
|
||
|
public virtual DbSet<tb_StockIn_20200511> tb_StockIn_20200511 { get; set; }
|
||
|
public virtual DbSet<tb_StockIn_20210322> tb_StockIn_20210322 { get; set; }
|
||
|
public virtual DbSet<test1> test1 { get; set; }
|
||
|
|
||
|
//public virtual int user_del(Nullable<System.Guid> userID, string opName)
|
||
|
//{
|
||
|
// var userIDParameter = userID.HasValue ?
|
||
|
// new ObjectParameter("UserID", userID) :
|
||
|
// new ObjectParameter("UserID", typeof(System.Guid));
|
||
|
|
||
|
// var opNameParameter = opName != null ?
|
||
|
// new ObjectParameter("opName", opName) :
|
||
|
// new ObjectParameter("opName", typeof(string));
|
||
|
|
||
|
// return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction("user_del", userIDParameter, opNameParameter);
|
||
|
//}
|
||
|
|
||
|
//public virtual ObjectResult<user_department_sel_Result> user_department_sel()
|
||
|
//{
|
||
|
// return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction<user_department_sel_Result>("user_department_sel");
|
||
|
//}
|
||
|
|
||
|
//public virtual int user_ins(Nullable<System.Guid> userID, string userName, string password, string realName, string sex, string tel, string department, Nullable<System.Guid> departmentID, Nullable<int> isEnabled, string menuList, string opName)
|
||
|
//{
|
||
|
// var userIDParameter = userID.HasValue ?
|
||
|
// new ObjectParameter("UserID", userID) :
|
||
|
// new ObjectParameter("UserID", typeof(System.Guid));
|
||
|
|
||
|
// var userNameParameter = userName != null ?
|
||
|
// new ObjectParameter("UserName", userName) :
|
||
|
// new ObjectParameter("UserName", typeof(string));
|
||
|
|
||
|
// var passwordParameter = password != null ?
|
||
|
// new ObjectParameter("Password", password) :
|
||
|
// new ObjectParameter("Password", typeof(string));
|
||
|
|
||
|
// var realNameParameter = realName != null ?
|
||
|
// new ObjectParameter("RealName", realName) :
|
||
|
// new ObjectParameter("RealName", typeof(string));
|
||
|
|
||
|
// var sexParameter = sex != null ?
|
||
|
// new ObjectParameter("Sex", sex) :
|
||
|
// new ObjectParameter("Sex", typeof(string));
|
||
|
|
||
|
// var telParameter = tel != null ?
|
||
|
// new ObjectParameter("Tel", tel) :
|
||
|
// new ObjectParameter("Tel", typeof(string));
|
||
|
|
||
|
// var departmentParameter = department != null ?
|
||
|
// new ObjectParameter("Department", department) :
|
||
|
// new ObjectParameter("Department", typeof(string));
|
||
|
|
||
|
// var departmentIDParameter = departmentID.HasValue ?
|
||
|
// new ObjectParameter("DepartmentID", departmentID) :
|
||
|
// new ObjectParameter("DepartmentID", typeof(System.Guid));
|
||
|
|
||
|
// var isEnabledParameter = isEnabled.HasValue ?
|
||
|
// new ObjectParameter("IsEnabled", isEnabled) :
|
||
|
// new ObjectParameter("IsEnabled", typeof(int));
|
||
|
|
||
|
// var menuListParameter = menuList != null ?
|
||
|
// new ObjectParameter("MenuList", menuList) :
|
||
|
// new ObjectParameter("MenuList", typeof(string));
|
||
|
|
||
|
// var opNameParameter = opName != null ?
|
||
|
// new ObjectParameter("opName", opName) :
|
||
|
// new ObjectParameter("opName", typeof(string));
|
||
|
|
||
|
// return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction("user_ins", userIDParameter, userNameParameter, passwordParameter, realNameParameter, sexParameter, telParameter, departmentParameter, departmentIDParameter, isEnabledParameter, menuListParameter, opNameParameter);
|
||
|
//}
|
||
|
|
||
|
//public virtual ObjectResult<user_menu_sel_Result> user_menu_sel(Nullable<System.Guid> userID)
|
||
|
//{
|
||
|
// var userIDParameter = userID.HasValue ?
|
||
|
// new ObjectParameter("UserID", userID) :
|
||
|
// new ObjectParameter("UserID", typeof(System.Guid));
|
||
|
|
||
|
// return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction<user_menu_sel_Result>("user_menu_sel", userIDParameter);
|
||
|
//}
|
||
|
|
||
|
//public virtual ObjectResult<Nullable<int>> user_sel(string userName, Nullable<int> page, Nullable<int> pagesize)
|
||
|
//{
|
||
|
// var userNameParameter = userName != null ?
|
||
|
// new ObjectParameter("UserName", userName) :
|
||
|
// new ObjectParameter("UserName", typeof(string));
|
||
|
|
||
|
// var pageParameter = page.HasValue ?
|
||
|
// new ObjectParameter("page", page) :
|
||
|
// new ObjectParameter("page", typeof(int));
|
||
|
|
||
|
// var pagesizeParameter = pagesize.HasValue ?
|
||
|
// new ObjectParameter("pagesize", pagesize) :
|
||
|
// new ObjectParameter("pagesize", typeof(int));
|
||
|
|
||
|
// return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction<Nullable<int>>("user_sel", userNameParameter, pageParameter, pagesizeParameter);
|
||
|
//}
|
||
|
|
||
|
//public virtual int user_upd(Nullable<System.Guid> userID, string userName, string password, string realName, string sex, string tel, string department, Nullable<System.Guid> departmentID, Nullable<int> isEnabled, string menuList, string opName)
|
||
|
//{
|
||
|
// var userIDParameter = userID.HasValue ?
|
||
|
// new ObjectParameter("UserID", userID) :
|
||
|
// new ObjectParameter("UserID", typeof(System.Guid));
|
||
|
|
||
|
// var userNameParameter = userName != null ?
|
||
|
// new ObjectParameter("UserName", userName) :
|
||
|
// new ObjectParameter("UserName", typeof(string));
|
||
|
|
||
|
// var passwordParameter = password != null ?
|
||
|
// new ObjectParameter("Password", password) :
|
||
|
// new ObjectParameter("Password", typeof(string));
|
||
|
|
||
|
// var realNameParameter = realName != null ?
|
||
|
// new ObjectParameter("RealName", realName) :
|
||
|
// new ObjectParameter("RealName", typeof(string));
|
||
|
|
||
|
// var sexParameter = sex != null ?
|
||
|
// new ObjectParameter("Sex", sex) :
|
||
|
// new ObjectParameter("Sex", typeof(string));
|
||
|
|
||
|
// var telParameter = tel != null ?
|
||
|
// new ObjectParameter("Tel", tel) :
|
||
|
// new ObjectParameter("Tel", typeof(string));
|
||
|
|
||
|
// var departmentParameter = department != null ?
|
||
|
// new ObjectParameter("Department", department) :
|
||
|
// new ObjectParameter("Department", typeof(string));
|
||
|
|
||
|
// var departmentIDParameter = departmentID.HasValue ?
|
||
|
// new ObjectParameter("DepartmentID", departmentID) :
|
||
|
// new ObjectParameter("DepartmentID", typeof(System.Guid));
|
||
|
|
||
|
// var isEnabledParameter = isEnabled.HasValue ?
|
||
|
// new ObjectParameter("IsEnabled", isEnabled) :
|
||
|
// new ObjectParameter("IsEnabled", typeof(int));
|
||
|
|
||
|
// var menuListParameter = menuList != null ?
|
||
|
// new ObjectParameter("MenuList", menuList) :
|
||
|
// new ObjectParameter("MenuList", typeof(string));
|
||
|
|
||
|
// var opNameParameter = opName != null ?
|
||
|
// new ObjectParameter("opName", opName) :
|
||
|
// new ObjectParameter("opName", typeof(string));
|
||
|
|
||
|
// return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction("user_upd", userIDParameter, userNameParameter, passwordParameter, realNameParameter, sexParameter, telParameter, departmentParameter, departmentIDParameter, isEnabledParameter, menuListParameter, opNameParameter);
|
||
|
//}
|
||
|
}
|
||
|
}
|