Ejemplo n.º 1
0
 public static List<sp_Customer_Orders_Result> GetCustomerOrders()
 {
     using (NorthwindEntities db = new NorthwindEntities())
     {
         return db.sp_Customer_Orders().ToList();
     }
 }
Ejemplo n.º 2
0
 /// <summary>取得選單<summary>
 /// <returns></returns>
 public static List<sp_Permission_GetMenuList_Result> GetMenu()
 {
     using (NorthwindEntities db = new NorthwindEntities())
     {
         return db.sp_Permission_GetMenuList().ToList();
     }
 }