Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
G
gitDeom
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ghassan.essmail
gitDeom
Commits
ffeb288b
Commit
ffeb288b
authored
Feb 20, 2023
by
omar.bashir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
not working on windows 8.1 with .Net 8
parent
ac781ef9
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
8 deletions
+9
-8
db.lock
.vs/Queries/v16/Server/sqlite3/db.lock
+0
-0
storage.ide
.vs/Queries/v16/Server/sqlite3/storage.ide
+0
-0
App.config
Queries/App.config
+7
-6
Program.cs
Queries/Program.cs
+1
-1
Queries.csproj
Queries/Queries.csproj
+1
-1
No files found.
.vs/Queries/v16/Server/sqlite3/db.lock
0 → 100644
View file @
ffeb288b
.vs/Queries/v16/Server/sqlite3/storage.ide
0 → 100644
View file @
ffeb288b
File added
Queries/App.config
View file @
ffeb288b
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
configuration
>
<
configSections
>
<!--
For
more
information
on
Entity
Framework
configuration
,
visit
http
://
go
.
microsoft
.
com
/
fwlink
/?
LinkID
=
237468
-->
<
section
name
=
"entityFramework"
type
=
"System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
requirePermission
=
"false"
/>
<
section
name
=
"entityFramework"
type
=
"System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
requirePermission
=
"false"
/>
</
configSections
>
<
startup
>
<
supportedRuntime
version
=
"v4.0"
sku
=
".NETFramework,Version=v4.8"
/>
<!--
v4
.
8
doesn
'
t
not
support
my
OS
Windows
8
.
1
-->
<
supportedRuntime
version
=
"v4.0"
sku
=
".NETFramework,Version=v4.6.1"
/>
</
startup
>
<
connectionStrings
>
<
add
name
=
"PlutoContext"
connectionString
=
"data source=.\SQLEXPRESS;initial catalog=Pluto_Queries;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework"
providerName
=
"System.Data.SqlClient"
/>
<
add
name
=
"PlutoContext"
connectionString
=
"data source=.\SQLEXPRESS;initial catalog=Pluto_Queries;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework"
providerName
=
"System.Data.SqlClient"
/>
</
connectionStrings
>
<
entityFramework
>
<
providers
>
<
provider
invariantName
=
"System.Data.SqlClient"
type
=
"System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"
/>
<
provider
invariantName
=
"System.Data.SqlClient"
type
=
"System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"
/>
</
providers
>
</
entityFramework
>
</
configuration
>
\ No newline at end of file
</
configuration
>
Queries/Program.cs
View file @
ffeb288b
...
...
@@ -15,7 +15,7 @@ namespace Queries
// Example2
var
courses
=
unitOfWork
.
Courses
.
GetCoursesWithAuthors
(
1
,
4
);
Console
.
WriteLine
(
course
.
Name
);
Console
.
WriteLine
(
course
.
Name
);
//System.NullReferenceException must be handeld!
// Example3
/*var author = unitOfWork.Authors.GetAuthorWithCourses(1);
...
...
Queries/Queries.csproj
View file @
ffeb288b
...
...
@@ -10,7 +10,7 @@
<AppDesignerFolder>
Properties
</AppDesignerFolder>
<RootNamespace>
Queries
</RootNamespace>
<AssemblyName>
Queries
</AssemblyName>
<TargetFrameworkVersion>
v4.
8
</TargetFrameworkVersion>
<TargetFrameworkVersion>
v4.
6.1
</TargetFrameworkVersion>
<FileAlignment>
512
</FileAlignment>
<TargetFrameworkProfile
/>
<NuGetPackageImportStamp>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment