Coder Social home page Coder Social logo

devexpress-examples / dxscheduler-load-data-on-demand Goto Github PK

View Code? Open in Web Editor NEW
0.0 56.0 1.0 106 KB

This example loads appointments that fall into the specified date interval.

License: Other

C# 51.17% Visual Basic .NET 48.83%
dotnet dxscheduler wpf xpf

dxscheduler-load-data-on-demand's Introduction

WPF Scheduler - Load Data on Demand

This example loads appointments that fall into the specified date interval. The solution consists of three parts:

  • Shared. This shared project contains the data and the view used by other projects. The view maps events to view model’s handlers. The events are mapped to the view model's handlers.
  • CommonDbContext. This project implements a SchedulingViewModel that uses a single DbContext for the application. The DbContext is initialized once the view model is initialized.
  • DbContextPerRequest. This project implements a SchedulingViewModel that creates a new DbContext per each request. The DbContext is initialized each time the DataSource.FetchAppointments event is fired.

Additionally, the view integrates the scheduler with the Date Navigator and Resource Navigator. The view displays the result of the fetch events in the Event Log text box.

Files to Review

Shared project:

CommonDbContext project:

DbContextPerRequest project:

Documentation

dxscheduler-load-data-on-demand's People

Contributors

andreymarten avatar eugenelapshov avatar exebeeche avatar goncharovgit avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

exebeeche

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.