Ejemplo n.º 1
0
 private IOrderedQueryable<Core.User> GetUsers(UserContext dbContext)
 {
     var query = dbContext.Users;
     var orderedQuery = query.OrderBy(u => u.UserName);
     return orderedQuery;
 }
Ejemplo n.º 2
0
 private UserContext CreateDbContext()
 {
     UserContext context = new UserContext("name=SESG.UserWebService.Properties.Settings.SESG_DB");
     return context;
 }