#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); #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(); } } } [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; } } } } } #pragma warning restore 1591