#pragma warning disable 1591 //------------------------------------------------------------------------------ // // 이 코드는 도구를 사용하여 생성되었습니다. // 런타임 버전:4.0.30319.42000 // // 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 // 이러한 변경 내용이 손실됩니다. // //------------------------------------------------------------------------------ namespace FED0000 { 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 InsertMailForm(MailForm instance); partial void UpdateMailForm(MailForm instance); partial void DeleteMailForm(MailForm instance); partial void InsertUsers(Users instance); partial void UpdateUsers(Users instance); partial void DeleteUsers(Users instance); #endregion public DataClasses1DataContext() : base(global::FED0000.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 MailForm { get { return this.GetTable(); } } public System.Data.Linq.Table Users { get { return this.GetTable(); } } public System.Data.Linq.Table vGroupUser { get { return this.GetTable(); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.MailForm")] public partial class MailForm : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private int _idx; private string _gcode; private string _cate; private string _title; private string _tolist; private string _bcc; private string _cc; private string _subject; private string _tail; private string _body; private System.Nullable _selfTo; private System.Nullable _selfCC; private System.Nullable _selfBCC; 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 OncateChanging(string value); partial void OncateChanged(); partial void OntitleChanging(string value); partial void OntitleChanged(); partial void OntolistChanging(string value); partial void OntolistChanged(); partial void OnbccChanging(string value); partial void OnbccChanged(); partial void OnccChanging(string value); partial void OnccChanged(); partial void OnsubjectChanging(string value); partial void OnsubjectChanged(); partial void OntailChanging(string value); partial void OntailChanged(); partial void OnbodyChanging(string value); partial void OnbodyChanged(); partial void OnselfToChanging(System.Nullable value); partial void OnselfToChanged(); partial void OnselfCCChanging(System.Nullable value); partial void OnselfCCChanged(); partial void OnselfBCCChanging(System.Nullable value); partial void OnselfBCCChanged(); partial void OnwuidChanging(string value); partial void OnwuidChanged(); partial void OnwdateChanging(System.DateTime value); partial void OnwdateChanged(); #endregion public MailForm() { 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="_cate", DbType="VarChar(2)")] public string cate { get { return this._cate; } set { if ((this._cate != value)) { this.OncateChanging(value); this.SendPropertyChanging(); this._cate = value; this.SendPropertyChanged("cate"); this.OncateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_title", DbType="VarChar(100)")] public string title { get { return this._title; } set { if ((this._title != value)) { this.OntitleChanging(value); this.SendPropertyChanging(); this._title = value; this.SendPropertyChanged("title"); this.OntitleChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_tolist", DbType="VarChar(MAX)")] public string tolist { get { return this._tolist; } set { if ((this._tolist != value)) { this.OntolistChanging(value); this.SendPropertyChanging(); this._tolist = value; this.SendPropertyChanged("tolist"); this.OntolistChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_bcc", DbType="VarChar(MAX)")] public string bcc { get { return this._bcc; } set { if ((this._bcc != value)) { this.OnbccChanging(value); this.SendPropertyChanging(); this._bcc = value; this.SendPropertyChanged("bcc"); this.OnbccChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cc", DbType="VarChar(MAX)")] public string cc { get { return this._cc; } set { if ((this._cc != value)) { this.OnccChanging(value); this.SendPropertyChanging(); this._cc = value; this.SendPropertyChanged("cc"); this.OnccChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_subject", DbType="VarChar(MAX)")] public string subject { get { return this._subject; } set { if ((this._subject != value)) { this.OnsubjectChanging(value); this.SendPropertyChanging(); this._subject = value; this.SendPropertyChanged("subject"); this.OnsubjectChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_tail", DbType="VarChar(MAX)")] public string tail { get { return this._tail; } set { if ((this._tail != value)) { this.OntailChanging(value); this.SendPropertyChanging(); this._tail = value; this.SendPropertyChanged("tail"); this.OntailChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_body", DbType="VarChar(MAX)")] public string body { get { return this._body; } set { if ((this._body != value)) { this.OnbodyChanging(value); this.SendPropertyChanging(); this._body = value; this.SendPropertyChanged("body"); this.OnbodyChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_selfTo", DbType="Bit")] public System.Nullable selfTo { get { return this._selfTo; } set { if ((this._selfTo != value)) { this.OnselfToChanging(value); this.SendPropertyChanging(); this._selfTo = value; this.SendPropertyChanged("selfTo"); this.OnselfToChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_selfCC", DbType="Bit")] public System.Nullable selfCC { get { return this._selfCC; } set { if ((this._selfCC != value)) { this.OnselfCCChanging(value); this.SendPropertyChanging(); this._selfCC = value; this.SendPropertyChanged("selfCC"); this.OnselfCCChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_selfBCC", DbType="Bit")] public System.Nullable selfBCC { get { return this._selfBCC; } set { if ((this._selfBCC != value)) { this.OnselfBCCChanging(value); this.SendPropertyChanging(); this._selfBCC = value; this.SendPropertyChanged("selfBCC"); this.OnselfBCCChanged(); } } } [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)); } } } [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.vGroupUser")] public partial class vGroupUser { private string _gcode; private string _dept; private System.Nullable _level; private string _name; private string _nameE; 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(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(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="_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; } } } } } #pragma warning restore 1591