private EntityDataServiceResponse <OfflineSyncStatsLine> GetOfflineSyncStatsLines(GetOfflineSyncStatsDataRequest request)
 {
     using (SqlServerDatabaseContext databaseContext = new SqlServerDatabaseContext(request))
     {
         GetOfflineSyncStatsLinesProcedure getOfflineSyncStatsLinesProcedure = new GetOfflineSyncStatsLinesProcedure(request, databaseContext);
         return(getOfflineSyncStatsLinesProcedure.Execute());
     }
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetOfflineSyncStatsLinesProcedure"/> class.
 /// </summary>
 /// <param name="request">The request object.</param>
 /// <param name="databaseContext">The database context object.</param>
 public GetOfflineSyncStatsLinesProcedure(GetOfflineSyncStatsDataRequest request, SqlServerDatabaseContext databaseContext)
 {
     this.request         = request;
     this.databaseContext = databaseContext;
 }