예제 #1
0
 //构造函数
 public MemberTypeForm(MemberType element)
 {
     db = new BathDBDataContext(LogIn.connectionString);
     if (element != null)
     {
         newElement = false;
         m_Element = db.MemberType.FirstOrDefault(x => x.id == element.id);
     }
     InitializeComponent();
 }
예제 #2
0
 partial void UpdateMemberType(MemberType instance);
예제 #3
0
 partial void DeleteMemberType(MemberType instance);
예제 #4
0
 partial void InsertMemberType(MemberType instance);