namespace pms.shtip.com.cn { using System; 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; #region CodeSmith AutoClass dbo.ENBasicAttrubite by PY-CHENGE1.Administrator 2009-9-5 10:56:43 /// <summary> /// 本类中存放的都是从存储过程调取数据到linq的类。 /// 操作方法是在sql server中用存储过程生成一个table,然后把这个table /// 拖到 dbml 中,获取对应的class并copy到这里。再将存储过程拖到dbml中, /// 将生成的内容copy到这里。 /// 或者用 CodeSmith 模板根据表来生成 /// </summary> public partial class ClassTable { private Int _Id; //int:4 公司基本信息ID private String _IdentityCard; //nvarchar:25 身份证 private String _RealName; //nvarchar:25 姓名 private String _WorkId; //nvarchar:20 工号 private System.Nullable<Int> _Gender; //int:4 性别 private System.Nullable<Int> _HouseholdId; //int:4 户籍 private System.Nullable<System.DateTime> _Birthday; //datetime:8 出生日期 private String _Telphone; //nvarchar:50 固定电话 private String _Mobile; //nvarchar:50 手机电话 private String _HouseholdAddress; //nvarchar:150 户籍地址 private String _CurrentAddress; //nvarchar:150 现住地址 private System.Nullable<Int> _EducationId; //int:4 最高学历 private String _LastGraduateAcademy; //nvarchar:70 最后毕业院校 private System.Nullable<System.DateTime> _AddDate; //datetime:8 添加日期 private System.Nullable<Int> _AddUserId; //int:4 添加人的编号 private System.Nullable<System.DateTime> _LastModifyDate; //datetime:8 最后修改日期 private System.Nullable<Int> _LastModifyUserId; //int:4 最后修改人id private String _Photo; //nvarchar:150 照片 private String _FeedBack; //nvarchar:500 备注 private System.Nullable<Int> _IsDel; //int:4 0为正常 1为删除 // Id Int32(4) 公司基本信息ID public Int Id { get{return this._Id;} set{if ((this._Id != value)){this._Id = value;}} } // IdentityCard String(25) 身份证 public String IdentityCard { get{return this._IdentityCard;} set{if ((this._IdentityCard != value)){this._IdentityCard = value;}} } // RealName String(25) 姓名 public String RealName { get{return this._RealName;} set{if ((this._RealName != value)){this._RealName = value;}} } // WorkId String(20) 工号 public String WorkId { get{return this._WorkId;} set{if ((this._WorkId != value)){this._WorkId = value;}} } // Gender Int32(4) 性别 public System.Nullable<Int> Gender { get{return this._Gender;} set{if ((this._Gender != value)){this._Gender = value;}} } // HouseholdId Int32(4) 户籍 public System.Nullable<Int> HouseholdId { get{return this._HouseholdId;} set{if ((this._HouseholdId != value)){this._HouseholdId = value;}} } // Birthday DateTime(8) 出生日期 public System.Nullable<System.DateTime> Birthday { get{return this._Birthday;} set{if ((this._Birthday != value)){this._Birthday = value;}} } // Telphone String(50) 固定电话 public String Telphone { get{return this._Telphone;} set{if ((this._Telphone != value)){this._Telphone = value;}} } // Mobile String(50) 手机电话 public String Mobile { get{return this._Mobile;} set{if ((this._Mobile != value)){this._Mobile = value;}} } // HouseholdAddress String(150) 户籍地址 public String HouseholdAddress { get{return this._HouseholdAddress;} set{if ((this._HouseholdAddress != value)){this._HouseholdAddress = value;}} } // CurrentAddress String(150) 现住地址 public String CurrentAddress { get{return this._CurrentAddress;} set{if ((this._CurrentAddress != value)){this._CurrentAddress = value;}} } // EducationId Int32(4) 最高学历 public System.Nullable<Int> EducationId { get{return this._EducationId;} set{if ((this._EducationId != value)){this._EducationId = value;}} } // LastGraduateAcademy String(70) 最后毕业院校 public String LastGraduateAcademy { get{return this._LastGraduateAcademy;} set{if ((this._LastGraduateAcademy != value)){this._LastGraduateAcademy = value;}} } // AddDate DateTime(8) 添加日期 public System.Nullable<System.DateTime> AddDate { get{return this._AddDate;} set{if ((this._AddDate != value)){this._AddDate = value;}} } // AddUserId Int32(4) 添加人的编号 public System.Nullable<Int> AddUserId { get{return this._AddUserId;} set{if ((this._AddUserId != value)){this._AddUserId = value;}} } // LastModifyDate DateTime(8) 最后修改日期 public System.Nullable<System.DateTime> LastModifyDate { get{return this._LastModifyDate;} set{if ((this._LastModifyDate != value)){this._LastModifyDate = value;}} } // LastModifyUserId Int32(4) 最后修改人id public System.Nullable<Int> LastModifyUserId { get{return this._LastModifyUserId;} set{if ((this._LastModifyUserId != value)){this._LastModifyUserId = value;}} } // Photo String(150) 照片 public String Photo { get{return this._Photo;} set{if ((this._Photo != value)){this._Photo = value;}} } // FeedBack String(500) 备注 public String FeedBack { get{return this._FeedBack;} set{if ((this._FeedBack != value)){this._FeedBack = value;}} } // IsDel Int32(4) 0为正常 1为删除 public System.Nullable<Int> IsDel { get{return this._IsDel;} set{if ((this._IsDel != value)){this._IsDel = value;}} } } #endregion } |