Exemple #1
0
 static void Example_05(MCSModel dataContext)
 {
     Table<AccessTab> tabs = dataContext.GetTable<AccessTab>();
     Table<AccessUser> users= dataContext.GetTable<AccessUser>();
     db.Refresh(RefreshMode.OverwriteCurrentValues);
     AccessTab a = tabs.OrderBy(o => o.StrTabName).First(f=>f.intTabID==56);
 }
Exemple #2
0
        static void Example5(MCSModel dataContext)
        {
            Table <AccessTab>  tabs  = dataContext.GetTable <AccessTab>();
            Table <AccessUser> users = dataContext.GetTable <AccessUser>();

            AccessTab a = tabs.OrderBy(o => o.strTabName).First(f => f.intTabID == 56);
        }