Coder Social home page Coder Social logo

devexpress-examples / wpf-blank-dot-net-core-app-with-the-northwind-database Goto Github PK

View Code? Open in Web Editor NEW
2.0 57.0 2.0 1.78 MB

The blank sample project (.NET 6) is connected to the Northwind database.

License: Other

C# 44.74% Visual Basic .NET 55.26%
dxgrid wpf xpf database dotnet

wpf-blank-dot-net-core-app-with-the-northwind-database's Introduction

WPF Blank .NET 6 App with the Northwind Database

In this example, the blank sample project (.NET 6) is connected to the Northwind database. You can find this database at the following path: /CS(VB)/WPFBlankDotNETAppWithNorthwindDatabase/Data/Northwind.mdf.

Database structure:

image

You can use this example to create DevExpress projects and explore our features.

This project includes the DevExpress ThemedWindow as a root element. Refer to the following topic for more information about custom-designed themes: WPF Application Themes.

Implementation Details

The steps below demonstrate how to create this sample application:

  1. Create a new project: image

  2. Select the DevExpress v22.2 WPF App Template Gallery: image

  3. Specify the Project name and click Create: image

  4. Select the target framework, language, and Blank MVVM Application template and click Create Project: image

  5. Add the Microsoft.EntityFrameworkCore.SqlServer and Microsoft.EntityFrameworkCore.Tools NuGet packages to the project: image

  6. Open the Package Manager Console and run the following command. This command generates code for a DbContext and entity types for a database. The C:\Data\Northwind.mdf string is the path to your local database:

    Scaffold-DbContext "Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=C:\Data\Northwind.mdf;Integrated Security=True" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models -Context NorthwindEntities -Tables "Categories","Customers","CustomerDemographics","Employees","Orders","Order Details","Products","Region","Shippers","Suppliers","Territories"

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

wpf-blank-dot-net-core-app-with-the-northwind-database's People

Contributors

andreyslabov avatar goncharovgit avatar

Stargazers

 avatar  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  avatar

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.