#pragma warning disable 1591 //------------------------------------------------------------------------------ // // 이 코드는 도구를 사용하여 생성되었습니다. // 런타임 버전:4.0.30319.42000 // // 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 // 이러한 변경 내용이 손실됩니다. // //------------------------------------------------------------------------------ namespace Project { using System.Data.Linq; using System.Data.Linq.Mapping; using System.Data; using System.Collections.Generic; using System.Reflection; using System.Linq; using System.Linq.Expressions; using System.ComponentModel; using System; [global::System.Data.Linq.Mapping.DatabaseAttribute(Name="EE")] public partial class DataClasses1DataContext : System.Data.Linq.DataContext { private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource(); #region 확장성 메서드 정의 partial void OnCreated(); partial void InsertUserGroup(UserGroup instance); partial void UpdateUserGroup(UserGroup instance); partial void DeleteUserGroup(UserGroup instance); partial void InsertUsers(Users instance); partial void UpdateUsers(Users instance); partial void DeleteUsers(Users instance); partial void InsertEETGW_GroupUser(EETGW_GroupUser instance); partial void UpdateEETGW_GroupUser(EETGW_GroupUser instance); partial void DeleteEETGW_GroupUser(EETGW_GroupUser instance); #endregion public DataClasses1DataContext() : base(global::Project.Properties.Settings.Default.gwcs, mappingSource) { OnCreated(); } public DataClasses1DataContext(string connection) : base(connection, mappingSource) { OnCreated(); } public DataClasses1DataContext(System.Data.IDbConnection connection) : base(connection, mappingSource) { OnCreated(); } public DataClasses1DataContext(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) : base(connection, mappingSource) { OnCreated(); } public DataClasses1DataContext(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) : base(connection, mappingSource) { OnCreated(); } public System.Data.Linq.Table UserGroup { get { return this.GetTable(); } } public System.Data.Linq.Table vGroupUser { get { return this.GetTable(); } } public System.Data.Linq.Table Users { get { return this.GetTable(); } } public System.Data.Linq.Table EETGW_GroupUser { get { return this.GetTable(); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.UserGroup")] public partial class UserGroup : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _dept; private string _gcode; private string _path_kj; private System.Nullable _advpurchase; private System.Nullable _permission; #region 확장성 메서드 정의 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OndeptChanging(string value); partial void OndeptChanged(); partial void OngcodeChanging(string value); partial void OngcodeChanged(); partial void Onpath_kjChanging(string value); partial void Onpath_kjChanged(); partial void OnadvpurchaseChanging(System.Nullable value); partial void OnadvpurchaseChanged(); partial void OnpermissionChanging(System.Nullable value); partial void OnpermissionChanged(); #endregion public UserGroup() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_dept", DbType="VarChar(100) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string dept { get { return this._dept; } set { if ((this._dept != value)) { this.OndeptChanging(value); this.SendPropertyChanging(); this._dept = value; this.SendPropertyChanged("dept"); this.OndeptChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_gcode", DbType="VarChar(10)")] public string gcode { get { return this._gcode; } set { if ((this._gcode != value)) { this.OngcodeChanging(value); this.SendPropertyChanging(); this._gcode = value; this.SendPropertyChanged("gcode"); this.OngcodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_path_kj", DbType="NVarChar(100)")] public string path_kj { get { return this._path_kj; } set { if ((this._path_kj != value)) { this.Onpath_kjChanging(value); this.SendPropertyChanging(); this._path_kj = value; this.SendPropertyChanged("path_kj"); this.Onpath_kjChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_advpurchase", DbType="Bit")] public System.Nullable advpurchase { get { return this._advpurchase; } set { if ((this._advpurchase != value)) { this.OnadvpurchaseChanging(value); this.SendPropertyChanging(); this._advpurchase = value; this.SendPropertyChanged("advpurchase"); this.OnadvpurchaseChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_permission", DbType="Int")] public System.Nullable permission { get { return this._permission; } set { if ((this._permission != value)) { this.OnpermissionChanging(value); this.SendPropertyChanging(); this._permission = value; this.SendPropertyChanged("permission"); this.OnpermissionChanged(); } } } 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.vGroupUser")] public partial class vGroupUser { private string _gcode; private System.Nullable _level; private string _name; private string _nameE; private string _dept; private string _grade; private string _email; private string _tel; private string _indate; private string _outdate; private string _hp; private string _place; private string _ads_employNo; private string _ads_title; private string _ads_created; private string _memo; private string _processs; private string _id; public vGroupUser() { } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_gcode", DbType="VarChar(10) NOT NULL", CanBeNull=false)] public string gcode { get { return this._gcode; } set { if ((this._gcode != value)) { this._gcode = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Name="[level]", Storage="_level", DbType="SmallInt")] public System.Nullable level { get { return this._level; } set { if ((this._level != value)) { this._level = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_name", DbType="NVarChar(100)")] public string name { get { return this._name; } set { if ((this._name != value)) { this._name = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_nameE", DbType="NVarChar(100)")] public string nameE { get { return this._nameE; } set { if ((this._nameE != value)) { this._nameE = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_dept", DbType="VarChar(100)")] public string dept { get { return this._dept; } set { if ((this._dept != value)) { this._dept = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_grade", DbType="VarChar(10)")] public string grade { get { return this._grade; } set { if ((this._grade != value)) { this._grade = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_email", DbType="VarChar(100)")] public string email { get { return this._email; } set { if ((this._email != value)) { this._email = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_tel", DbType="VarChar(20)")] public string tel { get { return this._tel; } set { if ((this._tel != value)) { this._tel = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_indate", DbType="VarChar(20)")] public string indate { get { return this._indate; } set { if ((this._indate != value)) { this._indate = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_outdate", DbType="VarChar(20)")] public string outdate { get { return this._outdate; } set { if ((this._outdate != value)) { this._outdate = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_hp", DbType="VarChar(20)")] public string hp { get { return this._hp; } set { if ((this._hp != value)) { this._hp = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_place", DbType="VarChar(100)")] public string place { get { return this._place; } set { if ((this._place != value)) { this._place = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ads_employNo", DbType="VarChar(50)")] public string ads_employNo { get { return this._ads_employNo; } set { if ((this._ads_employNo != value)) { this._ads_employNo = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ads_title", DbType="NVarChar(100)")] public string ads_title { get { return this._ads_title; } set { if ((this._ads_title != value)) { this._ads_title = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ads_created", DbType="VarChar(50)")] public string ads_created { get { return this._ads_created; } set { if ((this._ads_created != value)) { this._ads_created = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_memo", DbType="NVarChar(255)")] public string memo { get { return this._memo; } set { if ((this._memo != value)) { this._memo = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_processs", DbType="NVarChar(100)")] public string processs { get { return this._processs; } set { if ((this._processs != value)) { this._processs = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_id", DbType="VarChar(20)")] public string id { get { return this._id; } set { if ((this._id != value)) { this._id = value; } } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Users")] public partial class Users : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _id; private string _gcode; private string _password; private string _nameE; private string _name; private string _dept; private string _grade; private string _email; private System.Nullable _level; private string _indate; private string _outdate; private string _tel; private string _hp; private string _place; private string _ads_employNo; private string _ads_title; private string _ads_created; private string _memo; private string _wuid; private System.DateTime _wdate; private string _processs; #region 확장성 메서드 정의 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnidChanging(string value); partial void OnidChanged(); partial void OngcodeChanging(string value); partial void OngcodeChanged(); partial void OnpasswordChanging(string value); partial void OnpasswordChanged(); partial void OnnameEChanging(string value); partial void OnnameEChanged(); partial void OnnameChanging(string value); partial void OnnameChanged(); partial void OndeptChanging(string value); partial void OndeptChanged(); partial void OngradeChanging(string value); partial void OngradeChanged(); partial void OnemailChanging(string value); partial void OnemailChanged(); partial void OnlevelChanging(System.Nullable value); partial void OnlevelChanged(); partial void OnindateChanging(string value); partial void OnindateChanged(); partial void OnoutdateChanging(string value); partial void OnoutdateChanged(); partial void OntelChanging(string value); partial void OntelChanged(); partial void OnhpChanging(string value); partial void OnhpChanged(); partial void OnplaceChanging(string value); partial void OnplaceChanged(); partial void Onads_employNoChanging(string value); partial void Onads_employNoChanged(); partial void Onads_titleChanging(string value); partial void Onads_titleChanged(); partial void Onads_createdChanging(string value); partial void Onads_createdChanged(); partial void OnmemoChanging(string value); partial void OnmemoChanged(); partial void OnwuidChanging(string value); partial void OnwuidChanged(); partial void OnwdateChanging(System.DateTime value); partial void OnwdateChanged(); partial void OnprocesssChanging(string value); partial void OnprocesssChanged(); #endregion public Users() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_id", DbType="VarChar(20) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string id { get { return this._id; } set { if ((this._id != value)) { this.OnidChanging(value); this.SendPropertyChanging(); this._id = value; this.SendPropertyChanged("id"); this.OnidChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_gcode", DbType="VarChar(10)")] public string gcode { get { return this._gcode; } set { if ((this._gcode != value)) { this.OngcodeChanging(value); this.SendPropertyChanging(); this._gcode = value; this.SendPropertyChanged("gcode"); this.OngcodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_password", DbType="VarChar(50)")] public string password { get { return this._password; } set { if ((this._password != value)) { this.OnpasswordChanging(value); this.SendPropertyChanging(); this._password = value; this.SendPropertyChanged("password"); this.OnpasswordChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_nameE", DbType="NVarChar(100)")] public string nameE { get { return this._nameE; } set { if ((this._nameE != value)) { this.OnnameEChanging(value); this.SendPropertyChanging(); this._nameE = value; this.SendPropertyChanged("nameE"); this.OnnameEChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_name", DbType="NVarChar(100)")] public string name { get { return this._name; } set { if ((this._name != value)) { this.OnnameChanging(value); this.SendPropertyChanging(); this._name = value; this.SendPropertyChanged("name"); this.OnnameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_dept", DbType="VarChar(100)")] public string dept { get { return this._dept; } set { if ((this._dept != value)) { this.OndeptChanging(value); this.SendPropertyChanging(); this._dept = value; this.SendPropertyChanged("dept"); this.OndeptChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_grade", DbType="VarChar(10)")] public string grade { get { return this._grade; } set { if ((this._grade != value)) { this.OngradeChanging(value); this.SendPropertyChanging(); this._grade = value; this.SendPropertyChanged("grade"); this.OngradeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_email", DbType="VarChar(100)")] public string email { get { return this._email; } set { if ((this._email != value)) { this.OnemailChanging(value); this.SendPropertyChanging(); this._email = value; this.SendPropertyChanged("email"); this.OnemailChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Name="[level]", Storage="_level", DbType="SmallInt")] public System.Nullable level { get { return this._level; } set { if ((this._level != value)) { this.OnlevelChanging(value); this.SendPropertyChanging(); this._level = value; this.SendPropertyChanged("level"); this.OnlevelChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_indate", DbType="VarChar(20)")] public string indate { get { return this._indate; } set { if ((this._indate != value)) { this.OnindateChanging(value); this.SendPropertyChanging(); this._indate = value; this.SendPropertyChanged("indate"); this.OnindateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_outdate", DbType="VarChar(20)")] public string outdate { get { return this._outdate; } set { if ((this._outdate != value)) { this.OnoutdateChanging(value); this.SendPropertyChanging(); this._outdate = value; this.SendPropertyChanged("outdate"); this.OnoutdateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_tel", DbType="VarChar(20)")] public string tel { get { return this._tel; } set { if ((this._tel != value)) { this.OntelChanging(value); this.SendPropertyChanging(); this._tel = value; this.SendPropertyChanged("tel"); this.OntelChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_hp", DbType="VarChar(20)")] public string hp { get { return this._hp; } set { if ((this._hp != value)) { this.OnhpChanging(value); this.SendPropertyChanging(); this._hp = value; this.SendPropertyChanged("hp"); this.OnhpChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_place", DbType="VarChar(100)")] public string place { get { return this._place; } set { if ((this._place != value)) { this.OnplaceChanging(value); this.SendPropertyChanging(); this._place = value; this.SendPropertyChanged("place"); this.OnplaceChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ads_employNo", DbType="VarChar(50)")] public string ads_employNo { get { return this._ads_employNo; } set { if ((this._ads_employNo != value)) { this.Onads_employNoChanging(value); this.SendPropertyChanging(); this._ads_employNo = value; this.SendPropertyChanged("ads_employNo"); this.Onads_employNoChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ads_title", DbType="NVarChar(100)")] public string ads_title { get { return this._ads_title; } set { if ((this._ads_title != value)) { this.Onads_titleChanging(value); this.SendPropertyChanging(); this._ads_title = value; this.SendPropertyChanged("ads_title"); this.Onads_titleChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ads_created", DbType="VarChar(50)")] public string ads_created { get { return this._ads_created; } set { if ((this._ads_created != value)) { this.Onads_createdChanging(value); this.SendPropertyChanging(); this._ads_created = value; this.SendPropertyChanged("ads_created"); this.Onads_createdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_memo", DbType="NVarChar(255)")] public string memo { get { return this._memo; } set { if ((this._memo != value)) { this.OnmemoChanging(value); this.SendPropertyChanging(); this._memo = value; this.SendPropertyChanged("memo"); this.OnmemoChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_wuid", DbType="VarChar(20) NOT NULL", CanBeNull=false)] public string wuid { get { return this._wuid; } set { if ((this._wuid != value)) { this.OnwuidChanging(value); this.SendPropertyChanging(); this._wuid = value; this.SendPropertyChanged("wuid"); this.OnwuidChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_wdate", DbType="SmallDateTime NOT NULL")] public System.DateTime wdate { get { return this._wdate; } set { if ((this._wdate != value)) { this.OnwdateChanging(value); this.SendPropertyChanging(); this._wdate = value; this.SendPropertyChanged("wdate"); this.OnwdateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_processs", DbType="NVarChar(100)")] public string processs { get { return this._processs; } set { if ((this._processs != value)) { this.OnprocesssChanging(value); this.SendPropertyChanging(); this._processs = value; this.SendPropertyChanged("processs"); this.OnprocesssChanged(); } } } 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.EETGW_GroupUser")] public partial class EETGW_GroupUser : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private int _idx; private string _gcode; private string _uid; private System.Nullable _level; private string _Process; private string _wuid; private System.DateTime _wdate; #region 확장성 메서드 정의 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnidxChanging(int value); partial void OnidxChanged(); partial void OngcodeChanging(string value); partial void OngcodeChanged(); partial void OnuidChanging(string value); partial void OnuidChanged(); partial void OnlevelChanging(System.Nullable value); partial void OnlevelChanged(); partial void OnProcessChanging(string value); partial void OnProcessChanged(); partial void OnwuidChanging(string value); partial void OnwuidChanged(); partial void OnwdateChanging(System.DateTime value); partial void OnwdateChanged(); #endregion public EETGW_GroupUser() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_idx", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public int idx { get { return this._idx; } set { if ((this._idx != value)) { this.OnidxChanging(value); this.SendPropertyChanging(); this._idx = value; this.SendPropertyChanged("idx"); this.OnidxChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_gcode", DbType="VarChar(10) NOT NULL", CanBeNull=false)] public string gcode { get { return this._gcode; } set { if ((this._gcode != value)) { this.OngcodeChanging(value); this.SendPropertyChanging(); this._gcode = value; this.SendPropertyChanged("gcode"); this.OngcodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_uid", DbType="VarChar(20) NOT NULL", CanBeNull=false)] public string uid { get { return this._uid; } set { if ((this._uid != value)) { this.OnuidChanging(value); this.SendPropertyChanging(); this._uid = value; this.SendPropertyChanged("uid"); this.OnuidChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Name="[level]", Storage="_level", DbType="SmallInt")] public System.Nullable level { get { return this._level; } set { if ((this._level != value)) { this.OnlevelChanging(value); this.SendPropertyChanging(); this._level = value; this.SendPropertyChanged("level"); this.OnlevelChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Process", DbType="VarChar(50)")] public string Process { get { return this._Process; } set { if ((this._Process != value)) { this.OnProcessChanging(value); this.SendPropertyChanging(); this._Process = value; this.SendPropertyChanged("Process"); this.OnProcessChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_wuid", DbType="VarChar(20) NOT NULL", CanBeNull=false)] public string wuid { get { return this._wuid; } set { if ((this._wuid != value)) { this.OnwuidChanging(value); this.SendPropertyChanging(); this._wuid = value; this.SendPropertyChanged("wuid"); this.OnwuidChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_wdate", DbType="SmallDateTime NOT NULL")] public System.DateTime wdate { get { return this._wdate; } set { if ((this._wdate != value)) { this.OnwdateChanging(value); this.SendPropertyChanging(); this._wdate = value; this.SendPropertyChanged("wdate"); this.OnwdateChanged(); } } } 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)); } } } } #pragma warning restore 1591