27 March 2019

DATA-ACCESS-OBJECT MSSQL SSMS LINQ POCO

sql2

We solved some SQL queries and talked about different SQL JOIN query flavors. we took a brief look on the SQL Server Management Studio (SSMS) and ran a few queries against the MicroSoft SQL Server (MSSQL) [will be elaborated in our next classes]. We made a Plain Old C# Object (POCO) class and used it to store information which we read from the database (into a List). In other words, we used the Program.cs class to behave as an Access Data Object (ADO) to our data base. then we got familiar with the concept of querying  List<Employee> using Language Integrated Queries (LINQ) using the two formats: query syntax (looks like SQL) and method syntax (using lambda => expression)

linq

More topics covered:

  • POCO constrains
  • Immediate window (Alt + Ctrl + I)
  • SQLITE syntax vs MSSQL syntax
  • LINQ Anonymous objects
  • SSMS query runner

Links:

24 March 2019

DBMS RDBMS SQL NOSQL SQLITE NUGET

sql2

We got familiar with Data Base Management System (DBMS) and the Relational Data Base Management System (RDBMS). we explored what is SQL? and what is its purpose. we talked about the difference between SQL and noSQL databases. we downloaded the SQLite DB Browser and created our first DB using SQL queries. then we wrote a C# program which runs queries against the same SQLite DB, using SQLite nugets

nosql

More topics covered:

  • Advantages of using DBMS
  • Advantages of using RDBMS
  • DB in JSON format   { key : value }
  • DB normalization rules
  • Additional data bases: MySQL, MongoDB, PostgreSQL, etc.
  • noSQL usages
  • C# GetValue command
  • Nugets
  • SQLite nuget package

Links:

 

 

 

Design a site like this with WordPress.com
Get started