Example #1
0
 // 預設會取出所有Children
 public T FindById(string id)
 {
     return(dbSet.Include(context.GetIncludePaths(typeof(T))).SingleOrDefault(entry => entry.Id.Equals(id)));
 }