Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metodi aggiuntivi #162

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open

Metodi aggiuntivi #162

wants to merge 18 commits into from

Conversation

SaraCappelli
Copy link
Contributor

Alcuni test potrebbero non funzionare perché si appoggiano su tabelle aggiuntive che non creo in GradesManagement.cs, ad esempio Questions.

Sara Cappelli and others added 18 commits October 14, 2023 08:53
Introduced DataLayer abstract class with derivation of SqLite and SQL server: SqLite_DataLayer and SqlServer_DataLayer.cs
Nothing working..
Compiles, runs and accesses the database, with no visible faults. NO OTHER TESTS!.
The Db in the treeview is currently not working.
Made an abstract class DataLayer and a derived class SqLite_DataLayer, divided into the previous partial classes (DL_name of file>.cs), now renamed Lite_<previous file name>.cs
Eliminated Common.dl. Now the DataLayer is defined and used only in BusinessLayer
…ptt divided into SQLite and SQL server classes. NOT WORKING.

Serv_X.cs  copied from Sqlite SqLite_DataLayer files. Serv_YearsAndPeriodsManagement.cs modified to adapt to Sql server.
NUnit project with one test being configured (_Serv_YearsAndPeriodsManagement) (NOT WORKING).
Renamed TreeMpttDb to TreeMpttDb_SqLite, added TreeMpttDb_SqlServer.
Modified all accesses to DataLayer selecting the database with conditional compiling with SQL_SERVER  symbol.
Access to database temporarily excluded in frmMain with SQL_SERVER conditional compiling.
Added NuGet packages for SQL server and NUnit.
# Conflicts:
#	DataLayer/SqLite/Lite_YearsAndPeriodsManagement.cs
#	DataLayer/SqlServer/Serv_SqlToCreateDatabase.cs
#	DataLayer/SqlServer/Serv_YearsAndPeriodsManagement.cs
#	NUnitTests/NUnitDbTests.csproj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants