10. Basic #1: Data Data is the base of our application LS allows Connecting to existing data sources Newly created tables Creating relations between tables Even in one or more databases Based on data, LS will do Field validation Transactions processing Concurrency checking
11. Basic #1: Data LS can connect to Existing SQL Server data base SharePoint list WCF RIA Service LS has an internal database as well, used for Internal setting storage Custom entities LS allows changing internal fields, external can’t be changed
12. Basic #1: Data LS can create relations between data items If items are in internal database Doesn’t work between 2 external items Works between 2 different types (internal and SQL Server for example)
13. Basic #2: Screens Screensallowus to display data A LS app is made up of screens (whichmayseemlogical) Creating a screen is done by: Selecting the type of screen you want Selecting the data you want Have LS generateit for you These screenscan be tweaked: Howthey look What features they offer What commandstheyallow ...
14. Basic #2: Screens Types of screens that exist in LS: New Data Screen Search Data Screen Details Screen Editable Grid Screen List and Details Screen Your own!
15. Basic #2: Screens Appearance of screens can be altered: Using the Screen Designer (Visual Studio) Customization Mode Screen (Run time, sends back the changes to Visual Studio)
16. Basic #3: Queries A query in LS returns data that matches some criteria Return all products in selected category LS has internal query designer A query becomes part of the model Can be used to create (part of) screens from
20. Extending LightSwitch Possible to combine multiple extensions: An extension provides a Money Market solution by using a Shell that has specific trading navigation A theme that is specific to the trading company Anumber of screen templates and controls that provide visualizations for trading data A custom data source could be the extension that aggregates the data to the application
23. Business types A Business type provides a way to visualize, format, validate and store information/data Basically, this is just a visual formatting on data
31. Follow Ordina… 31 Share your thoughts via #SOFTC Follow us on twitter: @OrdinaBE Find the presentationsonwww.slideshare.net/ordinaBe Be informed atwww.linkedin.com/company/ordina-belgium