-
Notifications
You must be signed in to change notification settings - Fork 115
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
SaraCappelli
wants to merge
18
commits into
gamondue:main
Choose a base branch
from
SaraCappelli:dev_sc2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Metodi aggiuntivi #162
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…di codice opportune
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.
…that was correct. It now runs the test.
# 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Alcuni test potrebbero non funzionare perché si appoggiano su tabelle aggiuntive che non creo in GradesManagement.cs, ad esempio Questions.